/* =========================================
   CEPCON Login Page (Auth) Styles
   ========================================= */

/* Branding Header */
.brand-header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-logo {
    background-color: var(--primary-orange);
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 8px;
    margin-right: 12px;
    font-size: 14px;
}

.brand-text {
    text-align: left;
}

.brand-text h1 {
    font-size: 16px;
    font-weight: 600;
}

.brand-text p {
    font-size: 12px;
    color: #fbbf24; /* Yellowish text */
    margin-top: 2px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.page-subtitle strong {
    color: white;
}

/* Login Card */
.login-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.login-card h2 {
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 8px;
    text-align: center;
}

.login-card > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-dark);
}

.checkbox-group input {
    margin-right: 8px;
    accent-color: var(--primary-orange);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-link {
    color: var(--text-muted);
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--primary-orange);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--primary-orange-hover);
}

/* PWA Footer inside Login Card */
.pwa-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.pwa-footer strong {
    color: var(--text-dark);
    font-weight: 600;
}

.pwa-subtext {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .page-title { font-size: 24px; }
    .login-card { padding: 30px 20px; }
    
    .brand-pill { 
        flex-direction: column; 
        text-align: center; 
        border-radius: 16px;
        padding: 16px;
    }
        /* Update this part for the image */
    .brand-logo-img { 
        margin-right: 0; 
        margin-bottom: 8px; 
        width: 48px;
        height: 48px;
        object-fit: contain;
    }
    
    .brand-text { text-align: center; }
}
/* Center the login page */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}