/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #FF8C00, #FFD700); /* Beautiful gradient background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Container to hold the form */
.container {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: grid;
    gap: 20px;
    animation: fadeIn 1s ease-in-out;
}

/* Heading styles */
h2 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    animation: slideIn 1s ease-out;
}

/* Grid system for form fields */
.form-group {
    display: grid;
    gap: 10px;
}

input[type="text"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: #4CAF50;
    background-color: #fff;
}

/* Button styles */
button.btn {
    width: 100%;
    padding: 14px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button.btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

button.btn:active {
    transform: translateY(2px);
}

/* OTP Verification Section */
#otpSection {
    margin-top: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Input and button animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* For responsiveness */
@media (max-width: 500px) {
    .container {
        padding: 20px;
    }

    h2 {
        font-size: 20px;
    }

    button.btn {
        padding: 12px;
    }

    input[type="text"] {
        padding: 12px;
    }
}




/* Style for the OTP confirmation message */
.otp-message {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    display: block;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style for the link */
.otp-message a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.otp-message a:hover {
    color: #0056b3;
    text-decoration: underline;
}