/* Reset and Base Styles */
* {
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    display: flex;
    height: 100vh;
}

/* Container for Login and Verification Pages */
.login-container, .verification-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Wrapper for Login and Verification Pages */
.login-wrapper, .verification-wrapper {
    background-color: #fafafa;
    padding: 30px 40px; /* Adjusted padding */
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
    font-size: 24px; /* Reduced font size */
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px; /* Adjusted margin */
}

/* Verification Info Text */
.verification-info {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

/* Input Groups */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px 0; /* Adjusted padding for underline style */
    border: none; /* Removed border */
    border-bottom: 1px solid #dbdbdb; /* Added bottom border for underline */
    background: transparent;
    font-size: 14px;
    transition: border-color 0.3s, caret-color 0.3s;
    caret-color: #fe2c55; /* Set caret color to red */
}

.input-group input:focus {
    border-bottom-color: #fe2c55; /* Change underline color on focus */
    outline: none;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: rgb(0 0 0 / 40%); /* Faded black color */
    font-size: 14px;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* background-color: #fafafa; */ /* To prevent label overlap with text */
    padding: 0 4px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    opacity: 0; /* Fade out label */
    visibility: hidden; /* Hide label */
}

/* Forgot Password Link */
.forgot-password {
    text-align: left; /* Align link to the left */
    margin-bottom: 20px; /* Space between link and login button */
}

.forgot-password a {
    color: #000; /* Black color */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #555; /* Darker shade on hover */
    text-decoration: bold;
}

/* Log In Button */
.login-button, .verify-button {
    width: 100%;
    padding: 12px;
    background-color: #dbdbdb; /* Greyed out by default */
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed; /* Cursor indicates disabled state */
    transition: background-color 0.3s, cursor 0.3s;
}

.login-button.enabled, .verify-button.enabled {
    background-color: #fe2c55; /* Enabled color */
    cursor: pointer; /* Pointer cursor when enabled */
}

.login-button:hover.enabled, .verify-button:hover.enabled {
    background-color: #e31b45; /* Darker shade on hover when enabled */
}

/* Signup Link */
.signup-link, .resend-link {
    text-align: center;
    font-size: 14px;
    color: #8e8e8e;
    margin-top: 15px; /* Space above signup/resend link */
}

.signup-link a, .resend-link a {
    color: #fe2c55;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover, .resend-link a:hover {
    text-decoration: underline;
}

/* Resend Link */
.resend-link {
    text-align: center;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 500px) {
    .login-wrapper, .verification-wrapper {
        padding: 20px;
    }

    .logo {
        font-size: 20px;
    }

    .login-button, .verify-button {
        font-size: 16px;
    }

    .input-group input {
        font-size: 16px;
    }

    .input-group label {
        font-size: 16px;
    }
}
