/**
 * Login Page Styles
 * 
 * Styles specific to the login page (index.php)
 * Includes form elements, error messages, and login-specific layout
 */

/* ========================================
   FORM INPUTS
   ======================================== */

input[type="text"], 
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-input);
    background: var(--bg-input);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-md);
    font-family: var(--font-sans);
    color: var(--color-ink);
    transition: all var(--transition-base);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: var(--color-text-light);
}

input[type="text"]:focus, 
input[type="password"]:focus {
    border-color: var(--border-input-focus);
    outline: none;
    box-shadow: var(--shadow-input-focus);
}

/* ========================================
   REMEMBER ME CHECKBOX
   ======================================== */

.remember {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: var(--font-size-base);
    margin-bottom: var(--space-lg);
    color: var(--color-text-muted);
    padding-left: 2px;
}

.remember input {
    margin-right: 10px;
    margin-left: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.remember label {
    cursor: pointer;
}

/* ========================================
   PRIMARY BUTTON
   ======================================== */

button {
    background: var(--brand-rose);
    color: var(--bg-white);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    width: 100%;
    font-family: var(--font-sans);
    margin-bottom: 30px;
}

button:hover {
    background: var(--brand-rose-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-button-hover);
}

/* ========================================
   ERROR MESSAGE BOX
   ======================================== */

.error {
    color: var(--color-error-dark);
    background: var(--bg-error);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: var(--font-size-base);
    border-left: 3px solid var(--brand-rose);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 600px) {
    .login-card {
        padding: var(--space-2xl) var(--space-xl);
        max-width: 100%;
    }

    .script {
        font-size: 2.2rem;
    }

    button {
        padding: 12px 24px;
    }
}
