/* ==========================================================================
   Caldera Pulse / Branch Pulse - Combined Custom Stylesheet
   ========================================================================== */

/* index.php - Hero & Showcase elements */
.hero-section {
    background: url('/images/background.jpg');
    background-position: center center;
    background-size: 100% auto;
    color: #ffffff;
    padding: 100px 0;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    margin-bottom: 1rem;
}

.metric-card {
    border-radius: 0.75rem;
    border: none;
    transition: transform 0.2s;
}

.metric-card:hover {
    transform: translateY(-2px);
}

.nav-pills .nav-link {
    border-radius: 0.5rem;
    color: #495057;
    background-color: #fff;
    border: 1px solid #dee2e6;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
        /* Supplementary styles for the new inline pricing block */
        .pricing-card {
            border: none;
            border-radius: 1rem;
            background: #ffffff;
            transition: transform 0.2s ease-in-out;
        }
        .pricing-card.featured {
            border: 2px solid #0d6efd;
            position: relative;
        }
        .pricing-card:hover {
            transform: translateY(-4px);
        }
        .badge-featured {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #0d6efd;
            color: #ffffff;
            padding: 0.25rem 1rem;
            border-radius: 2rem;
            font-size: 0.75rem;
            font-weight: 700;
            text-uppercase: uppercase;
        }
        .price-num {
            font-size: 2.75rem;
            font-weight: 800;
            letter-spacing: -0.02em;
        }
        .feature-list {
            list-style: none;
            padding-left: 0;
        }
        .feature-list li {
            padding-bottom: 0.5rem;
            font-size: 0.95rem;
        }
        .feature-list li::before {
            content: "✓ ";
            color: #198754;
            font-weight: bold;
            margin-right: 0.5rem;
        }

/* reports.php - Analytics Dashboard Utilities */
.filter-btn {
    font-weight: 500;
    padding: 0.4rem 1rem;
}

.report-card {
    border-radius: 0.75rem;
    border: none;
}

.feedback-bubble {
    border-radius: 0.5rem;
}

.navbar-logo {
    width: 40px;
    margin-right:8px;
}

.nav-avatar-img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
}
.nav-avatar-placeholder {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Public site footer */
.site-footer {
    background: #111827;
    color: #d1d5db;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__eyebrow {
    margin: 0 0 0.5rem;
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__headline {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.12;
    font-weight: 800;
}

.site-footer__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.45fr);
    gap: 3rem;
    padding: 3rem 0;
}

.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
}

.site-footer__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-footer__brand p {
    max-width: 420px;
    margin: 1rem 0 1.25rem;
    color: #aab3c2;
    line-height: 1.7;
}

.site-footer__trust {
    display: grid;
    gap: 0.55rem;
    color: #e5e7eb;
    font-size: 0.92rem;
}

