﻿:root {
    --primary: #4318FF;
    --secondary: #6AD2FF;
    --success: #05CD99;
    --danger: #EE5D50;
    --warning: #FFB547;
    --dark-navy: #1B2559;
    --bg-body: #F4F7FE;
    --glass: rgba(255, 255, 255, 0.9);
    --card-shadow: 14px 17px 40px 4px rgba(112, 144, 176, 0.08);
    --border-sidebar: #E0E5F2;
}


/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 99;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-sidebar);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.mobile-logo {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-navy);
}

    .mobile-logo span {
        color: var(--primary);
    }

.menu-toggle-btn {
    background: var(--bg-body);
    border: 1px solid var(--border-sidebar);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .menu-toggle-btn:hover {
        background: var(--primary);
        color: white;
    }

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(27, 37, 89, 0.3);
    backdrop-filter: blur(4px);
    z-index: 100;
}
    
/* Sidebar Styles */
.sidebar {
    width: 260px;
    height: 100vh;
    background-color: #FFFFFF;
    border-right: 1px solid var(--border-sidebar);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-left: 4px;
}

    .brand-logo svg {
        color: var(--primary);
    }

.brand-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-navy);
}

    .brand-text span {
        color: var(--primary);
    }

/* Navigation Menu */
.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.menu-item, .dropdown-toggle {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 14px;
    color: #A3AED0;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item svg, .dropdown-toggle svg {
    color: #A3AED0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
 .dropdown-toggle:hover, .menu-item.active {
    background-color: #F4F7FE;
    color: var(--primary);
}

    .menu-item:hover svg, .dropdown-toggle:hover svg, .menu-item.active svg {
        color: var(--primary);
    }

.badge-new {
    background: #E6FAF5;
    color: var(--success);
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid #D1F5EA;
}

/* Submenu */
.submenu {
    list-style: none;
    padding-left: 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-li.active .submenu {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in;
    margin-top: 4px;
    margin-bottom: 4px;
}

.submenu-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #A3AED0;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .submenu-item:hover {
        background-color: #F4F7FE;
        color: var(--primary);
    }

    .submenu-item svg {
        color: #A3AED0;
    }

    .submenu-item:hover svg {
        color: var(--primary);
    }

.dropdown-icon {
    transition: transform 0.3s ease;
}

.menu-li.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Sidebar Footer */
.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-sidebar);
    margin-top: auto;
}

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 4px;
}

.avatar-mini {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #F4F7FE;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    border: 1px solid var(--border-sidebar);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 2px;
}

.user-id {
    font-size: 9px;
    color: #A3AED0;
    font-weight: 700;
}

/* Top Cards & Stats Styles */
.top-stats-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 0 0 15px 0;
}

.stat-card-mini {
    position: relative;
    border-radius: 20px;
    padding: 18px;
    color: white;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
}

.card-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.card-amount {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.btn-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}

.action-link {
    font-size: 9px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    backdrop-filter: blur(4px);
}

    .action-link:hover {
        background: rgba(255, 255, 255, 1);
        color: #1B2559 !important;
    }

