﻿/* ======================================
   BCC UI V2
====================================== */

.bcc-page-header {
    background: linear-gradient(135deg,#4b2e83,#1f2937);
    border-radius: 24px;
    padding: 30px 34px;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 18px 40px rgba(75,46,131,.18);
}

.bcc-page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.bcc-page-subtitle {
    opacity: .9;
    font-size: .95rem;
}

.bcc-card {
    background: #fff;
    border: none;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.bcc-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bcc-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.bcc-card-body {
    padding: 24px;
}

.bcc-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #4b2e83;
    margin-bottom: 18px;
}

.bcc-btn {
    border: none;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 700;
    transition: .3s;
}

.bcc-btn-primary {
    background: #4b2e83;
    color: white;
}

    .bcc-btn-primary:hover {
        background: #3c2467;
    }

.bcc-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

    .bcc-info-row:last-child {
        border-bottom: none;
    }

.bcc-info-label {
    color: #6b7280;
    font-weight: 600;
    width: 40%;
}

.bcc-info-value {
    color: #111827;
    font-weight: 700;
    text-align: right;
    width: 60%;
}

.bcc-status {
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .8rem;
    font-weight: 700;
}

.bcc-status-success {
    background: #dcfce7;
    color: #15803d;
}

.bcc-status-warning {
    background: #fef3c7;
    color: #b45309;
}

.bcc-status-danger {
    background: #fee2e2;
    color: #dc2626;
}

.bcc-summary {
    background: #f8fafc;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
}

.bcc-summary-value {
    font-size: 2rem;
    font-weight: 800;
    color: #4b2e83;
}

.bcc-summary-label {
    color: #6b7280;
}

.bcc-empty {
    text-align: center;
    padding: 60px;
    color: #94a3b8;
}

    .bcc-empty i {
        font-size: 4rem;
        margin-bottom: 20px;
        color: #4b2e83;
    }

.bcc-input {
    border-radius: 14px !important;
    border: 1px solid #dbe3ea;
    padding: 12px 14px;
}

    .bcc-input:focus {
        border-color: #4b2e83;
        box-shadow: 0 0 0 .2rem rgba(75,46,131,.15);
    }

.bcc-table {
    border-radius: 20px;
    overflow: hidden;
}

    .bcc-table thead {
        background: #f8fafc;
    }

    .bcc-table th {
        color: #6b7280;
        font-weight: 700;
        border: none;
    }

    .bcc-table td {
        vertical-align: middle;
    }
/* =========================
   MY PROFILE V2
========================= */

.profile-v2-page {
    max-width: 1280px;
    margin: 0 auto;
}

.profile-v2-alert {
    border-radius: 18px;
    border: none;
    font-weight: 700;
}

.profile-v2-photo,
.profile-v2-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 28px;
    object-fit: cover;
    border: 5px solid #f3f0ff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.profile-v2-photo-placeholder {
    background: #f3f0ff;
    color: #4b2e83;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.profile-v2-name {
    font-weight: 900;
    color: #111827;
    margin-bottom: 12px;
}

.profile-v2-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .profile-v2-meta span {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        color: #374151;
        border-radius: 999px;
        padding: 7px 12px;
        font-size: 0.85rem;
        font-weight: 800;
    }

    .profile-v2-meta i {
        color: #4b2e83;
        margin-right: 5px;
    }

.profile-v2-progress {
    max-width: 520px;
}

    .profile-v2-progress span {
        color: #6b7280;
        font-weight: 800;
    }

    .profile-v2-progress .progress {
        height: 12px;
        border-radius: 999px;
        background: #e5e7eb;
    }

    .profile-v2-progress .progress-bar {
        border-radius: 999px;
    }

