.custom-calendar {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
}

/* Toolbar */
.fc .fc-toolbar {
    margin-bottom: 20px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid #eef0f5;
}

.fc .fc-toolbar-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c2c54;
    letter-spacing: -0.5px;
}

/* Buttons */
.fc .fc-button {
    background: #4b49ac !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: 0.3s ease;
    text-transform: capitalize !important;
}

.fc .fc-button:hover {
    background: #3f3d9c !important;
    transform: translateY(-1px);
}

.fc .fc-button-active {
    background: #34318d !important;
}

.fc .fc-button:focus {
    box-shadow: none !important;
}

/* Day Header */
.fc-col-header-cell {
    background: #f8f9fc;
    padding: 12px 0;
}

.fc-col-header-cell-cushion {
    text-decoration: none !important;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Grid */
.fc-theme-standard td,
.fc-theme-standard th {
    border-color: #eef0f5;
}

/* Day Cell */
.fc-daygrid-day {
    transition: all 0.25s ease;
}

.fc-daygrid-day:hover {
    background: #fafbff;
}

/* Date Numbers */
.fc-daygrid-day-number {
    text-decoration: none !important;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    padding: 8px !important;
}

/* Today Highlight */
.fc .fc-day-today {
    background: rgba(75, 73, 172, 0.06) !important;
}

.fc .fc-day-today .fc-daygrid-day-number {
    background: #4b49ac;
    color: #fff !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
}

/* Events */
.fc-event {
    border: none !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    font-weight: 500;
    margin-top: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.fc-daygrid-event {
    background: #4b49ac !important;
}

.fc-event-title {
    font-weight: 500;
}

/* Weekend */
.fc-day-sat,
.fc-day-sun {
    background: #fcfcfd;
}

/* More Link */
.fc-daygrid-more-link {
    color: #4b49ac !important;
    font-size: 12px;
    font-weight: 600;
}

/* Scrollbar */
.fc-scroller::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.fc-scroller::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .custom-calendar {
        padding: 10px;
    }

    .fc-toolbar {
        flex-direction: column;
        gap: 12px;
    }

    .fc .fc-toolbar-title {
        font-size: 16px;
    }

    .fc .fc-button {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

.card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c2c54;
}

.latest-enquiry-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 12px;
}

.latest-enquiry-item:hover {
    background: #f8f9ff;
}

/* Comment page css */
.comment-details-wrapper {
    width: 100%;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #ececec;
}

.detail-label {
    min-width: 180px;
    font-weight: 700;
    color: #000;
}

.detail-value {
    flex: 1;
    color: #6c7293;
    line-height: 1.7;
    word-break: break-word;
}

.message-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.message-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #b66dff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(182, 109, 255, 0.3);
}

@media (max-width: 768px) {
    .detail-item {
        flex-direction: column;
        gap: 8px;
        padding: 15px 0;
    }

    .detail-label {
        min-width: 100%;
        font-size: 14px;
    }

    .detail-value {
        width: 100%;
        font-size: 14px;
    }

    .message-preview {
        width: 100%;
    }
}

.comment-view-card {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 !important;
    }

    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .comment-view-card {
        margin: 0;
        border-radius: 12px;
    }

    .card-body {
        padding: 18px 14px !important;
    }
}

/* Category blade css */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* enquiry card */
.enquiry-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf5 0%, #fff3e8 100%);
}

.enquiry-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border: 14px solid rgba(255, 166, 0, 0.08);
    border-radius: 50%;
}

.enquiry-card::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    border: 10px solid rgba(255, 166, 0, 0.06);
    border-radius: 50%;
}

/* Contact card */
.contact-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5fff9 0%, #ebfff4 100%);
}

.contact-card::before {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 220px;
    height: 220px;
    background: rgba(0, 200, 83, 0.08);
    border-radius: 58% 42% 67% 33%;
}

.contact-card::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 120px;
    height: 120px;
    border: 10px solid rgba(0, 200, 83, 0.05);
    border-radius: 50%;
}

.enquiry-card .card-body,
.contact-card .card-body {
    position: relative;
    z-index: 2;
}
.enquiry-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -80px;
    top: -80px;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.25) 20%, transparent 22%),
        radial-gradient(circle, rgba(255, 255, 255, 0.18) 40%, transparent 42%),
        radial-gradient(circle, rgba(255, 255, 255, 0.12) 60%, transparent 62%);
}

/* calender card */
.calendar-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8f7ff 0%, #efedff 100%);
}

.calendar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(75, 73, 172, 0.03) 0px,
        rgba(75, 73, 172, 0.03) 2px,
        transparent 2px,
        transparent 18px
    );
    pointer-events: none; /* THIS IS THE FIX */
    z-index: 0;
}

