/* ====================== index style ====================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Warm gradient */
    margin: 0;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

h1 {
    color: #e91e63; /* Pinkish-red */
    margin-bottom: 25px;
    font-size: 2em;
}

p {
    margin-bottom: 15px;
    line-height: 1.6;
}

#nameInput, #sendernameInput {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
    box-sizing: border-box; /* Include padding in width */
}

button {
    background-color: #e91e63;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 15px;
}

button:hover {
    background-color: #d81b60;
    transform: translateY(-2px);
}

.link-output {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 10px;
    margin-top: 25px;
    display: none; /* Hidden by default */
}
.link-output p {
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}

#generatedLink {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    background-color: #e9e9e9;
    font-size: 1em;
    cursor: text;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#copyLinkBtn {
    background-color: #2196f3; /* Blue for copy button */
    margin-top: 5px;
}

#copyLinkBtn:hover {
    background-color: #1976d2;
}

.instructions {
    margin-top: 30px;
    font-style: italic;
    color: #666;
}

#whatsappShareBtn {
    background-color: #25D366; /* WhatsApp green */
}

#whatsappShareBtn:hover {
    background-color: #1DA851; /* Darker green on hover */
}