/* Authentication Layout Styles */

/* Full-screen auth layout */
.auth-layout {
    min-height: 100vh;
    background-color: var(--black-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

/* Logo in top-left corner */
.auth-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.auth-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white-panel);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px -1px 3px rgba(0, 0, 0, 1),
        -1px 1px 3px rgba(0, 0, 0, 1),
        1px 1px 3px rgba(0, 0, 0, 1),
        -1px -1px 3px rgba(0, 0, 0, 1),
        0 0 25px rgba(0, 0, 0, 1);
}

.auth-logo img {
    max-height: 50px;
    width: auto;
}

/* Centered auth content */
.auth-content {
    width: 100%;
    max-width: 450px;
    z-index: 1;
}

/* White panel for auth forms */
.auth-panel {
    background: var(--white-panel);
    padding: 40px;
    box-shadow: var(--shadow);
}

/* Auth header (title and subtitle) */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    text-transform: none;
}

/* Auth form styling */
.auth-form {
    margin-top: 30px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color var(--transition-speed) ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.auth-form input::placeholder {
    color: #999;
}

/* Auth form buttons */
.auth-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-blue);
    color: white;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-speed) ease;
}

.auth-btn:hover {
    filter: brightness(0.9);
}

/* Error messages */
.auth-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.auth-error ul {
    margin: 0;
    padding-left: 20px;
}

.auth-error strong {
    display: block;
    margin-bottom: 8px;
}

/* Auth links (forgot password, register, etc.) */
.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-speed) ease;
}

.auth-links a:hover {
    color: var(--warm-accent);
    text-decoration: underline;
}

.auth-links .separator {
    margin: 0 10px;
    color: var(--text-light);
}

/* Remember me checkbox */
.auth-checkbox {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.auth-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

.auth-checkbox label {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-logo {
        position: static;
        text-align: center;
        margin-bottom: 30px;
    }

    .auth-layout {
        display: block;
        padding: 20px;
    }

    .auth-content {
        max-width: 100%;
    }

    .auth-panel {
        padding: 30px 20px;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-logo-text {
        font-size: 1.25rem;
    }

    .auth-panel {
        padding: 25px 15px;
    }

    .auth-header h1 {
        font-size: 1.25rem;
    }
}

/* Hide Django help text */
.helptext {
    display: none;
}
