:root {
    --color-cyan: #06b6d4;
    --color-green: #22c55e;
    --color-amber: #f59e0b;
    --color-red: #ef4444;
    --color-cyan-light: #22d3ee;
    --color-cyan-dark: #0891b2;
    --color-green-light: #4ade80;
    --color-green-dark: #16a34a;
    --color-amber-light: #fcd34d;
    --color-amber-dark: #d97706;
    --color-red-light: #f87171;
    --color-red-dark: #dc2626;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-500: #6b7280;
    --color-gray-900: #111827;
    --color-white: #ffffff;
}

body {
    margin: 0;
    background-color: #f8f8fb;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    overflow-y: scroll;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px 0 10px;
    background-color: #f8f8fb;
}

.header-left {
    display: flex;
    align-items: center;
    /* gap: 30px; */
}

.logo {
    font-size: 24px;
    color: #000;
    margin-right: 30px;
    /* reduce or increase this as needed */
}

.menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    margin-right: 40px;
}

.logoonmenuitem {
    min-width: 30px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification {
    position: relative;
    font-size: 15px;
    color: #333;
}

.notification .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #2d3e50;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
}

.v-line-1 {
    width: 1px;
    /* thickness */
    height: 25px;
    /* or 100% for full‑height */
    background: #d3c8c871;
    /* line colour */
    /* border-top: 1px solid #d3c8c871; */
}

.profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Main content */
.main-content {
    padding: 10px 60px 0;
    min-height: 250px;
    margin-left: 4%;
    background-color: #f8f8fb;
}

.dashboard-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.dashboard-row h1 {
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    /* reduce or increase this as needed */
    font-weight: 500;
    /* Lighter */
    font-size: 14px;
    margin-left: 1%;
    /* reduce or increase this as needed */
}

.three-c-h3 {
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    /* reduce or increase this as needed */
    font-weight: 500;
    /* Lighter */
    font-size: 14px;
    margin-left: 1%;
    /* reduce or increase this as needed */
}

.arrow-btn-2 {
    position: absolute;
    background: #eef1ff;
    border: .05px #555;
    padding: 6px 15px 6px 15px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 13px;
    left: 45%;
    min-width: 40px;
    /* reduce or increase this as needed */
    font-weight: 400;
    border-radius: 35px;
    color: #6c757d;
}

.arrow-btn-2:hover {
    background-color: #fee8f1;
    color: #dc3545;
}

.alert-btn-2 {
    background-color: #d1d1d1;
    border: .05px #555;
    padding: 10px 20px 10px 20px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 18px;
    /* reduce or increase this as needed */
}

.right-icons {
    display: flex;
    gap: 10px;
}

.icon-btn {
    background-color: #eef1ff;
    border: none;
    border-radius: 30%;
    padding-left: 13px;
    padding-right: 13px;
    padding-bottom: 7px;
    padding-top: 7px;
    cursor: pointer;
    border: 2px #555;
}

.icon-img {
    height: 17px;
    width: 17px;
}

.icon-trans {
    transform: rotate(90deg);
}

.icon-btn-4 {
    background-color: #eef1ff;
    border: none;
    border-radius: 40%;
    font-size: 16px;
    cursor: pointer;
    border: 2px #555;
}

.line {
    height: 0.5px;
    background-color: #d3c8c871;
    margin: 0.5px 0 0.5px;
    width: 40%;
    margin-top: 0;
    /* margin-left: 60px; */
    /* reduce or increase this as needed */
    margin-left: 1%;
    /* reduce or increase this as needed */
}

.italic-text {
    font-style: italic;
    font-size: small;
    color: #848484;
    margin-bottom: 30px;
    margin-top: 4px;
    margin-left: 1%;
    /* reduce or increase this as needed */
    font-weight: 300;
    font-family: "Calibri";
}

/* Columns section */
.columns {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    min-height: 120px;
}

.column {
    flex: 1;
    position: relative;
}

.column .v-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 50%;
    background-color: #d3c8c8;
}

/* Footer */
.footer {
    /* margin-top: 123px; */
    bottom: 0;
    left: 0;
    width: 100%;
    position: fixed;
    height: 30px;
    text-align: center;
    background-color: #f8f8fb;
    padding-top: 4px;
    z-index: 100000;
}

.footer-line {
    width: 60%;
    /* or 200px */
    margin: 0 auto;
    /* center it */
    border: none;
    border-top: 1px solid #d3c8c871;
    /* color and thickness */
}

.footer-text {
    font-size: 14px;
    color: #848484;
    margin-top: 5px;
    background-color: #f8f8fb;
    font-family: Calibri;
    font-weight: 300;
    font-style: italic;
}

.footer-link-text {
    text-decoration: none;
    color: #848484;
}

.menu01 {
    display: flex;
    background: #f8f8fb;
    padding: 10px 20px;
    gap: 40px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    position: relative;
}

.menu01-item {
    position: relative;
}

.menu01 a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    padding: 8px;
    border: 1px solid transparent;
}

.hover:hover {
    background-color: #d1d1d1;
    transform: scale(1);
    opacity: 1;
    padding: 8px;
    border: 1px solid #d3c8c8;
    border-radius: 8px;
}

.m-w-30 {
    min-width: 30px;
}

.m-w-25 {
    min-width: 20%;
}

.m-w-20 {
    min-width: 20px;
}

.m-w-15 {
    min-width: 1%;
}

.m-w-4 {
    min-width: 4%;
}

/* Submenu default: hidden */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f8f8fb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    z-index: 1000;
    min-width: 200px;
    color: #6b7280;
}

/* Submenu links */
.submenu a {
    display: block;
    padding: 10px 10px;
    color: inherit;
    white-space: nowrap;
    font-weight: 500;
    font-size: 13px;
}

.submenu i {
    color: #6b7280;
    /* Default gray color for icons */
}

.submenu a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    border-radius: 5px;
}

.submenu i:hover {
    color: #dc3545;
    /* Only the icon turns red when active */
}

/* Show submenu on hover */
.menu01-item:hover .submenu {
    display: block;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    /* padding-left: 60px; */
    padding-bottom: 10px;
}

.logo-image {
    height: 40px;
    /* or your preferred size */
    width: auto;
    margin-right: 5px;
    /* 🔸 5px space between image and text */
}