.profile-v2-status-box {
    min-width: 130px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    text-align: center;
}

    .profile-v2-status-box span {
        display: block;
        color: #6b7280;
        font-size: 0.8rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .profile-v2-status-box strong {
        font-size: 1.1rem;
        font-weight: 900;
    }

.profile-v2-grid {
    display: grid;
    gap: 0;
}

.profile-v2-old-value {
    color: #b45309;
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.profile-v2-pending-value {
    color: #111827;
    font-weight: 900;
}

.profile-v2-pending-badge {
    background: #fef3c7;
    color: #b45309;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.7rem;
    margin-left: 8px;
    font-weight: 900;
}

.profile-v2-qualification-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.profile-v2-qual-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .profile-v2-qual-icon.active {
        background: #dcfce7;
        color: #15803d;
    }

    .profile-v2-qual-icon.inactive {
        background: #f3f4f6;
        color: #6b7280;
    }

.profile-v2-cert-link {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #4b2e83;
    text-decoration: none;
}

    .profile-v2-cert-link:hover {
        text-decoration: underline;
    }

@media (max-width: 768px) {
    .bcc-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bcc-info-row {
        flex-direction: column;
        gap: 5px;
    }

    .bcc-info-label,
    .bcc-info-value {
        width: 100%;
        text-align: left;
    }

    .profile-v2-photo,
    .profile-v2-photo-placeholder {
        width: 120px;
        height: 120px;
    }
}
/* =========================
   UPDATE PROFILE V2
========================= */

.profile-form-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

.profile-form-v2-photo,
.profile-form-v2-photo-placeholder,
.profile-form-v2-preview {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    object-fit: cover;
    border: 5px solid #f3f0ff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.profile-form-v2-photo-placeholder {
    background: #f3f0ff;
    color: #4b2e83;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.profile-form-v2-tabs {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid #eef2f7;
    overflow-x: auto;
    background: #ffffff;
}

.profile-form-tab {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #374151;
    border-radius: 16px;
    padding: 11px 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .profile-form-tab.active {
        background: #4b2e83;
        color: #ffffff;
        border-color: #4b2e83;
        box-shadow: 0 12px 24px rgba(75, 46, 131, 0.2);
    }

.profile-form-v2-section h5 {
    font-weight: 900;
    color: #111827;
    margin-bottom: 22px;
}

    .profile-form-v2-section h5 i {
        color: #4b2e83;
        margin-right: 8px;
    }

.profile-form-current {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 6px;
    display: block;
}

.profile-form-qualification-card {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 20px;
    padding: 18px;
    min-height: 150px;
}

.profile-form-file-link {
    background: #ecfdf5;
    color: #16a34a;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.profile-form-approval-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

    .profile-form-approval-box h6 {
        font-weight: 900;
        color: #111827;
    }

    .profile-form-approval-box p {
        margin-bottom: 6px;
        font-weight: 700;
        color: #374151;
    }

    .profile-form-approval-box span {
        color: #6b7280;
        font-size: 0.88rem;
        font-weight: 700;
    }

.profile-form-v2-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.profile-form-secondary-btn {
    background: #f3f4f6;
    color: #374151;
}

@media (max-width: 768px) {
    .profile-form-v2-tabs {
        padding: 12px;
    }

    .profile-form-v2-actions {
        flex-direction: column;
    }

        .profile-form-v2-actions .bcc-btn {
            width: 100%;
            justify-content: center;
        }
}
/* =========================
   FORM FIELD FIX
========================= */

.profile-form-field {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 14px;
    height: 100%;
}

.profile-form-label {
    display: block;
    color: #111827;
    font-size: 0.86rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.profile-form-field .bcc-input {
    width: 100%;
}

.profile-form-current {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 7px;
    display: block;
}
/* =========================
   BCC FORM COMPONENTS
========================= */

.bcc-form-field {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    height: 100%;
}

.bcc-form-label {
    display: block;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.bcc-form-current {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
}

.bcc-form-field .form-control,
.bcc-form-field .form-select,
.bcc-form-field .bcc-input {
    width: 100%;
    border-radius: 14px !important;
    padding: 11px 13px !important;
}

.profile-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    height: 100%;
}

    .profile-review-card h6 {
        font-weight: 900;
        color: #4b2e83;
        margin-bottom: 14px;
    }

    .profile-review-card p {
        margin-bottom: 8px;
        color: #374151;
        font-size: 0.9rem;
    }

    .profile-review-card strong {
        color: #111827;
    }
/* =========================
   MY TEAM V2
========================= */

.my-team-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

.team-summary-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #4b2e83;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

    .team-summary-card span {
        display: block;
        color: #6b7280;
        font-weight: 800;
        font-size: 0.85rem;
    }

    .team-summary-card strong {
        display: block;
        color: #111827;
        font-size: 2rem;
        font-weight: 900;
    }

    .team-summary-card i {
        position: absolute;
        right: 18px;
        bottom: 16px;
        color: #4b2e83;
        font-size: 1.8rem;
        opacity: 0.16;
    }

    .team-summary-card.active {
        border-left-color: #16a34a;
    }

        .team-summary-card.active i {
            color: #16a34a;
        }

    .team-summary-card.inactive {
        border-left-color: #dc3545;
    }

        .team-summary-card.inactive i {
            color: #dc3545;
        }

    .team-summary-card.directorate {
        border-left-color: #0d6efd;
    }

        .team-summary-card.directorate i {
            color: #0d6efd;
        }

.team-clear-btn {
    background: #f3f4f6;
    color: #374151;
}

.team-worker-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 18px;
    height: 100%;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: all 0.22s ease;
}

    .team-worker-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(75, 46, 131, 0.13);
        border-color: rgba(75, 46, 131, 0.32);
    }

.team-worker-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.team-worker-photo,
.team-worker-photo-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid #f3f0ff;
    cursor: pointer;
}

.team-worker-photo-placeholder {
    background: #f3f0ff;
    color: #4b2e83;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.team-worker-top h5 {
    margin: 0;
    color: #111827;
    font-weight: 900;
}

.team-worker-top span {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 800;
}

.team-worker-meta {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

    .team-worker-meta div {
        background: #f8fafc;
        border: 1px solid #eef2f7;
        border-radius: 14px;
        padding: 10px 12px;
    }

    .team-worker-meta small {
        display: block;
        color: #6b7280;
        font-size: 0.72rem;
        font-weight: 800;
        margin-bottom: 3px;
    }

    .team-worker-meta strong {
        display: block;
        color: #111827;
        font-size: 0.86rem;
        font-weight: 900;
    }

.team-worker-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eef2f7;
    padding-top: 14px;
}

.team-status {
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.75rem;
    font-weight: 900;
}

    .team-status.active {
        background: #dcfce7;
        color: #15803d;
    }

    .team-status.inactive {
        background: #f3f4f6;
        color: #6b7280;
    }

.team-action-btn,
.team-danger-btn,
.team-success-btn {
    border: none;
    border-radius: 13px;
    padding: 9px 13px;
    font-weight: 900;
    font-size: 0.82rem;
}

.team-action-btn {
    background: #f3f0ff;
    color: #4b2e83;
}

.team-danger-btn {
    background: #fef2f2;
    color: #dc3545;
}

.team-success-btn {
    background: #ecfdf5;
    color: #16a34a;
}

.team-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

    .team-pagination span {
        font-weight: 900;
        color: #374151;
    }

.team-page-btn {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #f3f0ff;
    color: #4b2e83;
    font-weight: 900;
}

    .team-page-btn:disabled {
        opacity: 0.45;
    }

.team-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.team-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.team-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: #f3f4f6;
    color: #374151;
    width: 36px;
    height: 36px;
    border-radius: 13px;
}

.team-modal-photo,
.team-modal-photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 28px;
    object-fit: cover;
    border: 5px solid #f3f0ff;
    margin-bottom: 14px;
}