/* team card */
.team-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4fbff 0%, #edf8ff 100%);
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;

    background-image: radial-gradient(
        rgba(54, 162, 235, 0.15) 2px,
        transparent 2px
    );

    background-size: 18px 18px;

    z-index: 1;
    pointer-events: none;
}

.team-card .card-body {
    position: relative;
    z-index: 2;
}

/* login css */
:root {
    --brand-dark: #9a55ff;
    --brand-mid: #b06fff;
    --brand-light: #da8cff;
    --brand-accent: #9a55ff;
}

html,
body {
    height: 100%;
}

body {
    /* background: linear-gradient(to right, #da8cff, #9a55ff); */
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.login-outer {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    min-height: 480px;
    background: #ffffff;
    border-radius: 26px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(6, 30, 74, 0.45);
}

/* LEFT PANEL */
.login-left {
    position: relative;
    flex: 0 0 45%;
    background: linear-gradient(
        160deg,
        var(--brand-dark) 0%,
        var(--brand-mid) 60%,
        var(--brand-light) 100%
    );
    color: #fff;
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    clip-path: ellipse(85% 100% at 15% 50%);
}

.login-left::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #da8cff, #7a2fe0);
    left: -110px;
    bottom: -110px;
    opacity: 0.95;
}

.login-left::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #da8cff, #7a2fe0);
    left: 90px;
    bottom: 40px;
    opacity: 0.9;
}

.login-left .brand-logo img {
    max-height: 42px;
    margin-bottom: 30px;
    /* filter: brightness(0) invert(1); */
}

.login-left h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.login-left h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.9;
}

.login-left p {
    font-size: 13.5px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 260px;
    position: relative;
    z-index: 2;
}

/* RIGHT PANEL */
.login-right {
    flex: 1;
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h3 {
    font-size: 28px;
    font-weight: 800;
    color: #14213d;
    margin-bottom: 6px;
}

.login-right .subtitle {
    font-size: 13px;
    color: #9aa3b2;
    margin-bottom: 28px;
}

.input-wrap {
    position: relative;
    margin-bottom: 18px;
}

.input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b7bfcc;
    font-size: 15px;
}

.input-wrap input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: #f4f6f9;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    font-size: 14px;
    color: #14213d;
    outline: none;
    transition: border-color 0.2s;
}

.input-wrap input:focus {
    border-color: var(--brand-accent);
    background: #fff;
}

.input-wrap .toggle-show {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-accent);
    cursor: pointer;
    user-select: none;
}

.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 24px;
}

.form-row-between label {
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
}

.form-row-between a {
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 600;
}

.btn-signin {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(120deg, var(--brand-dark), var(--brand-mid));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-signin:hover {
    opacity: 0.9;
}

.alert-danger {
    font-size: 13px;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .login-card {
        flex-direction: column;
    }

    .login-left {
        clip-path: none;
        border-radius: 26px 26px 0 0;
        padding: 40px 30px;
    }

    .login-right {
        padding: 40px 30px;
    }
}

.custom-pagination-wrapper
    .d-none.flex-sm-fill.d-sm-flex.align-items-sm-center.justify-content-sm-between
    > div:first-child {
    display: none;
}

/* ==========================================
   CUSTOM PAGINATION
========================================== */

.custom-pagination .pagination {
    margin-bottom: 0;
}

.custom-pagination .page-item {
    margin: 0 3px;
}

.custom-pagination .page-link {
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    border: 1px solid #e4e4e4;

    color: #9a55ff;
    background: #fff;

    font-weight: 600;

    transition: all 0.3s ease;
}

.custom-pagination .page-link:hover {
    background: #9a55ff;
    color: #fff;
    border-color: #9a55ff;
}

.custom-pagination .page-item.active .page-link {
    background: #9a55ff;
    border-color: #9a55ff;
    color: #fff;
}

.custom-pagination .page-item.disabled .page-link {
    background: #f5f5f5;
    color: #bdbdbd;
    border-color: #ececec;
}

.custom-pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(154, 85, 255, 0.25);
}

.custom-pagination svg {
    width: 16px;
    height: 16px;
}

/* activity log */
.activity-card {
    border-radius: 20px;
}

.activity-live-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.activity-box {
    display: flex;
    gap: 18px;

    padding: 18px;

    margin-bottom: 15px;

    border-radius: 18px;

    background: #fff;

    border: 1px solid #eee;

    transition: 0.3s ease;
}

.activity-box:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.activity-icon {
    height: 48px;
    width: 48px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    font-size: 22px;
}