.site-footer__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.site-footer__trust i {
    color: #60a5fa;
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.site-footer__nav h3 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__nav a {
    display: block;
    width: fit-content;
    margin-bottom: 0.7rem;
    color: #aab3c2;
    font-size: 0.95rem;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8f9bad;
    font-size: 0.85rem;
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 991px) {
    .site-footer__cta,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .site-footer__cta,
    .site-footer__main {
        padding: 2.25rem 0;
    }

    .site-footer__actions,
    .site-footer__actions .btn {
        width: 100%;
    }

    .site-footer__nav {
        grid-template-columns: 1fr;
    }
}
 /* Pricing Page*/

         .navbar-brand {
            font-weight: 800;
            letter-spacing: -0.03em;
        }
        .pricing-card {
            border: none;
            border-radius: 1rem;
            background: #ffffff;
            transition: all 0.2s ease-in-out;
        }
        .pricing-card.featured {
            border: 2px solid #212529;
            position: relative;
        }
        .pricing-card:hover {
            transform: translateY(-4px);
        }
        .badge-featured {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #212529;
            color: #ffffff;
            padding: 0.25rem 1rem;
            border-radius: 2rem;
            font-size: 0.75rem;
            font-weight: 700;
            text-uppercase;
            letter-spacing: 0.05em;
        }
        .price-num {
            font-size: 3rem;
            font-weight: 800;
            letter-spacing: -0.02em;
        }
        .price-period {
            color: #6c757d;
            font-size: 0.9rem;
        }
        .btn-action {
            border-radius: 0.5rem;
            padding: 0.75rem 1rem;
            font-weight: 600;
            transition: all 0.2s;
        }
        .feature-list {
            list-style: none;
            padding-left: 0;
        }
        .feature-list li {
            padding-bottom: 0.75rem;
            font-size: 0.95rem;
            color: #495057;
        }
        .feature-list li::before {
            content: "✓";
            color: #dc3545;
            font-weight: bold;
            display: inline-block;
            width: 1.5em;
        }

/* ==========================================================================
   Migrated page-local styles
   ========================================================================== */

/* solutions.php */
.page-solutions {
    background-color: #f8f9fa;
    color: #212529;
}
.page-solutions .solutions-hero {
    background: linear-gradient(135deg, #212529 0%, #111418 100%);
    color: #ffffff;
    padding: 5rem 0;
}
.page-solutions .stat-card {
    border: none;
    border-left: 4px solid #dc3545;
    background: #ffffff;
    border-radius: 0 0.5rem 0.5rem 0;
}
.page-solutions .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #212529;
    letter-spacing: -0.03em;
    line-height: 1;
}
.page-solutions .segment-card {
    border: none;
    border-radius: 1rem;
    background: #ffffff;
    transition: transform 0.2s ease-in-out;
}
.page-solutions .segment-card:hover { transform: translateY(-4px); }
.page-solutions .icon-accent {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* groups.php */
.page-groups .group-card {
    border-radius: 0.75rem;
    transition: all 0.2s ease-in-out;
}
.page-groups .group-card:hover { box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08) !important; }

/* admin_engagement.php */
.page-admin-engagement {
    background-color: #f4f6f9;
    color: #212529;
}
.page-admin-engagement .metric-card,
.page-admin-engagement .branch-card,
.page-admin-engagement .table-container,
.page-admin-engagement .chart-container {
    background: #ffffff;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
}
.page-admin-engagement .score-display {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}
.page-admin-engagement .progress {
    height: 8px;
    border-radius: 1rem;
}
.page-admin-engagement .status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.page-admin-engagement .user-avatar,
.page-admin-engagement .manager-avatar {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #e9ecef;
}
.page-admin-engagement .manager-avatar {
    width: 32px;
    height: 32px;
}
.page-admin-engagement .avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #495057;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}
.page-admin-engagement .mgr-placeholder {
    width: 32px;
    height: 32px;
    background-color: #6c757d;
    font-size: 0.7rem;
}

/* profile.php */
.page-profile .profile-avatar-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}
.page-profile .profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* history.php */
.page-history .score-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.page-history .feedback-text {
    background-color: #f8fafc;
    border-left: 3px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: 4px;
    font-style: italic;
}
.page-history .history-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0;
}
.page-history .history-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* manager_engagement.php */
.page-manager-engagement {
    background-color: #f8f9fa;
    color: #212529;
}
.page-manager-engagement .metric-card {
    border: none;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
}
.page-manager-engagement .score-display {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.page-manager-engagement .progress {
    height: 10px;
    border-radius: 1rem;
}
.page-manager-engagement .table-container,
.page-manager-engagement .chart-container {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
    border: none;
}
.page-manager-engagement .status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.page-manager-engagement .user-avatar {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #e9ecef;
}
.page-manager-engagement .avatar-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #6c757d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* reports-roi.php */
.page-reports-roi .avatar-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
}
.page-reports-roi .avatar-placeholder {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-reports-roi .roi-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}
.page-reports-roi .ai-summary-card {
    background: linear-gradient(145deg, #ffffff, #f4f5ff);
    border-left: 5px solid #10b981;
}

/* reports-turnover-loss.php */
.page-turnover-loss .turnover-loss-card {
    background: linear-gradient(135deg, #7f1d1d, #111827);
    color: #ffffff;
}

.page-turnover-loss .turnover-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.page-turnover-loss .turnover-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 800;
}

/* reports.php / reports-ai.php */
.page-reports .avatar-img,
.page-reports-ai .avatar-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}
.page-reports .avatar-placeholder,
.page-reports-ai .avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-reports .ai-summary-card,
.page-reports-ai .ai-summary-card {
    background: linear-gradient(145deg, #ffffff, #f8f9ff);
    border-left: 5px solid #6366f1;
}

/* milestones.php */
.page-milestones .achievement-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.page-milestones .achievement-card.unlocked { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.page-milestones .achievement-card.unlocked:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.page-milestones .achievement-card.locked {
    filter: grayscale(100%);
    opacity: 0.65;
    background: #f8fafc;
}
.page-milestones .icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.page-milestones .lock-indicator {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.page-milestones .progress {
    height: 12px;
    border-radius: 50px;
}

/* register.php / login.php */
.page-register,
.page-login {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.page-register .register-container,
.page-login .login-container {
    width: 100%;
}
.page-register .register-container { max-width: 600px; }
.page-login .login-container { max-width: 450px; }
.page-register .register-card,
.page-login .login-card {
    border: none;
    border-radius: 1rem;
    background: #ffffff;
}
.page-register .form-control,
.page-login .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    transition: all 0.2s ease-in-out;
}
.page-register .form-control:focus,
.page-login .form-control:focus {
    border-color: #212529;
    box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.08);
}
.page-register .btn-submit,
.page-login .btn-submit {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #212529;
    border: none;
    font-weight: 600;
    transition: all 0.2s;
}
.page-register .btn-submit:hover,
.page-login .btn-submit:hover {
    background-color: #000000;
    transform: translateY(-1px);
}
.page-register .brand-logo,
.page-login .brand-logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.page-register .tracking-wider,
.page-login .tracking-wider {
    letter-spacing: 0.05em;
}

/* terms.php */
.page-terms {
    background-color: #f8f9fa;
    color: #212529;
}
.page-terms .tos-container {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 3rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}
.page-terms h2 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.5rem;
}
.page-terms .meta-text {
    color: #6c757d;
    font-size: 0.9rem;
}