.team-modal-photo-placeholder {
    background: #f3f0ff;
    color: #4b2e83;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-modal-card h4 {
    font-weight: 900;
    color: #111827;
    margin-bottom: 2px;
}

.team-modal-card p {
    color: #6b7280;
    font-weight: 800;
}

.team-modal-info {
    margin: 22px 0;
    background: #f8fafc;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 10px;
}

    .team-modal-info div {
        color: #374151;
        font-size: 0.9rem;
    }

.team-modal-actions {
    display: flex;
    gap: 10px;
}

    .team-modal-actions button {
        flex: 1;
    }

@media (max-width: 768px) {
    .team-worker-footer,
    .team-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .team-action-btn,
    .team-danger-btn,
    .team-success-btn {
        width: 100%;
    }
}
/* =========================
   WORKER 360
========================= */

.worker360-page {
    max-width: 1320px;
    margin: 0 auto;
}

.worker360-photo,
.worker360-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    object-fit: cover;
    border: 5px solid #f3f0ff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.worker360-photo-placeholder {
    background: #f3f0ff;
    color: #4b2e83;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.6rem;
}

.worker360-name {
    font-weight: 900;
    color: #111827;
    margin-bottom: 12px;
}

.worker360-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .worker360-meta span {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        color: #374151;
        border-radius: 999px;
        padding: 7px 12px;
        font-size: 0.85rem;
        font-weight: 800;
    }

    .worker360-meta i {
        color: #4b2e83;
        margin-right: 5px;
    }

.worker360-progress {
    max-width: 520px;
}

    .worker360-progress span {
        color: #6b7280;
        font-weight: 800;
    }

    .worker360-progress .progress {
        height: 12px;
        border-radius: 999px;
        background: #e5e7eb;
    }

    .worker360-progress .progress-bar {
        border-radius: 999px;
    }

.worker360-status-box {
    min-width: 140px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    text-align: center;
}

    .worker360-status-box span {
        display: block;
        color: #6b7280;
        font-size: 0.8rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .worker360-status-box strong {
        font-size: 1.15rem;
        font-weight: 900;
    }

.worker360-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    height: 100%;
}

    .worker360-section h5,
    .worker360-side-card h5 {
        font-weight: 900;
        color: #111827;
        margin-bottom: 18px;
    }

        .worker360-section h5 i,
        .worker360-side-card h5 i {
            color: #4b2e83;
            margin-right: 8px;
        }

.worker360-grid {
    display: grid;
    gap: 0;
}

    .worker360-grid.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
    }

.worker360-note {
    background: #f3f0ff;
    border: 1px solid #ddd6fe;
    color: #4b2e83;
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
}

    .worker360-note i {
        margin-right: 8px;
    }

.worker360-side-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.worker360-action {
    width: 100%;
    border: none;
    background: #f8fafc;
    color: #374151;
    border-radius: 15px;
    padding: 12px 14px;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: left;
}

    .worker360-action i {
        color: #4b2e83;
        margin-right: 8px;
    }

.worker360-qualification-card {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    gap: 14px;
    height: 100%;
}

.worker360-qualification-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .worker360-qualification-icon.done {
        background: #dcfce7;
        color: #16a34a;
    }

    .worker360-qualification-icon.missing {
        background: #f3f4f6;
        color: #6b7280;
    }

.worker360-qualification-card strong {
    display: block;
    font-weight: 900;
    color: #111827;
}

.worker360-qualification-card span {
    display: block;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 4px;
}

.worker360-qualification-card a {
    color: #4b2e83;
    font-weight: 900;
    text-decoration: none;
    font-size: 0.84rem;
}

.worker360-qualification-card small {
    color: #9ca3af;
    font-weight: 700;
}

.worker360-document-photo {
    max-width: 100%;
    max-height: 340px;
    border-radius: 24px;
    object-fit: cover;
    border: 5px solid #f3f0ff;
}

.worker360-doc-list {
    display: grid;
    gap: 12px;
}

.worker360-document-row {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .worker360-document-row div {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 900;
        color: #111827;
    }

    .worker360-document-row i {
        color: #4b2e83;
    }

    .worker360-document-row a {
        color: #16a34a;
        font-weight: 900;
        text-decoration: none;
    }

    .worker360-document-row small {
        color: #9ca3af;
        font-weight: 800;
    }

.worker360-timeline {
    position: relative;
    padding-left: 20px;
}

.worker360-timeline-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 24px;
    border-left: 2px solid #e5e7eb;
}

    .worker360-timeline-item:last-child {
        padding-bottom: 0;
    }

.worker360-timeline-dot {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4b2e83;
    border: 4px solid #f3f0ff;
}

.worker360-timeline-item span {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 800;
}

.worker360-timeline-item strong {
    display: block;
    color: #111827;
    font-weight: 900;
    margin-top: 3px;
}

.worker360-timeline-item p {
    color: #6b7280;
    margin: 4px 0 0;
    font-weight: 700;
}

@media (max-width: 768px) {
    .worker360-grid.two {
        grid-template-columns: 1fr;
    }

    .worker360-photo,
    .worker360-photo-placeholder {
        width: 120px;
        height: 120px;
    }

    .worker360-document-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* =========================
   WORKER 360 QUICK FIX
========================= */

/* 1. Stop approval summary card from looking oversized */
.worker360-page .team-summary-card strong {
    font-size: 1.35rem !important;
    line-height: 1.2;
    word-break: break-word;
}
/* =========================
   ADMIN WORKER UPDATE V2
========================= */

.admin-worker-update-v2 .profile-form-qualification-card {
    min-height: 180px;
}

.admin-worker-update-v2 .profile-v2-status-box {
    min-width: 150px;
}

.admin-worker-update-v2 .profile-form-v2-actions {
    border-top: 1px solid #eef2f7;
    padding-top: 20px;
}

.admin-worker-avatar,
.admin-worker-avatar-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #f3f0ff;
    cursor: pointer;
}

