﻿.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's above other content */
}

.loader {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #000000; /* Black */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Animation */
    position: fixed; /* Ensures the loader is fixed to the viewport */
    top: 47%; /* Positions the top edge at 50% of the viewport height */
    left: 48%; /* Positions the left edge at 50% of the viewport width */
}

/* Fix for eye icon overlapping with error border */
.append-form-groups .append-icon.view-hide-btn {
    right: 14px; /* Increase right spacing slightly */
}

.append-form-groups .form-control.is-invalid ~ .append-icon {
    right: 30px; /* More spacing when error border is shown */
}

/* Fix Select2 dropdown inside modals */
.select2-container--open {
    z-index: 9999 !important;
}

/* Ensure Select2 dropdown is not clipped by modal */
.modal .select2-container--open .select2-dropdown {
    z-index: 10060 !important;
}

/* Style the attendees dropdown options */
.attendees-select-groups .select2-container {
    width: 100% !important;
}

.select2-results__option .user-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
}

    .select2-results__option .user-option img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

    .select2-results__option .user-option .name {
        font-weight: 500;
        font-size: 14px;
        color: #1F1F1F;
    }

    .select2-results__option .user-option .email {
        font-size: 12px;
        color: #595959;
    }

    .select2-results__option .user-option .badge-span {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 4px;
        margin-left: 6px;
    }

        .select2-results__option .user-option .badge-span.unverified {
            background: #FCE7E9;
            color: #EB192B;
        }

        .select2-results__option .user-option .badge-span:not(.unverified) {
            background: #CAF2BF;
            color: #37951D;
        }

/* Fix dropdown appearing behind modal */
.select2-dropdown {
    z-index: 10060 !important;
}

/* Tags input (Figma-like) */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.tag-badge {
    background: #EEF2FF; /* subtle brand tint */
    color: #1F1F1F;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

    .tag-badge .btn-link,
    .tag-badge button {
        background: transparent;
        border: none;
        color: #6B7280; /* muted X color */
        padding: 0;
        margin: 0;
        font-size: 12px;
        line-height: 1;
        cursor: pointer;
    }

        .tag-badge .btn-link:focus,
        .tag-badge button:focus {
            outline: none;
            box-shadow: none;
        }

        .tag-badge .btn-link:hover,
        .tag-badge button:hover {
            color: #111827;
        }

/* Make sure the tags area and input align visually with form controls */
.skill-form-groups .form-control {
    margin-top: 6px;
}

/* When using bootstrap .badge together with tag-badge, ensure padding looks correct */
.bootstrap-tagsinput .tag,
.tag-badge {
    background: #EEF2FF !important;
    color: #1F1F1F !important;
    padding: 6px 10px !important;
    border-radius: 12px !important;
}

/* Small responsive tweak for very narrow screens */
@media (max-width: 420px) {
    .tag-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
}

.add-team-empty-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    width: 100%;
    margin-top: 100px;
}

.add-team-empty-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(44,44,44,0.04);
    padding: 48px 40px 40px 40px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .add-team-empty-card .icon-wrap {
        background: #f3f6ff;
        border-radius: 50%;
        width: 64px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
        font-size: 2.5rem;
        color: #3a0647;
    }

    .add-team-empty-card .title {
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 8px;
        text-align: center;
    }

    .add-team-empty-card .description {
        font-size: 1rem;
        color: #6c6c6c;
        margin-bottom: 32px;
        text-align: center;
    }

    .add-team-empty-card .btn-3.btn-lg {
        min-width: 200px;
        font-size: 1.1rem;
        padding: 12px 0;
        border-radius: 8px;
    }