.icon-glass {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grad-blue {
    background: linear-gradient(135deg, #4318FF 0%, #2A08C7 100%);
}

.grad-green {
    background: linear-gradient(135deg, #05CD99 0%, #038A67 100%);
}

.grad-orange {
    background: linear-gradient(135deg, #FFB547 0%, #E68500 100%);
}

.grad-purple {
    background: linear-gradient(135deg, #BA52FF 0%, #7E15C7 100%);
}

.team-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 0 15px 0;
    margin-top: 20px;
}

.stat-box-compact {
    background: #ffffff;
    border-radius: 18px;
    padding: 15px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

    .stat-header svg {
        color: #4318FF;
        background: rgba(67, 24, 255, 0.08);
        padding: 6px;
        border-radius: 10px;
    }

.stat-title {
    font-size: 10px;
    font-weight: 700;
    color: #a3aed0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-main-val {
    font-size: 26px;
    font-weight: 800;
    color: #1b2559;
    margin: 2px 0 8px 0;
}

.mini-badge-group {
    display: flex;
    justify-content: space-between;
    background: #f4f7fe;
    border-radius: 10px;
    padding: 6px 10px;
    gap: 5px;
}

.mini-badge {
    display: flex;
    flex-direction: column;
}

    .mini-badge span {
        font-size: 8px;
        font-weight: 700;
        color: #a3aed0;
    }

    .mini-badge b {
        font-size: 12px;
        font-weight: 800;
    }

.text-active {
    color: #05cd99;
}

.text-inactive {
    color: #ee5d50;
}






.ft-card-node {
    background-color: #39393969;
    padding: 10px 18px 18px 18px;
    border-radius: 10px;
    border: 1px solid #363636;

}

.ft-main-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ft-desc-text {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

/* Action Buttons Styling */
.ft-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.ft-btn-primary {
    background-color: #5046e5;
    color: #ffffff;
}

    .ft-btn-primary:hover {
        background-color: #4338ca;
    }

.ft-btn-success {
    background-color: #10b981;
    color: #ffffff;
}

    .ft-btn-success:hover {
        background-color: #059669;
    }

.ft-btn-secondary {
    background: radial-gradient(ellipse farthest-corner at right bottom, #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #fff, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5% 100%);
    color: #000 !important;
    text-align: center;
    border-radius: 5px;
    font-weight: 600 !important;
    border: none;
    padding: 7px 10px;
}



.ft-btn-danger {
    background: radial-gradient(ellipse farthest-corner at right bottom, #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #fff, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5% 100%);
    color: #000 !important;
    text-align: center;
    border-radius: 5px;
    font-weight: 600 !important;
    border: none;
    padding: 7px 10px;
}

 

/* Form Controls Styling matching your Profile Inputs */
.ft-field-group {
    margin-bottom: 16px;
}

.ft-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.ft-form-input {
    width: 100%;
    padding: 10px 14px;
    background-color: #171717;
    border: 1px solid #363636;
    border-radius: 8px;
    font-size: 14px;
    color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

    .ft-form-input:focus {
        border: 1px solid #e6bc52 !important;
        background-color: #000000;
        outline: none;
    }

/* Datatable Structure Fixes */
.ft-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.ft-table-header {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #e2e8f0;
}

    .ft-table-header th {
        padding: 12px 16px;
    }

.ft-data-row {
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    transition: background 0.15s;
    cursor: pointer;
}

    .ft-data-row:hover {
        background-color: #f8fafc0a;
    }

    .ft-data-row td {
        padding: 14px 16px;
        vertical-align: middle;
    }

/* Status Badges */
.ft-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.ft-status-open {
    background-color: #fef3c7;
    color: #d97706;
}

.ft-status-resolved {
    background-color: #dcfce7;
    color: #15803d;
}

/* Conversation Thread Box */
.ft-chat-stream {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 2px;
}



.ft-bubble-admin {
    background-color: #f1f5f9;
    color: #0f172a;
    border-radius: 12px 12px 12px 0;
    padding: 12px;
    display: inline-block;
    max-width: 100%;
}

/* Screenshot Upload Preview Holder */
.ft-preview-holder {
    display: inline-block;
    position: relative;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px;
    background: #f8fafc;
    margin-top: 8px;
}

    .ft-preview-holder img {
        max-height: 100px;
        border-radius: 6px;
        display: block;
        object-fit: contain;
    }

.ft-remove-preview-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f4b64f;
    color: black;
    border-radius: 50%;
    border: none;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
}


/* Base Bar (White Curved Base) */
.footer-base {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(112, 144, 176, 0.15);
    border: 1px solid rgba(224, 229, 242, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

/* Navigation Items Container */
.footer-nav-links {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.footer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #A3AED0;
    font-size: 10px;
    font-weight: 800;
    width: 60px;
    height: 60px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

    .footer-menu-item.active {
        color: #1B2559; /* Sophisticated darker tone */
    }

    .footer-menu-item i,
    .footer-menu-item svg {
        width: 20px;
        height: 20px;
        transition: all 0.3s ease;
    }

/* Center Floating Circle Mechanism */
.floating-circle-wrapper {
    position: absolute;
    bottom: 25px; /* Base ke upper adjust karein */
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    z-index: 100;
}

.floating-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #4318FF; /* Main premium blue/purple */
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(67, 24, 255, 0.25);
    border: 5px solid #FFFFFF; /* Base ke sath seamless blend ke liye */
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

    .floating-circle:hover {
        transform: scale(1.05);
        box-shadow: 0 14px 28px rgba(67, 24, 255, 0.35);
    }

    .floating-circle i,
    .floating-circle svg {
        width: 24px;
        height: 24px;
        color: #FFFFFF;
    }



.ft-desc-text {
    font-size: 13px;
    color: #ffffff;
    margin-top: 2px;
}

/* Action Buttons Styling */
.ft-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.ft-btn-primary, .ft-btn-success {
    background: radial-gradient(ellipse farthest-corner at right bottom, #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #fff, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5% 100%);
    color: #000 !important;
    text-align: center;
    border-radius: 5px;
    font-weight: 600 !important;
    border: none;
    padding: 7px 10px;
}





/* Form Controls Styling matching your Profile Inputs */
.ft-field-group {
    margin-bottom: 16px;
}



/* Datatable Structure Fixes */
.ft-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.ft-table-header {
       background: #39393969;
    /* padding: 14px; */
    border-radius: 10px;
    border: 1px solid #363636;
    margin-inline: 12px;
    color:white;
}

    .ft-table-header th {
        padding: 12px 16px;
    }

.ft-data-row {
    background: #39393969;
    /* padding: 14px; */
    border-radius: 10px;
    border: 1px solid #363636;
    margin-inline: 12px;
    color: white;
    cursor: pointer;
}

   
    .ft-data-row td {
        padding: 14px 16px;
        vertical-align: middle;
    }

/* Status Badges */
.ft-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.ft-status-open {
    background-color: #fef3c7;
    color: #d97706;
}

.ft-status-resolved {
    background-color: #dcfce7;
    color: #15803d;
}

/* Conversation Thread Box */
.ft-chat-stream {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 2px;
}

.ft-bubble-user {
    background-color: #000000;
    color: #ffffff;
    border-radius: 12px 12px 0 12px;
    padding: 12px;
    display: inline-block;
    max-width: 100%;
}

.ft-bubble-admin {
    background-color: #000000;
    color: #ffffff;
    border-radius: 12px 12px 12px 0;
    padding: 12px;
    display: inline-block;
    max-width: 100%;
}

/* Screenshot Upload Preview Holder */
.ft-preview-holder {
    display: inline-block;
    position: relative;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px;
    background: #f8fafc;
    margin-top: 8px;
}

    .ft-preview-holder img {
        max-height: 100px;
        border-radius: 6px;
        display: block;
        object-fit: contain;
    }
