/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
   background-color: aqua, #fff;
    color: #333;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Home Link */
.home {
    position: absolute;
    top: 15px;
    left: 15px;
}
.button:disabled {
    background-color: #ccc;
}

.hidden {
    display: none;
}

.home a {
    text-decoration: none;
    color: #1613b5;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #e29c9c;
    border-radius: 25px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
}

.home a:hover {
    background: #f58888;
    color: #6a11cb;
}

/* Page Heading */
.page-heading {
    font-size: 2em;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Center Container */
.container {
    background: #fff;
    padding: 70px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 1s ease-in-out;
    text-align: center;
    position: relative;
}

/* Keyframes for Fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styling */
input[type="text"], input[type="email"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 15px;
    align-items: center;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: rgba(245, 245, 245, 0.9);
}

input:focus {
    outline: none;
    border-color: #6a11cb;
    align-items: center;
    box-shadow: 0 0 8px rgba(106, 17, 203, 0.5);
}

/* Buttons 
button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

/* Links */
a {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #6a11cb;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: #2575fc;
    text-shadow: 0 2px 5px rgba(37, 117, 252, 0.5);
}

/* Toggle and Hidden */
.hidden {
    display: none;
}

/* OTP Section */
.email-otp-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

#resend-timer {
    font-size: 14px;
    color: #555;
    font-style: italic;
}

#countdown {
    font-weight: bold;
    color: #e63946;
}

/* Box Shadow Effects */
input, button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input:focus, button:hover {
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.3);
}
.password-field {
    position: relative;
}

.password-field input {
    width: 100%;
    padding-right: 40px; /* Space for the eye icon */
}

.password-field .eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #555;
    cursor: pointer;
}
.p {
    position: absolute; /* Position the element absolutely */
    top: 10px; /* 10px from the top */
    right: 20px; /* 20px from the right edge */
}

.p a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #4CAF50; /* Green border */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.p a:hover {
    background-color: white; /* Change background color on hover */
    color: #4CAF50; /* Change text color on hover */
    border-color: #4CAF50; /* Change border color on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}
.j {
    text-align: center; /* Center align the link inside the container */
    margin-top: 20px; /* Add space above the link */
}

.toggle-link {
    font-size: 16px; /* Set font size */
    color: #4CAF50; /* Set text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the text bold */
    transition: all 0.3s ease; /* Smooth transition effect for hover */
}

.toggle-link:hover {
    color: #45a049; /* Change color on hover */
    text-decoration: underline; /* Underline the text on hover */
}