.admin-worker-avatar-placeholder {
    background: #f3f0ff;
    color: #4b2e83;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.worker360-page .team-summary-card strong {
    font-size: 1.35rem;
    line-height: 1.2;
}
/* =========================
   GUEST SEARCH V2
========================= */

.guest-search-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

.guest-avatar,
.guest360-avatar {
    background: #f3f0ff;
    color: #4b2e83;
    border-radius: 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-avatar {
    width: 46px;
    height: 46px;
    font-size: 0.9rem;
}

.guest360-avatar {
    width: 76px;
    height: 76px;
    font-size: 1.35rem;
}

.guest-contact-line {
    color: #374151;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
}

    .guest-contact-line i {
        color: #4b2e83;
        margin-right: 6px;
    }

.guest360-modal {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.guest360-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-right: 36px;
}

    .guest360-header h4 {
        color: #111827;
        font-weight: 900;
        margin-bottom: 2px;
    }

    .guest360-header p {
        color: #6b7280;
        font-weight: 800;
        margin-bottom: 8px;
    }

.guest360-tabs {
    padding: 12px 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.guest360-body {
    padding: 18px 0;
}

.guest360-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid #eef2f7;
    padding-top: 16px;
}

    .guest360-actions button {
        flex: 1;
    }

@media (max-width: 768px) {
    .guest360-header {
        flex-direction: column;
        text-align: center;
        padding-right: 0;
    }

    .guest360-actions {
        flex-direction: column;
    }

        .guest360-actions button {
            width: 100%;
        }
}

/* 2. Reduce the long gap between label and value in Worker 360 info rows */
.worker360-section .bcc-info-row {
    justify-content: flex-start !important;
    gap: 24px !important;
}

.worker360-section .bcc-info-label {
    width: 180px !important;
    min-width: 180px !important;
}

.worker360-section .bcc-info-value {
    width: auto !important;
    flex: 1;
    text-align: left !important;
}

/* Make overview personal info slightly narrower and cleaner */
.worker360-section .worker360-grid {
    max-width: 760px;
}
/* =========================
   GUEST FIRST TIMER V2
========================= */

.guest-firsttimer-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

.guest-page-kicker {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 8px;
}

.guest-page-date {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    opacity: 0.9;
}

.guest-light-btn {
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.35);
}

    .guest-light-btn:hover {
        background: #ffffff;
        color: #4b2e83;
    }

.guest-warning-btn {
    background: #f59e0b;
    color: #ffffff;
}

    .guest-warning-btn:hover {
        background: #d97706;
        color: #ffffff;
    }

.guest-secondary-btn {
    background: #f3f4f6;
    color: #374151;
}

    .guest-secondary-btn:hover {
        background: #e5e7eb;
        color: #111827;
    }

.guest-danger-btn {
    background: #fee2e2;
    color: #dc2626;
}

    .guest-danger-btn:hover {
        background: #dc2626;
        color: #ffffff;
    }

.guest-register-header {
    justify-content: space-between;
    flex-wrap: wrap;
}

.guest-search-input {
    max-width: 430px;
}

.guest-table-footer {
    padding: 14px 20px;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.guest-empty-state {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.guest-form-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 22px;
}

.guest-form-section-header {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.86rem;
    font-weight: 900;
    margin-bottom: 18px;
}

    .guest-form-section-header.blue {
        background: #eff6ff;
        color: #1d4ed8;
    }

    .guest-form-section-header.green {
        background: #ecfdf5;
        color: #15803d;
    }

    .guest-form-section-header.purple {
        background: #f3f0ff;
        color: #4b2e83;
    }

    .guest-form-section-header.amber {
        background: #fffbeb;
        color: #b45309;
    }

.guest-auth-card {
    height: 100%;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
}

    .guest-auth-card i {
        font-size: 1.5rem;
        margin-top: 2px;
    }

    .guest-auth-card strong {
        display: block;
        font-weight: 900;
        color: #111827;
        margin-bottom: 4px;
    }

    .guest-auth-card span {
        display: block;
        color: #6b7280;
        font-size: 0.88rem;
        font-weight: 700;
    }

    .guest-auth-card.approved {
        background: #ecfdf5;
        border-color: #bbf7d0;
    }

        .guest-auth-card.approved i {
            color: #16a34a;
        }

    .guest-auth-card.warning {
        background: #fffbeb;
        border-color: #fde68a;
    }

        .guest-auth-card.warning i {
            color: #f59e0b;
        }

    .guest-auth-card.neutral {
        background: #f8fafc;
    }

        .guest-auth-card.neutral i {
            color: #4b2e83;
        }

.guest-form-footer {
    border-top: 1px solid #eef2f7;
    padding: 18px 24px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.guest-access-icon {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
}

    .guest-access-icon.warning {
        background: #fffbeb;
        color: #f59e0b;
    }

    .guest-access-icon.danger {
        background: #fee2e2;
        color: #dc2626;
    }

    .guest-access-icon.success {
        background: #dcfce7;
        color: #16a34a;
    }

.guest-access-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    margin: 18px 0;
    display: grid;
    gap: 12px;
}

    .guest-access-box div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
    }

    .guest-access-box strong {
        color: #6b7280;
        font-size: 0.82rem;
        font-weight: 900;
    }

    .guest-access-box span {
        color: #111827;
        font-size: 0.88rem;
        font-weight: 900;
        text-align: right;
    }

.guest-success-id {
    background: #f3f0ff;
    border: 1px solid #ddd6fe;
    border-radius: 20px;
    padding: 18px;
    margin: 20px 0;
}

    .guest-success-id span {
        display: block;
        color: #6b7280;
        font-size: 0.8rem;
        font-weight: 900;
        margin-bottom: 5px;
    }

    .guest-success-id strong {
        display: block;
        color: #4b2e83;
        font-size: 1.6rem;
        font-weight: 900;
    }