.activity-icon.success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.activity-icon.info {
    background: linear-gradient(135deg, #17a2b8, #007bff);
}

.activity-icon.danger {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
}

.activity-icon.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.activity-module {
    background: #f1f3f9;

    color: #555;

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 12px;

    margin-left: 8px;
}

.change-box {
    background: #f8f9ff;

    padding: 12px;

    border-radius: 12px;

    margin-bottom: 10px;
}

.change-row {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    margin-bottom: 6px;
}

.field-name {
    font-weight: 600;

    min-width: 90px;

    color: #555;
}

.old-value {
    background: #ffe5e5;

    color: #dc3545;

    padding: 3px 8px;

    border-radius: 6px;
}

.new-value {
    background: #e5fff0;

    color: #198754;

    padding: 3px 8px;

    border-radius: 6px;

    font-weight: 600;
}

.arrow {
    color: #999;
}

.activity-user {
    color: #6c757d;
}

.activity-time {
    color: #999;

    font-size: 13px;

    white-space: nowrap;
}

/* icons of acitivity log */
.permission-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 450px;
}

.permission-box .badge {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 20px;
}

/* Team buttons */
.action-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px;
    font-size: 18px;
}

/* dashboard designing starts from here */
:root {
    --ink: #1e1b39;
    --ink-soft: #8b8aa3;
    --ink-faint: #b4b3c7;
    --canvas: #f7f6fb;
    --card: #ffffff;
    --line: #eceaf5;
    --primary: #4b49ac;
    --primary-dark: #332f7a;
    --primary-soft: #eeedfa;
    --mint: #31b8b8;
    --mint-soft: #e4f9f8;
    --coral: #ff8a65;
    --coral-soft: #ffeee7;
    --danger: #c0524a;
    --danger-soft: #f7e9e7;
    --success: #3e8965;
    --success-soft: #e9f3ed;
    --warning: #b8892b;
    --warning-soft: #f7eedd;
    --radius-lg: 20px;
    --radius: 14px;
    --shadow:
        0 1px 2px rgba(30, 27, 57, 0.04),
        0 12px 28px -16px rgba(30, 27, 57, 0.12);
}

.dash {
    color: var(--ink);
    background: var(--canvas);
    border-radius: 24px;
    padding: 22px;
    margin: -8px;
}

.dash * {
    box-sizing: border-box;
}

.dash h3,
.dash h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.dash a {
    text-decoration: none;
}

/* ============ Header ============ */
.dash-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.dash-header .eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.dash-header h3 {
    font-size: 26px;
    color: var(--ink);
}

.dash-date-chip {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow);
}

.dash-date-chip i {
    color: var(--primary);
}

/* ============ Hero stat card ============ */
.hero-card {
    background: linear-gradient(
        155deg,
        var(--primary-dark) 0%,
        var(--primary) 65%,
        #6664c6 100%
    );
    border-radius: var(--radius-lg);
    padding: 26px;
    height: 100%;
    min-height: 190px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 18px 34px -18px rgba(51, 47, 122, 0.65);
}

.hero-arcs {
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 220px;
    height: 220px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.hero-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.hero-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.hero-link:hover {
    opacity: 1;
    color: #fff;
}

.hero-bottom {
    position: relative;
    z-index: 1;
}

.hero-value {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.hero-label {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 6px;
    font-weight: 600;
}

/* ============ Small stacked stat cards ============ */
.mini-stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
    height: 100%;
}

.mini-stat .m-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 auto;
}

.mini-stat.tone-mint .m-icon {
    background: var(--mint-soft);
    color: var(--mint);
}

.mini-stat.tone-coral .m-icon {
    background: var(--coral-soft);
    color: var(--coral);
}

.mini-stat .m-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.mini-stat .m-label {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 600;
    margin-top: 2px;
}

/* ============ Generic premium card shell ============ */
.p-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.p-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.p-card-head h4 {
    font-size: 16.5px;
    color: var(--ink);
}

.p-sub {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 2px;
    font-weight: 500;
}

.btn-view-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    border: 1px solid var(--primary-soft);
    background: var(--primary-soft);
    padding: 7px 14px;
    border-radius: 8px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-view-all:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============ Contact requests — table style ============ */
.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table thead th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--ink-faint);
    padding: 0 10px 12px;
    border-bottom: 1px solid var(--line);
}

.req-table thead th i {
    color: var(--primary);
    margin-right: 6px;
}

.req-table td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    font-size: 13.5px;
}

.req-table tr:last-child td {
    border-bottom: none;
}

.req-table tbody tr {
    transition: background 0.15s ease;
}