.logo-text {
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    min-height: 40px;
    align-content: center;
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-icon {
    /* font-size: 24px; */
    cursor: pointer;
    /* padding: 8px; */
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.05);
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f8f8fb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
    min-width: 160px;
    border: 1px solid #ddd;
}

.profile-dropdown a {
    font-size: 13px;
    font-weight: 300;
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #6b7280;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.profile-dropdown a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    border-radius: 5px;
}

.profile-dropdown i {
    color: #6b7280;
}

.profile-dropdown i:hover {
    color: #dc3545;
}

.profileimagestyle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.m-b-0 {
    margin-bottom: 0;
}

.m-t-0 {
    margin-top: 0;
}

.p-t-10 {
    padding-top: 10px;
}

.margin-left-4per {
    margin-left: 4%;
}

.horizontal-separator {
    border-top: 1px solid #d3c8c871;
}

.page-logo {
    height: 45px;
    width: 48px;
}

.selectoption-btn {
    background-color: #d1d1d1;
    border: .05px #555;
    padding: 10px 20px 10px 20px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 18px;
}

.d-none {
    display: none;
}

.card-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
    object-fit: cover;
}

.card-content h3 {
    font-size: 18px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    margin-bottom: 10px;
    text-align: left;
}

.card-content p {
    font-size: 14px;
    color: #848484;
    font-style: italic;
    margin-bottom: 6px;
}

.card-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px 20px 20px 20px;
    flex-wrap: wrap;
}

.card {
    height: 380px;
    width: 190px;
    border-radius: 16px;
    background-color: #e2e2e2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    float: left;
    padding: 10px 10px 10px 10px;
}

.info-card {
    padding: 20px 15px;
    box-sizing: border-box;
}

.highlight {
    color: #f39c12;
    font-weight: 600;
}

/* Navigation Buttons - Updated to match the image style */
.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1%;
    align-items: center;
    margin-top: 1rem;
    width: 200px;
    margin-top: 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 1%;
    padding: 10px 10px 10px 10px;
    background: transparent;
    color: #6b7280;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    width: 60%;
    text-align: left;
    justify-content: flex-start;
    margin-top: 0;
    height: 20px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.nav-btn.active {
    background: transparent;
    color: #6b7280;
    /* Keep text color gray */
}

.nav-btn.active:hover {
    background: rgba(239, 68, 68, 0.05);
}

.nav-btn i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: #6b7280;
    /* Default gray color for icons */
}

.nav-btn.active i {
    color: #dc3545;
    /* Only the icon turns red when active */
}

.nav-btn span {
    flex: 1;
    text-align: left;
    font-size: 16px;
    color: inherit;
}

/* control but */

.control-buttons {
    display: flex;
    gap: 4px;
}

.control-btn {
    background: #eef1ff;
    border: 1px solid transparent;
    padding: 5px 7px 5px 7px;
    cursor: pointer;
    color: #6c757d;
    border-radius: 5px;
    transition: all 0.2s;
    font-size: smaller;
}

.control-btn:hover {
    background-color: #fee8f1;
    color: #dc3545;
}

/* profile-page */
.profile-page {
    display: flex;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1000px;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 20%;
}

.profile-left {
    width: 40%px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    background: transparent;
    height: 80%;
}

.P-P-container {
    padding: 2%;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50%;
}

.circle-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.circle-wrapper svg {
    transform: rotate(180deg);
}

/* Profile Image centered inside SVG */
.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 40px;
    /* (240 - 160) / 2 */
    left: 40px;
    z-index: 2;
    background: #f8f8fb;
}

/* Camera Button */
.camera-button {
    position: absolute;
    bottom: 24px;
    right: 35px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-40%);
    z-index: 4;
}

.camera-btn {
    width: 38px;
    height: 38px;
    background: #f75c14;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.camera-btn:hover {
    background: #ff5c00;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.camera-btn i {
    color: #fff;
    font-size: 15px;
}

.pro-name {
    line-height: 1.2;
    /* reduce vertical space between lines */
    margin: 0;
    padding-bottom: 1%;
    padding-top: 2%;
}

.pro-name h2 {
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-size: medium;
    font-weight: 500;
    color: #283e4a;
    line-height: 1.2;
    /* reduce vertical space between lines */
    margin: 0;
}

/* Navigation Buttons - Updated to match the image style */
.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1%;
    align-items: center;
    margin-top: 1rem;
    width: 200px;
    margin-top: 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 15px 10px 15px 10px;
    background: transparent;
    color: #6b7280;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    width: 60%;
    text-align: left;
    justify-content: flex-start;
    margin-top: 0;
    height: 20px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.nav-btn.active {
    background: transparent;
    color: #6b7280;
    /* Keep text color gray */
}

.nav-btn.active:hover {
    background: rgba(239, 68, 68, 0.05);
}

.nav-btn i {
    font-size: small;
    width: 20px;
    text-align: center;
    color: #6b7280;
    /* Default gray color for icons */
}

.nav-btn.active i {
    color: #dc3545;
    /* Only the icon turns red when active */
}

.nav-btn span {
    flex: 1;
    text-align: left;
    font-size: small;
    color: inherit;
}

.divider {
    width: 1px;
    background-color: #d0d5ce6c;
    height: auto;
}

.profile-right {
    flex: 1;
    padding: 10px 10px 10px 10px;
}

/* Content Section */
.content-section {
    width: 100%;
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}

/* Bio Container */
.bio-container {
    background: transparent;
    border-radius: 12px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
}

.bio-header {
    padding: 0 1.5rem 0 1.5rem;
    display: flex;
    width: 70%;
}

.bio-header h2 {
    font-size: medium;
    font-weight: 300;
    color: #4a4b4e;
    margin-bottom: 0;
}

.bio-header i {
    color: #dc3545;
}

.bio-info {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.bio-subtitle {
    font-size: smaller;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Bio List */
.bio-list {
    display: flex;
    flex-direction: column;
}

.bio-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #d0d5ce6c;
}

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

.bio-label {
    font-size: small;
    color: #6b7280;
    font-weight: 400;
}

.bio-value {
    font-size: small;
    color: #4a4b4e;
    font-weight: 500;
    text-align: right;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
}

.activity-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.activity-text {
    font-size: 15px;
    color: #1f2937;
}

.edit-btn {
    background: #eef1ff;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-r {
    float: right;
}

.edit-btn:hover {
    background-color: #fee8f1;
}

.edit-btn i {
    color: #9ca3af;
    font-size: smaller;
}

.edit-btn:hover i {
    color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.projects-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    position: relative;
    z-index: 1;
    overflow: visible;
    /* allows cards to render outside grid bounds */
    margin-bottom: 5%;
}

.project-card-2 {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: visible;
    /* allow dropdown to be visible outside */
    position: relative;
    /* ensure child dropdown positions correctly */
    width: 190px;
    z-index: 1;
    /* make sure this card is above neighbors */
}

.project-card-2:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    z-index: 10000;
    /* bring above other cards when hovered */
}