.guest-firsttimer-v2-page .form-check-label {
    color: #374151;
    font-weight: 800;
}

.guest-firsttimer-v2-page .form-check-input:checked {
    background-color: #4b2e83;
    border-color: #4b2e83;
}

.guest-firsttimer-v2-page .btn-group {
    gap: 6px;
}

.guest-firsttimer-v2-page .team-action-btn,
.guest-firsttimer-v2-page .team-success-btn,
.guest-firsttimer-v2-page .team-danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
}

@media (max-width: 768px) {
    .guest-register-header {
        align-items: stretch;
    }

    .guest-search-input {
        max-width: 100%;
        width: 100%;
    }

    .guest-table-footer,
    .guest-form-footer,
    .guest-access-box div {
        flex-direction: column;
        align-items: stretch;
    }

    .guest-access-box span {
        text-align: left;
    }

    .guest-form-footer .bcc-btn {
        width: 100%;
    }
}
/* =========================
   GUEST PHONE FOLLOW-UP V2
========================= */

.guest-followup-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

.guest-followup-profile {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .guest-followup-profile h3 {
        font-weight: 900;
        color: #111827;
        margin-bottom: 10px;
    }

.guest-followup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .guest-followup-meta span {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        color: #374151;
        border-radius: 999px;
        padding: 7px 12px;
        font-size: 0.84rem;
        font-weight: 800;
    }

    .guest-followup-meta i {
        color: #4b2e83;
        margin-right: 6px;
    }

    .guest-followup-meta .status-success {
        background: #dcfce7;
        color: #15803d;
        border-color: #bbf7d0;
    }

    .guest-followup-meta .status-warning {
        background: #fef3c7;
        color: #b45309;
        border-color: #fde68a;
    }

.guest-followup-count {
    min-width: 130px;
    background: #f3f0ff;
    border: 1px solid #ddd6fe;
    border-radius: 20px;
    padding: 16px;
    text-align: center;
}

    .guest-followup-count span {
        display: block;
        color: #6b7280;
        font-size: 0.78rem;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .guest-followup-count strong {
        display: block;
        color: #4b2e83;
        font-size: 2rem;
        font-weight: 900;
    }

.guest-call-timeline {
    position: relative;
    display: grid;
    gap: 18px;
}

.guest-call-item {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid #e5e7eb;
}

    .guest-call-item:last-child {
        border-left-color: transparent;
    }

.guest-call-dot {
    position: absolute;
    left: -8px;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4b2e83;
    border: 4px solid #f3f0ff;
}

.guest-call-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
}

    .guest-call-card strong {
        display: block;
        color: #111827;
        font-weight: 900;
    }

    .guest-call-card span {
        display: block;
        color: #6b7280;
        font-size: 0.82rem;
        font-weight: 800;
    }

    .guest-call-card p {
        color: #374151;
        font-weight: 800;
        margin: 12px 0;
    }

.guest-call-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

    .guest-call-footer small {
        color: #6b7280;
        font-weight: 800;
    }

.guest-mini-empty {
    background: #f8fafc;
    border: 1px dashed #d1d5db;
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
}

    .guest-mini-empty i {
        font-size: 2.6rem;
        color: #4b2e83;
        margin-bottom: 14px;
    }

    .guest-mini-empty h6 {
        color: #111827;
        font-weight: 900;
    }

    .guest-mini-empty p {
        color: #6b7280;
        font-weight: 700;
        margin-bottom: 0;
    }

.guest-note-box {
    background: #fbfcfe;
    min-height: 120px;
}

.guest-followup-success {
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-left: 6px solid #16a34a;
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

    .guest-followup-success h4 {
        color: #111827;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .guest-followup-success p {
        color: #374151;
        font-weight: 700;
    }

.guest-followup-success-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

    .guest-followup-success-grid div {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 12px;
    }

    .guest-followup-success-grid span {
        display: block;
        color: #6b7280;
        font-size: 0.76rem;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .guest-followup-success-grid strong {
        display: block;
        color: #111827;
        font-size: 0.9rem;
        font-weight: 900;
    }

.guest-followup-v2-page fieldset[disabled] {
    opacity: 0.75;
}

.guest-followup-modal {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.guest-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.guest-detail-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
}

    .guest-detail-item.full {
        grid-column: 1 / -1;
    }

    .guest-detail-item span {
        display: block;
        color: #6b7280;
        font-size: 0.78rem;
        font-weight: 900;
        margin-bottom: 5px;
    }

    .guest-detail-item strong {
        display: block;
        color: #111827;
        font-size: 0.94rem;
        font-weight: 900;
        word-break: break-word;
    }

.guest-note-section {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    margin-top: 14px;
    background: #ffffff;
}

    .guest-note-section h6 {
        font-size: 0.92rem;
        color: #4b2e83;
        margin-bottom: 8px;
        font-weight: 900;
    }

    .guest-note-section p {
        margin-bottom: 0;
        color: #374151;
        white-space: pre-wrap;
        font-weight: 700;
    }

@media (max-width: 768px) {
    .guest-followup-profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .guest-followup-count {
        width: 100%;
    }

    .guest-call-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .guest-followup-success {
        flex-direction: column;
    }

    .guest-followup-success-grid,
    .guest-detail-grid {
        grid-template-columns: 1fr;
    }

    .guest-followup-modal {
        padding: 20px;
        max-width: 96%;
    }
}
/* =========================
   GUEST SECOND TIMER V2
========================= */

.guest-secondtimer-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

.guest-search-actions {
    display: flex;
    gap: 10px;
}

    .guest-search-actions .bcc-btn {
        flex: 1;
    }

.guest-results-section {
    margin-top: 24px;
    border-top: 1px solid #eef2f7;
    padding-top: 22px;
}

.guest-results-title {
    margin-bottom: 16px;
}

    .guest-results-title h5 {
        color: #111827;
        font-weight: 900;
        margin-bottom: 4px;
    }

        .guest-results-title h5 i {
            color: #4b2e83;
        }

    .guest-results-title p {
        color: #6b7280;
        font-weight: 700;
        margin-bottom: 0;
    }

.guest-row-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.guest-secondtimer-modal {
    position: relative;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.guest-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.guest-secondtimer-v2-page .form-check-label,
.guest-secondtimer-modal .form-check-label {
    color: #374151;
    font-weight: 800;
}

.guest-secondtimer-v2-page .form-check-input:checked,
.guest-secondtimer-modal .form-check-input:checked {
    background-color: #4b2e83;
    border-color: #4b2e83;
}

.guest-secondtimer-modal .guest-form-section {
    margin-bottom: 18px;
}

.guest-secondtimer-modal .guest360-actions {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .guest-search-actions,
    .guest-row-actions {
        flex-direction: column;
    }

        .guest-search-actions .bcc-btn,
        .guest-row-actions button {
            width: 100%;
        }

    .guest-secondtimer-modal {
        max-width: 96%;
        padding: 20px;
    }
}
/* =========================
   GUEST 360 DETAILS V2
========================= */

.guest360-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

.guest360-profile-hero {
    display: flex;
    align-items: center;
    gap: 20px;
}

.guest360-avatar.large {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    font-size: 1.8rem;
}

.guest360-profile-hero h2 {
    color: #111827;
    font-weight: 900;
    margin-bottom: 4px;
}

.guest360-profile-hero p {
    color: #6b7280;
    font-weight: 900;
    margin-bottom: 12px;
}

.guest360-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .guest360-meta-pills span {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        color: #374151;
        border-radius: 999px;
        padding: 7px 12px;
        font-size: 0.84rem;
        font-weight: 800;
    }

    .guest360-meta-pills i {
        color: #4b2e83;
        margin-right: 6px;
    }

    .guest360-meta-pills .status-success {
        background: #dcfce7;
        color: #15803d;
        border-color: #bbf7d0;
    }

    .guest360-meta-pills .status-warning {
        background: #fef3c7;
        color: #b45309;
        border-color: #fde68a;
    }

.guest360-status-box {
    min-width: 140px;
    background: #f3f0ff;
    border: 1px solid #ddd6fe;
    border-radius: 20px;
    padding: 18px;
    text-align: center;
}

    .guest360-status-box span {
        display: block;
        color: #6b7280;
        font-size: 0.78rem;
        font-weight: 900;
        margin-bottom: 5px;
    }

    .guest360-status-box strong {
        display: block;
        color: #4b2e83;
        font-size: 1.15rem;
        font-weight: 900;
    }

.guest360-actions-list {
    display: grid;
    gap: 10px;
}

.guest360-action {
    width: 100%;
    border: none;
    background: #f8fafc;
    color: #374151;
    border-radius: 16px;
    padding: 13px 15px;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .guest360-action:hover {
        background: #f3f0ff;
        color: #4b2e83;
    }

    .guest360-action i {
        color: #4b2e83;
    }

    .guest360-action.danger {
        background: #fef2f2;
        color: #dc2626;
    }

        .guest360-action.danger i {
            color: #dc2626;
        }

.guest-danger-outline-btn {
    background: rgba(220,38,38,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.35);
}

    .guest-danger-outline-btn:hover {
        background: #dc2626;
        color: #ffffff;
    }

.guest360-v2-page .team-summary-card strong {
    font-size: 1.25rem;
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 768px) {
    .guest360-profile-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .guest360-status-box {
        width: 100%;
    }

    .guest360-avatar.large {
        width: 82px;
        height: 82px;
        border-radius: 24px;
        font-size: 1.5rem;
    }
}

@media print {
    .bcc-page-header,
    .guest360-actions-list,
    .team-modal-backdrop,
    .btn,
    .bcc-btn {
        display: none !important;
    }

    .bcc-card {
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
    }

    .guest360-v2-page {
        max-width: 100%;
    }
}
/* =========================
   GUEST FOLLOW-UP REPORT V2
========================= */

.guest-report-v2-page {
    max-width: 1320px;
    margin: 0 auto;
}

    .guest-report-v2-page .bcc-card {
        margin-bottom: 24px;
    }

    .guest-report-v2-page .guest-form-section {
        margin-bottom: 20px;
    }

.guest-report-modal {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.guest-report-mini-profile {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

    .guest-report-mini-profile div {
        background: #ffffff;
        border: 1px solid #eef2f7;
        border-radius: 16px;
        padding: 12px;
    }

    .guest-report-mini-profile span {
        display: block;
        color: #6b7280;
        font-size: 0.76rem;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .guest-report-mini-profile strong {
        display: block;
        color: #111827;
        font-size: 0.92rem;
        font-weight: 900;
    }

.guest-report-v2-page .team-summary-card strong {
    font-size: 1.65rem;
    line-height: 1.2;
}

.guest-report-v2-page .bcc-table td {
    vertical-align: middle;
}

.guest-report-v2-page .bcc-status {
    white-space: normal;
    line-height: 1.3;
}

.guest-report-v2-page .team-action-btn,
.guest-report-v2-page .team-success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.guest-report-v2-page .guest-table-footer {
    margin-top: 0;
}

.guest-report-v2-page .guest-empty-state {
    margin-top: 24px;
}

.guest-report-modal .guest-call-timeline {
    max-height: 52vh;
    overflow-y: auto;
    padding-right: 6px;
}

.guest-report-modal .guest-call-card p {
    margin-bottom: 12px;
}

.guest-report-modal .guest360-actions {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .guest-report-mini-profile {
        grid-template-columns: 1fr;
    }

    .guest-report-modal {
        max-width: 96%;
        padding: 20px;
    }

    .guest-report-v2-page .team-action-btn,
    .guest-report-v2-page .team-success-btn {
        width: 100%;
        margin-bottom: 6px;
    }
}
/* =========================
   GUEST INTAKE V3
========================= */

.guest-intake-v3-page {
    max-width: 1280px;
}

.guest-intake-header {
    margin-bottom: 20px;
}

.guest-intake-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.guest-intake-side {
    position: sticky;
    top: 90px;
}

.guest-intake-side-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.guest-intake-side-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #f3f0ff;
    color: #4b2e83;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.guest-intake-side-card h5 {
    color: #111827;
    font-weight: 900;
    margin-bottom: 4px;
}

.guest-intake-side-card p {
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.guest-intake-auth {
    margin-top: 14px;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
    font-weight: 800;
}

    .guest-intake-auth.approved {
        background: #ecfdf5;
        color: #15803d;
        border: 1px solid #bbf7d0;
    }

    .guest-intake-auth.warning {
        background: #fffbeb;
        color: #b45309;
        border: 1px solid #fde68a;
    }

    .guest-intake-auth.neutral {
        background: #f8fafc;
        color: #4b2e83;
        border: 1px solid #e5e7eb;
    }

.guest-intake-card-header {
    padding: 16px 20px;
}

.guest-intake-body {
    padding: 18px;
}

.guest-intake-section {
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 14px;
    background: #fbfcfe;
}

    .guest-intake-section:last-child {
        margin-bottom: 0;
    }

    .guest-intake-section h6 {
        color: #111827;
        font-weight: 900;
        font-size: 0.9rem;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .guest-intake-section h6 i {
            color: #4b2e83;
        }

.guest-intake-label {
    display: block;
    color: #374151;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.guest-intake-input {
    min-height: 42px;
    font-size: 0.88rem;
}

.guest-intake-section textarea.guest-intake-input {
    min-height: 74px;
}

.guest-radio-pill-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.guest-radio-pill {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 999px;
    padding: 9px 13px;
    color: #374151;
    font-size: 0.84rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

    .guest-radio-pill input {
        accent-color: #4b2e83;
    }

    .guest-radio-pill:has(input:checked) {
        background: #f3f0ff;
        color: #4b2e83;
        border-color: #c4b5fd;
    }

.guest-intake-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    border-top: 1px solid #eef2f7;
    background: rgba(248, 250, 252, 0.96);
    backdrop-filter: blur(8px);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 992px) {
    .guest-intake-layout {
        grid-template-columns: 1fr;
    }

    .guest-intake-side {
        position: static;
    }
}

@media (max-width: 768px) {
    .guest-intake-body {
        padding: 14px;
    }

    .guest-intake-footer {
        flex-direction: column;
    }

        .guest-intake-footer .bcc-btn {
            width: 100%;
        }
}
/* =========================
   MAT WORKSPACE COMPACT UI
   First Timer + Second Timer
========================= */

.guest-firsttimer-v2-page .bcc-page-header,
.guest-secondtimer-v2-page .bcc-page-header {
    padding: 16px 22px !important;
    border-radius: 18px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 8px 22px rgba(75,46,131,.12) !important;
}

.guest-firsttimer-v2-page .bcc-page-title,
.guest-secondtimer-v2-page .bcc-page-title {
    font-size: 1.35rem !important;
    margin-bottom: 2px !important;
}

.guest-firsttimer-v2-page .bcc-page-subtitle,
.guest-secondtimer-v2-page .bcc-page-subtitle {
    font-size: .82rem !important;
    margin-bottom: 0 !important;
}

.guest-firsttimer-v2-page .guest-page-kicker,
.guest-secondtimer-v2-page .guest-page-kicker {
    font-size: .68rem !important;
    margin-bottom: 4px !important;
}

.guest-firsttimer-v2-page .guest-page-date,
.guest-secondtimer-v2-page .guest-page-date {
    font-size: .78rem !important;
    margin-top: 4px !important;
}

/* Remove bulky dashboard feel from Second Timer */
.guest-secondtimer-v2-page > .row.g-3.mb-4 {
    display: none !important;
}

.guest-secondtimer-v2-page .bcc-card {
    border-radius: 18px !important;
    margin-bottom: 16px !important;
}

.guest-secondtimer-v2-page .bcc-card-header,
.guest-firsttimer-v2-page .bcc-card-header {
    padding: 13px 18px !important;
}

.guest-secondtimer-v2-page .bcc-card-body,
.guest-firsttimer-v2-page .bcc-card-body {
    padding: 16px !important;
}

    /* Hide bulky authorization banner on Second Timer */
    .guest-secondtimer-v2-page .bcc-card-body > .guest-auth-card {
        display: none !important;
    }

/* Compact search and form areas */
.guest-secondtimer-v2-page .guest-form-section,
.guest-firsttimer-v2-page .guest-intake-section {
    padding: 12px !important;
    margin-bottom: 12px !important;
    border-radius: 14px !important;
}

.guest-secondtimer-v2-page .bcc-form-field,
.guest-firsttimer-v2-page .bcc-form-field {
    padding: 10px !important;
    border-radius: 14px !important;
}

.guest-secondtimer-v2-page .bcc-form-label,
.guest-firsttimer-v2-page .bcc-form-label,
.guest-firsttimer-v2-page .guest-intake-label {
    font-size: .76rem !important;
    margin-bottom: 4px !important;
}

.guest-secondtimer-v2-page .bcc-input,
.guest-firsttimer-v2-page .bcc-input {
    padding: 8px 10px !important;
    min-height: 38px !important;
    font-size: .84rem !important;
    border-radius: 11px !important;
}

.guest-secondtimer-v2-page .bcc-form-current {
    display: none !important;
}

.guest-secondtimer-v2-page .guest-search-actions {
    gap: 8px !important;
}

.guest-secondtimer-v2-page .bcc-btn,
.guest-firsttimer-v2-page .bcc-btn {
    padding: 9px 15px !important;
    border-radius: 12px !important;
    font-size: .84rem !important;
}

/* First Timer compact intake */
.guest-intake-v3-page {
    max-width: 1220px !important;
}

.guest-intake-layout {
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 14px !important;
}

.guest-intake-side-card {
    padding: 14px !important;
    border-radius: 18px !important;
}

.guest-intake-side-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    margin-bottom: 8px !important;
}

.guest-intake-side-card h5 {
    font-size: .95rem !important;
}

.guest-intake-side-card p {
    font-size: .76rem !important;
    margin-bottom: 10px !important;
}

.guest-intake-auth {
    padding: 9px !important;
    font-size: .76rem !important;
    border-radius: 13px !important;
}

.guest-intake-body {
    padding: 14px !important;
}

.guest-intake-section h6 {
    font-size: .82rem !important;
    margin-bottom: 9px !important;
}

.guest-radio-pill {
    padding: 7px 10px !important;
    font-size: .78rem !important;
}

.guest-intake-footer {
    padding: 10px 16px !important;
}

/* Compact empty state */
.guest-empty-state,
.guest-secondtimer-v2-page .guest-mini-empty {
    padding: 28px 18px !important;
    border-radius: 18px !important;
}

    .guest-empty-state i,
    .guest-secondtimer-v2-page .guest-mini-empty i {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
    }

@media (max-width: 992px) {
    .guest-intake-layout {
        grid-template-columns: 1fr !important;
    }

    .guest-intake-side {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .guest-firsttimer-v2-page .bcc-page-header,
    .guest-secondtimer-v2-page .bcc-page-header {
        padding: 14px !important;
    }
}

/* =========================
   SECOND TIMER WORKSPACE MODAL - FINAL CLEAN VERSION
   Replaces old bulky modal behavior.
========================= */

/* Hide any old footer/actions only if accidentally left inside second-timer modal */
.guest-secondtimer-workspace-modal .guest360-actions {
    display: none !important;
}

.guest-secondtimer-workspace-modal {
    width: 100%;
    max-width: 720px !important;
    background: #ffffff;
    border-radius: 20px;
    padding: 14px !important;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    max-height: 88vh;
    overflow-y: auto;
}

.workspace-modal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

    .workspace-modal-topbar h5 {
        font-size: 1rem;
        font-weight: 900;
        margin-bottom: 1px;
        color: #111827;
    }

    .workspace-modal-topbar small {
        font-size: .74rem;
        font-weight: 800;
        color: #6b7280;
    }

.workspace-modal-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

    .workspace-modal-actions .bcc-btn {
        padding: 6px 10px !important;
        font-size: .75rem !important;
        border-radius: 9px !important;
        min-height: 32px !important;
        white-space: nowrap;
    }

.workspace-guest-strip {
    display: grid;
    grid-template-columns: 42px 1.4fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 9px;
    margin-bottom: 10px;
}

    .workspace-guest-strip .guest-avatar {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: .78rem;
    }

    .workspace-guest-strip span {
        display: block;
        font-size: .68rem;
        font-weight: 900;
        color: #6b7280;
        margin-bottom: 2px;
    }

    .workspace-guest-strip strong {
        display: block;
        font-size: .78rem;
        font-weight: 900;
        color: #111827;
        line-height: 1.2;
        word-break: break-word;
    }

.workspace-secondtimer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.workspace-field,
.workspace-question {
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    padding: 9px;
    background: #ffffff;
}

    .workspace-question.full {
        grid-column: 1 / -1;
    }

    .workspace-field label,
    .workspace-question > label {
        display: block;
        font-size: .72rem;
        font-weight: 900;
        color: #374151;
        margin-bottom: 5px;
    }

    .workspace-field .bcc-input,
    .workspace-field .form-control,
    .workspace-field .form-select {
        min-height: 34px !important;
        padding: 6px 9px !important;
        font-size: .8rem !important;
        border-radius: 9px !important;
    }

.workspace-radio-row {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

    .workspace-radio-row label {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        padding: 6px 11px;
        font-size: .76rem;
        font-weight: 900;
        margin-bottom: 0;
        cursor: pointer;
    }

    .workspace-radio-row input {
        accent-color: #4b2e83;
        margin-right: 4px;
    }

.guest-secondtimer-workspace-modal .text-danger.small {
    font-size: .68rem !important;
    line-height: 1.1;
}

.guest-secondtimer-workspace-modal .alert {
    padding: 10px 12px !important;
    border-radius: 13px !important;
    font-size: .82rem !important;
}

@media (max-width: 768px) {
    .guest-secondtimer-workspace-modal {
        max-width: 96% !important;
        max-height: 92vh;
        overflow-y: auto;
        padding: 12px !important;
    }

    .workspace-modal-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .workspace-modal-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .workspace-guest-strip {
        grid-template-columns: 38px 1fr;
    }

        .workspace-guest-strip > div:nth-child(n+3) {
            grid-column: 1 / -1;
        }

    .workspace-secondtimer-grid {
        grid-template-columns: 1fr;
    }

    .workspace-question.full {
        grid-column: auto;
    }
}
.workspace-guest-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px;
}

    .workspace-guest-summary span {
        display: block;
        font-size: .68rem;
        font-weight: 900;
        color: #6b7280;
        margin-bottom: 3px;
    }

    .workspace-guest-summary strong {
        display: block;
        font-size: .78rem;
        font-weight: 900;
        color: #111827;
        line-height: 1.2;
    }

@media (max-width: 768px) {
    .workspace-guest-summary {
        grid-template-columns: 1fr;
    }
}