/* Authentication Pages CSS */

.auth-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 120px;
}

.auth-card {
    background-color: rgba(42, 42, 42, 0.95);
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #1a1a1a;
    border: 1px solid #444444;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #64b5f6;
    box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.1);
}

.form-group input::placeholder {
    color: #888888;
}

.input-with-toggle {
    position: relative;
}

.input-with-toggle .toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}

.input-with-toggle .toggle-password:focus { outline: none; }

.input-invalid {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255,107,107,0.08) !important;
}

.field-error {
    color: #ff6b6b;
    font-size: 0.85rem;
}

.eye-icon svg {
    width: 20px;
    height: 20px;
    color: #a0a0a0;
}

.toggle-password { display: inline-flex; align-items: center; justify-content: center; }

.auth-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #64b5f6;
    border: none;
    border-radius: 4px;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.auth-btn:hover {
    background-color: #42a5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 181, 246, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-error {
    background-color: #dc3545;
    border: 1px solid #bb2d3b;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: none;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #999999;
    font-size: 0.9rem;
}

.auth-link {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link:hover {
    text-decoration: underline;
    color: #42a5f5;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }
}
