/* public/css/auth.css */

/* --- LAYOUT --- */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    padding: 20px;
}

/* --- AUTH CARD --- */
.auth-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

/* --- HEADER & ICON (Fixed Color) --- */
.auth-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card-icon {
    font-size: 28px;
    color: #ffffff !important; /* FORCE WHITE */
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
}

/* Ensure the inner icon element is also white */
.auth-card-icon i {
    color: #ffffff !important; 
}

.auth-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}

.auth-card-subtitle {
    font-size: 13px;
    color: #888;
}

/* --- FORM --- */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
}

.form-group input {
    background: #000;
    border: 1px solid #333;
    padding: 14px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: #fff;
}

/* Checkbox & Links */
.form-group-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    cursor: pointer;
    font-size: 12px;
}

.form-checkbox input {
    accent-color: #fff;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.form-link {
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.form-link:hover { color: #fff; }

/* --- BUTTONS --- */
.btn-auth-primary {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth-primary:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-auth-primary:active {
    transform: scale(0.98);
}

.btn-auth-primary:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

/* --- DIVIDER (Fixed Placement) --- */
.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
}

/* The horizontal lines */
.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    background-color: #333;
    flex: 1; /* Stretches to fill space */
}

/* --- SOCIAL LOGIN --- */
.auth-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.auth-social-btn {
    background: #000;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.auth-social-btn:hover {
    background: #1a1a1a;
    border-color: #fff;
    color: #fff;
}

/* Force social icons to be white */
.auth-social-btn i { font-size: 16px; color: #fff !important; }

/* --- FOOTER --- */
.auth-footer {
    text-align: center;
    font-size: 13px;
    color: #666;
}

.auth-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.auth-footer a:hover { text-decoration: underline; }