/* Status badges */
.status-active {
    background-color: #dcfce7;
    color: #15803d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-inactive {
    background-color: #fee2e2;
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-pending {
    background-color: #fef3c7;
    color: #b45309;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Role filter buttons */
.btn-role-filter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

    .btn-role-filter:first-child {
        background: linear-gradient(135deg, #ec4899, #f472b6);
    }

    .btn-role-filter:last-child {
        background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    }

    .btn-role-filter.active {
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
        transform: scale(1.05);
    }

    .btn-role-filter:hover {
        opacity: 0.9;
    }

/* Sortable header */
.team-sortable {
    cursor: pointer;
}

    .team-sortable:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }
/*# sourceMappingURL=main.css.map */

.notification-item.unread-notification {
    background-color: #f0f4ff;
    border-left: 3px solid var(--primary-color, #1b4a8a);
}

/* Notification Bell */
.notification-bell-wrap {
    margin-right: 16px;
}

    .notification-bell-wrap .td-menu-b {
        color: var(--c-base-black);
        font-size: 1.25rem;
    }

.notification-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: var(--c-danger-primary, #dc3545);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    padding: 0 4px;
}

.notification-dropdown {
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--c-border, #e5e7eb);
}

.notification-dropdown-item:hover {
    background-color: var(--c-bg-subtle, #f8f9fa);
}

/* Unread notification highlight */
.unread-notification {
    background-color: var(--c-bg-subtle, #f0f4ff);
    border-left: 3px solid var(--c-primary, #1b4a8a);
}

/* Avatar sizes for notification items */
.avatar-xs {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.avatar-sm {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.status-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.4;
}

/* Awaiting Internal Approval — Purple */
.status-awaiting-internal {
    background-color: #e8d5f5;
    color: #6b21a8;
}

/* Awaiting Client Approval — Yellow/Amber */
.status-awaiting-client {
    background-color: #fef3c7;
    color: #b45309;
}

/* Rejected (Internal) — Light Pink */
.status-rejected-internal {
    background-color: #fce4ec;
    color: #c62828;
}

/* Rejected (Client) — Red */
.status-rejected-client {
    background-color: #ef4444;
    color: #ffffff;
}

/* Approved (Client) — Green */
.status-approved-client {
    background-color: #22c55e;
    color: #ffffff;
}

/* ══════════════════════════════════════════
   Pending Approvals — Tabs + Pagination
   ══════════════════════════════════════════ */

/* Tabs */
.approval-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e5ea;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #8b8b9e;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #1a1a2e;
}

.tab-btn.active {
    color: #1a1a2e;
    border-bottom: 2px solid #1a1a2e;
}

.tab-count {
    font-size: 12px;
    color: #8b8b9e;
    margin-left: 2px;
}

/* Pagination */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
    margin-top: 8px;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}

.page-btn:hover:not(:disabled) {
    background: #f5f5f7;
    border-color: #ccc;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 4px;
    align-items: center;
}

.page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}

.page-num:hover {
    background: #f5f5f7;
}

.page-num.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.page-ellipsis {
    width: 36px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 8px;
}

.badge.purple {
    background: #e8d5f5;
    color: #6b21a8;
}

.badge.red-l2 {
    background: #fce4ec;
    color: #c62828;
}

.badge.red {
    background: #ef4444;
    color: #fff;
}

.badge.green {
    background: #22c55e;
    color: #fff;
}

.badge.gray {
    background: #f1f1f3;
    color: #8b8b9e;
}

/* Doc List */
.doc-list {
    display: flex;
    flex-direction: column;
}

.doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f6;
    cursor: pointer;
    transition: background 0.15s;
}

.doc-row:last-child {
    border-bottom: none;
}

.doc-row:hover {
    background: #fafafc;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.doc-main {
    flex: 1;
    min-width: 0;
}

.doc-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.doc-meta {
    font-size: 13px;
    color: #8b8b9e;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.doc-meta .comments {
    color: #e67e22;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
}

    .doc-meta .comments i {
        font-size: 14px;
    }

.due {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.due strong {
    font-weight: 600;
}

.arrow {
    color: #ccc;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.doc-row:hover .arrow,
.arrow:hover {
    color: #6366f1;
}
.custom-tag-select {
    position: relative;
    cursor: pointer;
}

.tag-select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    min-height: 40px;
}

.tag-badge {
    background: #e8f0fe;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.tag-placeholder {
    color: #999;
    font-size: 13px;
}

.tag-chevron {
    font-size: 14px;
    color: #999;
}

.tag-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 100;
    max-height: 180px;
    overflow-y: auto;
}

.tag-option {
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

    .tag-option:hover {
        background: #f5f5f5;
    }

    .tag-option.selected {
        background: #e8f0fe;
        font-weight: 500;
    }

</style >