/* --- LOGIN PAGE SPECIFIC STYLES --- */
/* Global styles are now in global.css */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    min-height: 400px;
}

/* Header Section */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.auth-tabs {
    font-size: 28px;
    font-weight: 600;
}

.auth-tabs a {
    margin: 0 15px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.tab-active {
    color: var(--heading-color);
}

.tab-inactive {
    color: #a0a0a0;
}

.tab-inactive:hover {
    color: var(--primary-yellow);
}

/* Card Container */
.login-card {
    background-color: white;
    width: 100%;
    max-width: 500px;
    padding: 40px 40px 60px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--heading-color);
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 15px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid var(--border-color);
    outline: none;
}

input:focus {
    border-color: var(--primary-yellow);
}

/* Password Eye Icon Styling */
.password-wrapper {
    position: relative;
}

/* Hide native password reveal icons (e.g. Edge) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}
input[type="password"]::-webkit-reveal {
    display: none;
}

.password-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--heading-color);
}

.eye-icon-box {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 54px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    background-color: transparent;
    cursor: pointer;
}

.eye-icon-box svg {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
    pointer-events: none;
}

/* Options Row (Checkbox & Forgot PW) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: #555;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 2px;
    cursor: pointer;
}

.forgot-password {
    color: var(--button-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-yellow);
}

/* Submit Button */
.btn-login {
    width: 100%;
    background-color: var(--primary-yellow);
    color: var(--dark-grey);
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 15px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #f0be0d;
}

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.register-link p {
    color: var(--text-color);
    font-size: 14px;
}

.register-link a {
    color: var(--button-blue);
    text-decoration: underline;
    font-weight: 600;
}

.register-link a:hover {
    color: var(--primary-yellow);
}

.login-upgrade {
    border-radius: 3px;
    text-align: center;
    background-color: red;
    color: white;
    padding: 15px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    main {
        padding: 30px 15px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .auth-tabs {
        font-size: 20px;
    }
}