.req-table tbody tr:hover {
    background: var(--canvas);
}

.req-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-chip {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.req-name {
    font-weight: 700;
    color: var(--ink);
}

.req-email {
    font-size: 12px;
    color: var(--ink-soft);
}

.badge-company {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--mint-soft);
    color: var(--mint);
    margin-left: 6px;
}

.req-subject {
    color: var(--ink-soft);
}

.req-time {
    color: var(--ink-faint);
    font-size: 12.5px;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 40px 12px;
    color: var(--ink-soft);
}

.empty-state i {
    font-size: 30px;
    color: var(--line);
    display: block;
    margin-bottom: 8px;
}

/* ============ Activity timeline ============ */
.activity-live-badge {
    background: var(--success-soft);
    color: var(--success);
    font-weight: 700;
    font-size: 11px;
    border-radius: 20px;
    padding: 6px 12px;
}

.activity-live-badge .pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    margin-right: 5px;
    box-shadow: 0 0 0 0 rgba(62, 137, 101, 0.5);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(62, 137, 101, 0.5);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(62, 137, 101, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(62, 137, 101, 0);
    }
}

.timeline {
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 6px;
    bottom: 6px;
    width: 1.5px;
    background: var(--line);
}

.t-item {
    position: relative;
    display: flex;
    gap: 16px;
    padding-bottom: 22px;
}

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

.t-dot {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--card);
    border: 1.5px solid var(--line);
    box-shadow: var(--shadow);
}

.t-dot.primary {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.t-dot.success {
    color: var(--success);
    border-color: var(--success);
    background: var(--success-soft);
}

.t-dot.info {
    color: var(--mint);
    border-color: var(--mint);
    background: var(--mint-soft);
}

.t-dot.danger {
    color: var(--danger);
    border-color: var(--danger);
    background: var(--danger-soft);
}

.t-dot.warning {
    color: var(--warning);
    border-color: var(--warning);
    background: var(--warning-soft);
}

.t-body {
    flex: 1;
    min-width: 0;
    padding-top: 5px;
}

.t-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.t-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.t-module {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-soft);
    padding: 2px 9px;
    border-radius: 20px;
    margin-left: 8px;
}

.t-time {
    font-size: 11.5px;
    color: var(--ink-faint);
    white-space: nowrap;
}

.t-user {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.change-box {
    margin-top: 10px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
}

.change-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    padding: 5px 0;
}

.change-row:not(:last-child) {
    border-bottom: 1px dashed var(--line);
}

.field-name {
    font-weight: 700;
    color: var(--ink-soft);
    min-width: 110px;
}

.old-value {
    color: var(--danger);
    text-decoration: line-through;
    opacity: 0.75;
}

.new-value {
    color: var(--success);
    font-weight: 700;
}

.arrow {
    color: var(--ink-faint);
}

.permission-box {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* ============ Sidebar: Calendar (compact, reference-style) ============ */
.side-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 22px;
}

.side-card + .side-card {
    margin-top: 20px;
}

.custom-calendar .fc-toolbar {
    margin-bottom: 10px !important;
}

.custom-calendar .fc-toolbar-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
}

.custom-calendar .fc-button {
    background: var(--canvas) !important;
    border: none !important;
    color: var(--ink-soft) !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border-radius: 8px !important;
}

.custom-calendar .fc-button:hover {
    background: var(--primary-soft) !important;
    color: var(--primary-dark) !important;
}

.custom-calendar .fc-daygrid-day-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.custom-calendar .fc-daygrid-day-number {
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.custom-calendar .fc-day-today .fc-daygrid-day-number {
    background: var(--primary);
    color: #fff !important;
    font-weight: 800;
}

.custom-calendar .fc-day-today {
    background: transparent !important;
}

.custom-calendar .fc-col-header-cell-cushion {
    color: var(--ink-faint);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.custom-calendar .fc-scrollgrid {
    border: none !important;
}

.custom-calendar td,
.custom-calendar th {
    border-color: var(--canvas) !important;
}

/* ============ Sidebar: Team list (compact, "upcoming" style) ============ */
.team-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    transition:
        background 0.15s ease,
        border-radius 0.15s ease;
}

.team-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.team-row:first-child {
    padding-top: 0;
}

.team-row:hover {
    background: var(--canvas);
    border-radius: 10px;
}

.team-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.team-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.team-role {
    font-size: 11.5px;
    color: var(--primary);
    font-weight: 600;
}

.team-arrow {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--canvas);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 991px) {
    .dash {
        margin: 0;
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .hero-value {
        font-size: 30px;
    }
}