.project-thumbnail-2 {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pro-bg-clr-1 {
    background: linear-gradient(135deg, #1abc9c 0, #16a085 100%);
}

.pro-bg-clr-2 {
    background: linear-gradient(135deg, #8e1abc 0, #6d16a0 100%);
}

.pro-bg-clr-3 {
    background: linear-gradient(135deg, #1a96bc 0, #1690a0 100%);
}

.pro-bg-clr-4 {
    background: linear-gradient(135deg, #1fbc1a 0, #16a039 100%);
}

.pro-bg-clr-5 {
    background: linear-gradient(135deg, #bc1a66 0, #a0164f 100%);
}

.profile-container-2 {
    position: absolute;
    width: 25vw;
    /* Responsive size, adjusts with screen */
    max-width: 120px;
    /* Prevents too large on large screens */
    min-width: 60px;
    aspect-ratio: 1/1;
}

.circle-profile-2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.circle-profile-2:hover {
    border-color: #ff9800;
    box-shadow: 0 0 10px rgba(243, 141, 72, 0.4);
}

/* Status Badge */
.status-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: gray;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Online/offline classes */
.status-badge.online {
    background-color: #28c76f;
}

.status-badge.offline {
    background-color: #d63031;
}

.project-thumbnail-2 {
    width: 190px;
    background-color: #00c2a8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0;
}

.project-info-2 {
    min-height: 190px;
    padding: 0 20px 10px 20px;
    width: 100%;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.project-title-2 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.project-company-2 {
    font-size: 13px;
    color: #6c757d;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.project-avatar-2 {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid #fff;
}

.employee-header-2 {
    margin-bottom: 3px;
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 2px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.employee-name-2 {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    margin-top: 5px;
}

.employee-profession-2 {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 5px;
}

.employee-details-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.detail-item-2 {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.detail-icon-2 {
    width: 14px;
    height: 14px;
    color: #6c757d;
    flex-shrink: 0;
}

.detail-text-2 {
    font-size: 12px;
    color: #495057;
    font-weight: 500;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

/* 3-dot menu */

.menu-dots-2 {
    font-size: 20px;
    color: #ffff;
    cursor: pointer;
    user-select: none;
    top: 0;
    right: 10px;
    position: absolute;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 25px;
    min-width: 160px;
    color: #6b7280;
    background-color: #f8f8fb;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    display: none;
    right: -50px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    z-index: 10000;
    /* keep on top of other cards */
    left: 100%;
    /* positions to the right of the parent */
    margin-left: -20px;
}

.dropdown.show {
    display: block;
}

.dropdown-item {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 50000;
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    border-radius: 5px;
}

.dropdown i :hover {
    color: #dc3545;
}

.dropdown-item.danger {
    color: #e74c3c;
    /* red */
    font-weight: 600;
}

.dropdown-item.danger:hover {
    background-color: #fdecea;
    color: #c0392b;
    /* darker red on hover */
}

/* callsheetcontent */

.column-content {
    margin: 0;
    display: flex;
    align-items: center;
    /* Vertically center items */
    gap: 5%;
    /* Equivalent to Tailwind's gap-4 */
    padding: 5px;
    /* Equivalent to Tailwind's p-4 */
    width: 100%;
    /* Ensure it takes full width of its parent column */
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.column-content-h-w {
    height: 50px;
    width: 270px;
}

.column-content .icon-wrapper {
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

.column-content .icon {
    height: 32px;
    /* Equivalent to Tailwind's h-8 */
    width: 32px;
    /* Equivalent to Tailwind's w-8 */
    color: #007bff;
    /* A primary blue color */
}

.column-content .text-content {
    flex-grow: 1;
    /* Allow text content to take available space */
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Equivalent to Tailwind's space-y-1 */
}

.i-clr-g {
    color: green;
}

.i-clr-red {
    color: red;
}

.i-clr-dp {
    color: #dc3545;
}

.column-content h3 {
    font-size: small;
    /* Equivalent to Tailwind's text-lg */
    font-weight: 600;
    /* Equivalent to Tailwind's font-semibold */
    margin: 0;
    color: #333;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.column-content p {
    font-size: small;
    /* Equivalent to Tailwind's text-sm */
    color: #6b7280;
    /* Equivalent to Tailwind's text-muted-foreground */
    margin: 0;
    font-weight: 300;
}

/* Specific styling for the second column's content to match the previous example */
.column.center-content .icon {
    color: #f59e0b;
    /* Yellow color for star icon */
    margin: 0 auto 8px;
    /* Center icon and add margin-bottom */
    display: block;
    /* Ensure margin auto works */
}

.column.center-content .text-content {
    text-align: center;
}

/* grid css start */
.dashboard-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    /* Equivalent to Tailwind's gap-4 */
    max-width: 1200px;
    /* Equivalent to Tailwind's max-w-6xl */
    width: 100%;
    padding-bottom: 20px;
}

.dashboard-grid-container-4 {
    display: grid;
    /* Changed to always be 4 columns */
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    /* Equivalent to Tailwind's gap-4 */
    max-width: 1200px;
    /* Equivalent to Tailwind's max-w-6xl */
    width: 100%;
    padding-bottom: 20px;
}

.dashboard-item {
    position: relative;
    /* Needed for absolute positioning of pseudo-elements */
    display: flex;
    align-items: center;
    gap: 16px;
    /* Equivalent to Tailwind's space-x-4 */
    padding: 1%;
    /* Equivalent to Tailwind's p-4 */
    border-radius: 8px;
    /* Keep a slight overall border-radius for the card shape */
    /* box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); Equivalent to Tailwind's shadow-sm */
    background-color: transprant;
    /* White background */
    overflow: hidden;
    /* Ensures pseudo-elements don't spill out if they have rounded corners */
}

/* Top-left border line */
.dashboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    /* Length of the border segment */
    height: 20px;
    /* Length of the border segment */
    border-top: 2px solid #d3c8c871;
    /* Green border */
    border-left: 2px solid#d3c8c871;
    /* Green border */
    border-top-left-radius: 8px;
    /* Match card's border-radius for this corner */
}

/* Bottom-right border line */
.dashboard-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    /* Length of the border segment */
    height: 20px;
    /* Length of the border segment */
    border-bottom: 2px solid #d3c8c871;
    /* Green border */
    border-right: 2px solid #d3c8c871;
    /* Green border */
    border-bottom-right-radius: 8px;
    /* Match card's border-radius for this corner */
}

.dashboard-item-icon {
    flex-shrink: 0;
    color: #16a34a;
    /* Green-600 */
    width: 24px;
    /* Equivalent to Tailwind's w-6 */
    height: 24px;
    /* Equivalent to Tailwind's h-6 */
}

.dashboard-item-label {
    font-size: 0.875rem;
    /* Equivalent to Tailwind's text-sm */
    color: #6b7280;
    /* Gray-500 */
    margin-bottom: 4px;
    /* Small margin below label */
}

.dashboard-item-value {
    font-size: 1.125rem;
    /* Equivalent to Tailwind's text-lg */
    font-weight: 700;
    /* Equivalent to Tailwind's font-bold */
    color: #1f2937;
    /* Gray-800 */
}

/* Basic SVG icon styling */
.dashboard-item-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    /* Use the parent's color */
}

/* grid css end */

/* thumnail without image  */

.projects-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
    overflow: visible;
    /* allows cards to render outside grid bounds */
}

.project-card-5 {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: visible;
    /* allow dropdown to be visible outside */
    position: relative;
    /* ensure child dropdown positions correctly */
    width: 190px;
    z-index: 1000;
    /* make sure this card is above neighbors */
}

.project-card-5:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    z-index: 10000;
    /* bring above other cards when hovered */
}

.project-thumbnail-5 {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pro-bg-clr-1 {
    background: linear-gradient(135deg, #1abc9c 0, #16a085 100%);
}

.pro-bg-clr-5 {
    background: linear-gradient(135deg, #8e1abc 0, #6d16a0 100%);
}

.pro-bg-clr-3 {
    background: linear-gradient(135deg, #1a96bc 0, #1690a0 100%);
}

.pro-bg-clr-4 {
    background: linear-gradient(135deg, #1fbc1a 0, #16a039 100%);
}

.pro-bg-clr-5 {
    background: linear-gradient(135deg, #bc1a66 0, #a0164f 100%);
}

.profile-container-5 {
    width: 25vw;
    /* Responsive size, adjusts with screen */
    max-width: 120px;
    /* Prevents too large on large screens */
    min-width: 60px;
    aspect-ratio: 1/1;
    max-height: 40px;
    padding-left: 20px;
}

.circle-profile-5 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.circle-profile-5:hover {
    border-color: #ff9800;
    box-shadow: 0 0 10px rgba(243, 141, 72, 0.4);
}

/* Status Badge */
.status-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: gray;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Online/offline classes */
.status-badge.online {
    background-color: #28c76f;
}

.status-badge.offline {
    background-color: #d63031;
}

.project-thumbnail-5 {
    width: 190px;
    background-color: #00c2a8;
    display: flex;
    align-items: left;
    justify-content: left;
    padding: 0 0;
    height: 40px;
}

.project-info-5 {
    padding: 0 20px 10px 20px;
    width: 150px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.project-title-5 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.project-company-5 {
    font-size: 13px;
    color: #6c757d;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.project-avatar-5 {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid #fff;
}

.employee-header-5 {
    margin-bottom: 3px;
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 2px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.employee-name-5 {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    margin-top: 5px;
}

.employee-profession-5 {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 5px;
}

.employee-details-5 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.detail-item-5 {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.detail-icon-5 {
    width: 14px;
    height: 14px;
    color: #6c757d;
    flex-shrink: 0;
}

.detail-text-5 {
    font-size: 12px;
    color: #495057;
    font-weight: 500;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

/* 3-dot menu */

.menu-dots-5 {
    font-size: 20px;
    color: #ffff;
    cursor: pointer;
    user-select: none;
    top: 0;
    right: 10px;
    position: absolute;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid-5 {
        grid-template-columns: 1fr;
    }
}

.w-t-clr {
    color: #fff;
    text-wrap: 1px;
}

.b-t-clr {
    color: #5d80ff;
}

.text-wrap {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-wrap-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #e2e2e2;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 15px; */
    margin-top: 20px;
}

.form-grid-lg {
    display: grid;
    grid-template-columns: 2fr 0fr;
    /* gap: 15px; */
    margin-top: 20px;
}

input,
select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #d3c8c8;
    border-radius: 4px;
    background-color: #e2e2e2;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.close-modal-btn {
    background: #ccc;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.save-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.b-t-clr {
    color: #5d80ff;
}

.text-wrap {
    display: -webkit-box;
    /* -webkit-line-clamp: 2;   */
    /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.f-s-small {
    font-size: small;
}

.communication-icons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    font-size: 20px;
    color: #555;
    justify-content: flex-start;
}

.communication-icons i {
    cursor: pointer;
    transition: color 0.2s;
}

.download-btn {
    background-color: #4caf50;
    color: #fff;
}

.print-btn {
    background-color: #2196f3;
    color: #fff;
}

/* widgets css */

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    /* gap-6 */
    margin-bottom: 2.5rem;
    /* mb-10 */
}

.info-box {
    border-radius: 0.5rem;
    /* rounded-lg */
    display: flex;
    align-items: center;
    padding: 1rem;
    /* p-4 */
    min-height: 100px;
    box-sizing: border-box;
}

.info-box.default {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* shadow-md */
}

.info-box.shadow-none {
    box-shadow: none;
}

.info-box.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.info-box.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.info-box.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.info-box-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    /* w-16 */
    height: 4rem;
    /* h-16 */
    border-radius: 0.5rem;
    /* rounded-lg */
    color: var(--color-white);
    font-size: 2rem;
    /* For placeholder icons */
}

.info-box-content {
    margin-left: 1rem;
    /* ml-4 */
    flex: 1;
}

.info-box-content h3 {
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.info-box-content p {
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: bold;
    margin: 0;
}

/* Specific background colors */
.bg-cyan-500 {
    background-color: var(--color-cyan);
}

.bg-green-500 {
    background-color: var(--color-green);
}

.bg-amber-500 {
    background-color: var(--color-amber);
}

.bg-red-500 {
    background-color: var(--color-red);
}

/* Text colors for default info boxes */
.info-box.default .info-box-content h3 {
    color: var(--color-gray-500);
}

.info-box.default .info-box-content p {
    color: var(--color-gray-900);
}

/* Text colors for colored info boxes */
.info-box:not(.default) .info-box-content h3,
.info-box:not(.default) .info-box-content p {
    color: var(--color-white);
}

.info-box:not(.default) .info-box-content .progress-text {
    color: var(--color-white);
}

/* Progress bar styles */
.progress-container {
    margin-top: 0.5rem;
    /* mt-2 */
}

.progress-bar-bg {
    height: 0.25rem;
    /* h-1 */
    background-color: rgba(255, 255, 255, 0.3);
    /* bg-white/30 */
    border-radius: 9999px;
    /* rounded-full */
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-white);
}

.progress-text {
    font-size: 0.75rem;
    /* text-xs */
    color: var(--color-white);
    margin-top: 0.25rem;
    /* mt-1 */
}

/* Gradient backgrounds */
.bg-gradient-cyan {
    background: linear-gradient(to bottom right, var(--color-cyan-light), var(--color-cyan-dark));
}

.bg-gradient-green {
    background: linear-gradient(to bottom right, var(--color-green-light), var(--color-green-dark));
}

.bg-gradient-amber {
    background: linear-gradient(to bottom right, var(--color-amber-light), var(--color-amber-dark));
}

.bg-gradient-red {
    background: linear-gradient(to bottom right, var(--color-red-light), var(--color-red-dark));
}

/* Scroll to top button */
#scrollToTopBtn {
    position: fixed;
    bottom: 1.5rem;
    /* bottom-6 */
    right: 1.5rem;
    /* right-6 */
    background-color: #3b82f6;
    /* blue-500 */
    color: #fff;
    padding: 0.75rem;
    /* p-3 */
    border-radius: 9999px;
    /* rounded-full */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    border: none;
    cursor: pointer;
    display: none;
    /* Hidden by default */
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

#scrollToTopBtn:hover {
    background-color: #2563eb;
    /* blue-600 */
    transform: translateY(-2px);
}

#scrollToTopBtn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5), 0 0 0 6px rgba(59, 130, 246, 0.3);
    /* focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 */
}

#scrollToTopBtn .icon {
    width: 1.5rem;
    /* w-6 */
    height: 1.5rem;
    /* h-6 */
    display: block;
    /* Ensure SVG takes full space */
}

/* Basic icon styling for demonstration (replace with actual SVG/image if needed) */
.icon-mail::before {
    content: '✉️';
}

.icon-bookmark::before {
    content: '🔖';
}

.icon-upload::before {
    content: '⬆️';
}

.icon-star::before {
    content: '⭐';
}

.icon-thumbs-up::before {
    content: '👍';
}

.icon-calendar::before {
    content: '📅';
}

.icon-message-square::before {
    content: '💬';
}

.icon-chevron-up::before {
    content: '⬆️';
}

/* For scroll to top button */

.info-box-icon-container .icon-bookmark::before,
.info-box-icon-container .icon-calendar::before,
.info-box-icon-container .icon-mail::before,
.info-box-icon-container .icon-message-square::before,
.info-box-icon-container .icon-star::before,
.info-box-icon-container .icon-thumbs-up::before,
.info-box-icon-container .icon-upload::before {
    font-size: 2rem;
    /* Adjust icon size */
    line-height: 1;
}

.container {
    display: flex;
    min-height: 400px;
}

/* Production Phases Sidebar */
.phases-sidebar {
    width: 280px;
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #fff;
}

.sidebar-title {
    margin: 0;
}

.phase-section {
    margin-bottom: 8px;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.phase-header:hover {
    background-color: #e9ecef;
}

.expand-icon {
    color: #6c757d;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.expand-icon.collapsed {
    transform: rotate(-90deg);
}

.phase-icon {
    color: #dc3545;
    flex-shrink: 0;
}

.phase-title {
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    letter-spacing: 0.5px;
}

/* Phase Content */
.phase-content {
    display: none;
}

.phase-section.expanded .phase-content {
    display: block;
}

/* Project Details */
.project-details {
    padding: 16px;
    /* background-color: #ffffff; */
    border-left: 3px solid #ea4c89;
    margin: 0 16px 12px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-info {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.project-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.project-company {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.person-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.info-label {
    font-size: 12px;
    font-weight: 500;
    color: #495057;
    min-width: 80px;
}

.info-value {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
    flex: 1;
}

/* Submenu Styles */
.submenu-container {
    margin-left: 16px;
    margin-right: 16px;
    border-left: 2px solid #e9ecef;
    padding-left: 12px;
}

.submenu-item {
    margin-bottom: 6px;
}

.submenu-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    user-select: none;
}

.submenu-header:hover {
    background-color: #f1f3f4;
}

.submenu-title {
    font-size: 13px;
    font-weight: 500;
    color: #17a2b8;
}

.file-icon {
    color: #dc3545;
    flex-shrink: 0;
}

/* Sub-submenu Styles */
.sub-submenu-container {
    margin-left: 24px;
    padding-left: 12px;
    border-left: 1px solid #dee2e6;
    display: none;
}

.submenu-item.expanded .sub-submenu-container {
    display: block;
}

.sub-submenu-item {
    margin-bottom: 4px;
}

.sub-submenu-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 3px;
    user-select: none;
}

.sub-submenu-header:hover {
    background-color: #f8f9fa;
}

.sub-submenu-title {
    font-size: 12px;
    color: #6c757d;
}

.bullet-icon {
    color: #adb5bd;
    flex-shrink: 0;
}

/* Sub-sub-submenu Styles (Level 3) */
.sub-sub-submenu-container {
    margin-left: 16px;
    padding-left: 8px;
    border-left: 1px solid #e9ecef;
    display: none;
}

.sub-submenu-item.expanded .sub-sub-submenu-container {
    display: block;
}

.sub-sub-submenu-item {
    margin-bottom: 3px;
}

.sub-sub-submenu-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 3px;
    user-select: none;
}

.sub-sub-submenu-header:hover {
    background-color: #f8f9fa;
}

.sub-sub-submenu-title {
    font-size: 11px;
    color: #6c757d;
}

/* Sub-sub-sub-submenu Styles (Level 4) */
.sub-sub-sub-submenu-container {
    margin-left: 12px;
    padding-left: 6px;
    border-left: 1px solid #f1f3f4;
    display: none;
}

.sub-sub-submenu-item.expanded .sub-sub-sub-submenu-container {
    display: block;
}

.sub-sub-sub-submenu-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 2px;
    margin-bottom: 2px;
    user-select: none;
}

.sub-sub-sub-submenu-item:hover {
    background-color: #f8f9fa;
}

.sub-sub-sub-submenu-title {
    font-size: 10px;
    color: #868e96;
}

/* Main Content Area */
.tv-main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    background-color: #fff;
}

.content-header {
    margin-bottom: 32px;
}

.content-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.content-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-placeholder {
    height: 120px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 16px;
}

.content-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.content-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Custom Color and Typography Classes */
.icon-clr {
    color: #dc3545;
}

.text-01 {
    color: #17a2b8;
}

.text-02 {
    color: #696b6b;
}

.new-tit {
    font-family: "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.new-head {
    font-size: 20px;
    font-weight: 600;
    font-family: "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    /* Profile name or section head */
}

.Subheadline-Role {
    font-size: 16px;
    font-weight: 500;
    /* Role title, company name */
}

.body-text {
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    /* Posts, comments, messages */
}

.Button-Text {
    font-size: 14px;
    font-weight: 600;
    /* CTA buttons */
}

.Navigation-Menu {
    font-size: 14px;
    font-weight: 500;
    /* Top menu, dropdowns */
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.title-section {
    /* background-color: #f5f8fa; soft LinkedIn-like background */
    /* padding: 20px; */
    text-align: center;
    padding-right: 10px;
    padding-left: 20px;
    padding-bottom: 14px;
    padding-top: 15px;
    /* center the content horizontally */
}

.title-text {
    font-family: "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    /* LinkedIn-style font */
    font-size: 16px;
    font-weight: 500;
    color: #283e4a;
    /* dark gray/blue text */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .phases-sidebar {
        width: 100%;
        height: auto;
        max-height: 50vh;
    }

    .main-content {
        padding: 16px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Scrollbar Styling */
.phases-sidebar::-webkit-scrollbar {
    width: 6px;
}

.phases-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.phases-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.phases-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.communication-icons i:hover {
    color: #127a0f;
}

/* toast */

#toast {
    visibility: hidden;
    min-width: 50px;
    margin-left: -125px;
    text-align: right;
    border-radius: 8px;
    padding: 0.80%;
    position: fixed;
    z-index: 1;
    right: 0;
    top: 20%;
    font-size: small;
    opacity: 0;
    transition: opacity 0.5s ease, bottom 0.5s ease;
}

/* Common show class */
#toast.show {
    visibility: visible;
    opacity: 1;
}

/* Success style */
#toast.success {
    background-color: #4caf50;
    color: #fff;
}

/* Error style */
#toast.error {
    background-color: #f44336;
    color: #fff;
}

.t-btn {
    position: flex;
    background: #eef1ff;
    border: .05px #555;
    padding: 6px 15px 6px 15px;
    border-radius: 35px;
    cursor: pointer;
    font-size: small;
    min-width: 40px;
    /* reduce or increase this as needed */
    font-weight: 400;
    border-radius: 35px;
    color: #6c757d;
}

/* Section wrapper */
.scene-dashboard {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.header-left {
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-size: medium;
    font-weight: 500;
    color: #283e4a;
    line-height: 1.2;
    /* reduce vertical space between lines */
    margin-left: 1% 0 0 0;
}

.m-r-3 {
    margin-right: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination button {
    border: none;
    background: transparent;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    color: #e1e1e1;
}

.pagination button:hover {
    color: #dc3545;
}

/* Main content grid */
.dashboard-content {
    display: flex;
    gap: 20px;
}

.overview-details {
    flex: 2;
    background: #fff;
    padding: 0 20px 20px 20px;
    border-radius: 10px;
    /* border: 1px solid #eee; */
}

.overview-details h3 {
    margin-bottom: 12px;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-size: medium;
    font-weight: 500;
    color: #283e4a;
    line-height: 1.2;
    /* reduce vertical space between lines */
}

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

.detail-item {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    /* border-radius: 8px; */
}

.detail-item p {
    display: block;
    margin-bottom: 5px;
    font-size: small;
    color: #444;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.detail-item span {
    display: block;
    font-size: medium;
    color: #2e2d2d;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.status-planned {
    background: #3498db;
}

.status-progress {
    background: #e67e22;
}

.status-completed {
    background: #2ecc71;
}

/* Sidebar (Characters + Previz) */
.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.d-card {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}

.d-card h4 {
    margin: 0 0 10px;
    font-size: medium;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.upload-btn {
    background: #3498db;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

.file-item:hover {
    background: #f0f0f0;
}

.p-n {
    color: #0000006b;
    border: 2px #0000;
}

.sidebar-p {
    color: #000;
    font-size: small;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 300;
}

/* model video player */

.d-card-2 {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    margin: 20px;
    max-width: 400px;
}

.d-card-2 h3 {
    margin: 0 0 15px;
    font-size: 18px;
    font-family: "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload-btn {
    background: #3498db;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.file-item:hover {
    background-color: #f5f5f5;
}

.file-item i {
    margin-right: 10px;
    color: #3498db;
}

/* Modal Styles */
.vdo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-in-out;
}

.vdo-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 0.3s ease-in-out;
}

.vdo-modal-header {
    background: #3498db;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vdo-modal-header h4 {
    margin: 0;
    font-family: "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.vdo-modal-body {
    padding: 0;
}

.vdo-modal video {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .vdo-modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* 
         */
/*  */
/*  */

/* Main Content */
.ov-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Overview Cards */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 1rem;
}

.card-content h3 {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.card-change {
    font-size: 0.875rem;
}

.card-change.positive {
    color: #059669;
}

.card-change.neutral {
    color: #d97706;
}

/* Tabs */
.ov-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.ov-tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.ov-tab-btn:hover {
    color: #059669;
}

.ov-tab-btn.active {
    color: #059669;
    border-bottom-color: #059669;
    font-weight: 600;
}

.ov-tab-pane {
    display: none;
}

.ov-tab-pane.active {
    display: block;
}

/* Table */
.ov-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ov-table-header h2 {
    font-size: 1.5rem;
    color: #1e293b;
}

.ov-table-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input,
.select-input {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    min-width: 200px;
}

.search-input:focus,
.select-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #059669;
    color: #fff;
}

.btn-primary:hover {
    background-color: #047857;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.table-container {
    background: #fff;
    border-radius: 12px;
    /* softer card, CRM-like */
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    border: 1px solid #e2e8f0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: #f6f7fb;
    /* crisper header similar to CRM */
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.data-table td {
    padding: 0.875rem 1rem;
    /* updated padding */
    vertical-align: top;
}

.data-table tbody tr {
    background-color: #fff;
    /* updated background color */
    border-bottom: 1px solid #eef2f7;
    /* updated border color */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

tbody tr {
    background-color: #fff;
    /* updated background color */
    border-bottom: 1px solid #eef2f7;
    /* updated border color */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.data-table tbody tr:nth-child(even) {
    background-color: #fbfdff;
    /* updated background color for even rows */
}

.data-table tbody tr:hover {
    background-color: #f7fafc;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    /* ensures hover stays above */
    position: relative;
}

tbody tr:hover {
    background-color: #f7fafc;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    /* ensures hover stays above */
    position: relative;
}

.data-table td strong {
    font-weight: 600;
    color: #111827;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.completed {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.in-progress {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.planned {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-badge.confirmed {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.available {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.booked {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Detail View */
.detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    padding: 0;
    /* header will handle its own padding */
}

.detail-card .detail-header {
    margin: 0;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #eef2f7;
}

.detail-icon {
    font-size: 1rem;
    margin-right: 8px;
}

.detail-card .detail-content {
    padding: 20px;
}

/* Inside the card, make inner panels seamless */
.detail-card .detail-main,
.detail-card .sidebar-section {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Slightly tighter overview spacing for CRM feel */
.detail-main h2 {
    margin-bottom: 1rem;
}

.form-row {
    gap: 1.5rem;
}

.form-value {
    color: #1e293b;
    font-size: 1rem;
    min-height: 1.5rem;
    border-bottom: 1px solid #e9edf3;
    /* updated border */
    padding-bottom: 4px;
    /* updated padding */
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom-color: #eef2f7;
    /* updated border color */
}

.back-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #059669;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.back-btn:hover {
    background-color: #f0fdf4;
}

.detail-title h1 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-weight: 600;
    /* updated font weight */
}

.detail-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.pager-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.pager-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.pager-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: #f1f5f9;
}

.pager-counter {
    min-width: 64px;
    text-align: center;
}

.detail-actions {
    display: flex;
    gap: 0.5rem;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.detail-main,
.sidebar-section {
    background: #fff;
    border-radius: 12px;
    /* updated border radius */
    padding: 2rem;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    /* updated box shadow */
    border: 1px solid #e2e8f0;
}

.detail-main h2 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.detail-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #475569;
    /* updated color */
    font-size: 0.875rem;
}

.form-value {
    color: #1e293b;
    font-size: 1rem;
    min-height: 1.5rem;
    border-bottom: 1px solid #eaeef5;
    /* updated border */
    padding-bottom: 6px;
    /* updated padding */
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: #fff;
    border-radius: 12px;
    /* updated border radius */
    padding: 1.5rem;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    /* updated box shadow */
    border: 1px solid #e2e8f0;
}

.sidebar-section h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.characters-list {
    color: #64748b;
    background-color: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.upload-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.previz-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    color: #64748b;
}

.file-icon {
    font-size: 1.25rem;
}

/* Schedule */
.schedule-container {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-date {
    font-weight: 600;
    color: #059669;
    min-width: 100px;
}

.schedule-time {
    color: #64748b;
    min-width: 80px;
}

.schedule-details {
    flex: 1;
}

.schedule-title {
    font-weight: 500;
    color: #1e293b;
}

.schedule-location {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .nav {
        display: none;
    }

    .main-content {
        padding: 1rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

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

    .detail-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.hidden {
    display: none !important;
}

.OnlyBottomLine {
    border: 0;
    border-bottom: 1px solid #eaeef5;
}

.allinputfields {
    border: 0;
    border-bottom: 1px solid #aaa;
    background-color: transparent;
    border-radius: 0;
}

/* header-left */
.header-left {
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-size: medium;
    font-weight: 500;
    color: #283e4a;
    line-height: 1.2;
    /* reduce vertical space between lines */
    margin-left: 1% 0 0 0;
}

.scene-header {
    font-weight: 600;
    /* makes it bolder */
    font-size: 20px;
    /* increases size */
    text-transform: capitalize;
    /* makes 'overview' start with capital O */
    padding-left: 10px;
}

.m-r-3 {
    margin-right: 5px;
}

/* Detail View */
.detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    padding: 0;
    /* header will handle its own padding */
}

.detail-card .detail-header {
    margin: 0;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #eef2f7;
}

.detail-icon {
    font-size: 1rem;
    margin-right: 8px;
}

.detail-card .detail-content {
    padding: 20px;
}

/* Inside the card, make inner panels seamless */
.detail-card .detail-main,
.detail-card .sidebar-section {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Slightly tighter overview spacing for CRM feel */
.detail-main h2 {
    margin-bottom: 1rem;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-size: small;
    font-weight: 300;
    color: #283e4a;
    line-height: 1;
}

.form-value {
    color: #1e293b;
    font-size: 1rem;
    min-height: 1.5rem;
    border-bottom: 1px solid #e9edf3;
    /* updated border */
    padding-bottom: 4px;
    /* updated padding */
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom-color: #eef2f7;
    /* updated border color */
}

.back-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #059669;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.back-btn:hover {
    background-color: #f0fdf4;
}

.detail-title h1 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-weight: 600;
    /* updated font weight */
}

.detail-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 0.875rem;
}

.pager-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid rgba(226, 232, 240, 0);
    background: #fff;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    cursor: pointer;
}

.pager-btn:hover {
    color: #dc3545;
}

.pager-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: #f1f5f9;
}

.pager-counter {
    min-width: 64px;
    text-align: center;
}

.detail-actions {
    display: flex;
    gap: 0.5rem;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.detail-main,
.sidebar-section {
    background: #fff;
    border-radius: 12px;
    /* updated border radius */
    padding: 2rem;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    /* updated box shadow */
    border: 1px solid #e2e8f0;
}

.detail-main h2 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.detail-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group label {
    font-weight: 300;
    color: rgba(71, 85, 105, 0.87);
    /* updated color */
    font-size: small;
}

.form-value {
    color: #1e293b;
    font-size: small;
    min-height: 1.5rem;
    border-bottom: 1px solid #eaeef5;
    /* updated border */
    padding-bottom: 6px;
    /* updated padding */
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: transparent;
    border-radius: 10px;
    /* updated border radius */
    padding: 1.5rem;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
    /* updated box shadow */
    border: 1px solid #e2e8f0;
}

.sidebar-section h3 {
    margin-bottom: 1rem;
    font-family: "-apple-system", " BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif;
    font-size: small;
    font-weight: 500;
    color: #283e4a;
    line-height: 1;
}

.characters-list {
    color: #64748b;
    background-color: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.upload-btn {
    width: 100%;
    margin-bottom: 1rem;
    background-color: rgba(8, 145, 49, 0.73);
    color: #fff;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.previz-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    color: #64748b;
}

.file-icon {
    font-size: 1.25rem;
}

/* Schedule */
.schedule-container {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-date {
    font-weight: 600;
    color: #059669;
    min-width: 100px;
}

.schedule-time {
    color: #64748b;
    min-width: 80px;
}

.schedule-details {
    flex: 1;
}

.schedule-title {
    font-weight: 500;
    color: #1e293b;
}

.schedule-location {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .nav {
        display: none;
    }

    .main-content {
        padding: 1rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

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

    .detail-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.hidden {
    display: none !important;
}

.menu01a-item {
    display: inline-block;
    transition: transform 0.5s ease, filter 0.2s ease;
    font-size: 30px;
}

.menu01a-item:hover {
    transform: scale(1.5);
    /* scale up by 20% */
    filter: brightness(1.2);
    /* optional: make it slightly brighter */
}

.menu-hider {
    display: none;
    /* hidden by default */
}

.gap-5 {
    gap: 5px;
}

.padding-r-l-t {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
}

/* Top-level menu */
.c-menu {
    list-style: none;
    margin: 0;
    padding: 10px 40px;
    display: flex;
    /* horizontal layout */
    justify-content: center;
    /* center like Jesper */
    gap: 40px;
    /* spacing between items */
    background: #f8f8fb;
    /* beige background like Jesper */
    font-family: 'Big Shoulders Display', sans-serif;
}

/* Top-level menu links */
.c-menu>li>a {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

/* Add dot separator after each item */
.c-menu>li>a::after {
    content: "•";
    margin-left: 12px;
    font-size: 14px;
    color: #222;
}

/* Remove dot for last item */
.c-menu>li:last-child>a::after {
    content: "";
}

/* Hover effect (keep minimal like Jesper) */
.c-menu>li>a:hover {
    color: #000;
    transform: none;
    background: transparent;
}

.c-menu>li {
    position: relative;
}

.m-w-30 {
    min-width: 30px;
}

.m-w-25 {
    min-width: 20%;
}

.m-w-20 {
    min-width: 20px;
}

.m-w-15 {
    min-width: 1%;
}

.m-w-4 {
    min-width: 4%;
}

/* Dropdown arrow */
.c-dropdown-icon {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.4s;
}

.c-dropdown-icon:hover {
    color: #dc3545;
}

/* Dropdown arrow */
.c-dropdown-icon-1 {
    font-size: 12px;
    transition: transform 0.3s;
}

.m-l-60 {
    margin-left: 60%;
}

.m-l-70 {
    margin-left: 70%;
}

.c-dropdown-icon-1:hover {
    color: #dc3545;
}

/* Submenu style */
.c-submenu {
    display: none;
    position: absolute;
    top: 100%;
    /* dropdown below parent */
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f8fb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    min-width: 200px;
    z-index: 100;
    color: #6b7280;
}

.c-submenu li a {
    display: flex;
    align-items: center;
    /* vertically center icon + text */
    gap: 8px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    background-color: #f8f8fb;
    color: inherit;
    white-space: nowrap;
    font-weight: 500;
    font-size: 15px;
}

.c-submenu li a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    border-radius: 5px;
}

.c-submenu li i {
    margin-left: 0;
    margin-right: 10%;
    /* remove default margin */
    width: 16px;
    /* optional: fixed width for perfect alignment */
    text-align: center;
    color: #6b7280;
    /* Default gray color for icons */
}

.c-submenu li i:hover {
    color: #dc3545;
}

/* Show submenu on hover */
.has-children:hover>.c-submenu {
    display: block;
}

/* Rotate ▼ arrow when dropdown is open */
.has-children:hover>a>.c-dropdown-icon {
    transform: rotate(180deg);
}

/* Rotate ▼ arrow when dropdown is open */
.has-children:hover>a>.c-dropdown-icon-1 {
    transform: rotate(90deg);
}

/* ===== Nested submenu (second level) ===== */
.c-submenu .has-children {
    position: relative;
}

.c-submenu .c-submenu {
    top: 0;
    left: 100%;
    /* open to right side */
    border-left: 1px solid #ddd;
}

/* Rotate ▶ arrow when nested menu is open */
.c-submenu .has-children:hover>a>.c-dropdown-icon {
    transform: rotate(360deg);
}

.layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tab-details {
    flex: 2;
    margin: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-row-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.form-row-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.form-row-1-1-1-1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.form-row-1-1-1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.form-row-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.form-row-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.selectno-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* background: none;
  border: 1px solid #ccc;
  padding-right: 10px;
  background-image: none; */
}

.card-view-taskdata {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.width-100 {
    width: 100%;
}

/* Modal overlay (background dim) */
.t8modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: none
}

/* Common modal style */
.t8modal-content {
    background: #fff;
    border: none;
    border-radius: 10px;
    margin: 10% auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

/* Size variants */
.t8modal-small {
    width: 300px;
}

.t8modal-medium {
    width: 600px;
}

.t8modal-large {
    width: 900px;
}

/* Header */
.t8modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #28a745;
    color: #fff;
    padding: 10px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.t8modal-header h2 {
    margin: 0;
    font-size: 18px;
}

/* Close button (X) */
.t8close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

.t8close-btn:hover {
    color: #ddd;
}

/* Modal body */
.t8modal-body {
    padding: 20px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.content {
    padding: 20px 24px 28px;
}

.section {
    display: block;
    unicode-bidi: isolate;
}

.summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.cardnew {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    background: #fff;
    height: 100px;
    width: 100%;
}

.cardnew h4 {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.cardnew .value {
    font-size: 18px;
    font-weight: 800;
}