:root {
    --clr-primary: #1e40af;
    --clr-success: #1e40af;
    --clr-danger: #b91c1c;
    --clr-muted: #6b7280;
    --clr-bg: #f3f4f6;
    --clr-card-bg: #ffffff;
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius-card: 8px;
    --transition-default: all 0.2s ease-in-out;
}
.aside.aside-light {
    background-color: #FFFFFF;
}
.menu-title-gray-800 .menu-item .menu-link .menu-title {
    color: #000000;
}
.header-fixed .header{
    background-color: #FFFFFF;
}
.svg-color {
    line-height: 1;
    color: #283943;
}
.menu-title-white .menu-item .menu-link .menu-title {
    color: #283943;
    font-size:15px;
}
.icon-style{
    color:#283943;
    font-size:20px
}
.logo-color {
    color: #00a693;
}
.header-fixed .header {
    background-color: #ffffff;
    border-bottom: 1px dashed #c6c6c6;
}
body {
    background-color: #fcfcfc;
}
.card {
    /*border: 1px solid #55555540;*/
    border: 1px solid #d5d5d540;
}
.text-black-400 {
    color: #000000!important;
}
.text-black-600 {
    color: #000000!important;
}
#timer {
    text-align: center;
    font-size: 20px;
    margin-top: 0px;
    color: #00a693;
}
/*.select2-container--bootstrap5 .select2-selection--single.form-select-solid .select2-selection__placeholder .place{*/
/*    color: #000000*/
/*}*/
.btn-darkblue {
    color: #fff;
    background-color: #009ef7
}
.tox-tinymce {
    border: 1px solid #e4e6ef !important;
}
.form-select{
    color: #000000 !important;
}
/*.card {*/
/*    border: 1px solid rgba(227, 227, 227, 0.94);*/
/*}*/
.image-input .image-input-wrapper {
    border: 1px solid #d8d8d8;
}
/*.form-control.form-control-solid {*/
/*    background-color: #F1F5F9;*/
/*    border-color: #d8d8d8;*/
/*}*/
/*.form-control.form-control-solid:focus {*/
/*    border-color: #0984e3;*/
/*    background-color: white;*/
/*}*/
a {
    color: black;
}
.modal-header {
    padding: 0.75rem 0.75rem;
}
.aside.aside-light {
    /*background: linear-gradient(to right,#004EC7,#0098E7);*/
    background-color: #ffffff;
}
.aside{
    border-right: 1px dashed #c6c6c6;
}
.menu-link{
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000; /* Change the text color to your desired color */
    background-color: transparent; /* Set the initial background color */
    border-radius: 0; /* Set the initial border radius */
    transition: background-color 0.3s, border-radius 0.3s; /* Add a smooth transition effect */
    margin-right: 10px;
    margin-left: 10px;
}
.menu-link.active {
    background: var(--clr-success); /* Change the background color on hover */
    border-radius: 5px; /* Add a border radius on hover */
    margin-right: 10px;
    margin-left: 10px;
    color: #fff !important;
}.menu-state-title-primary .menu-item.show > .menu-link .menu-title {
    color: var(--clr-success) !important; /* Change the background color on hover */
}
.menu-state-icon-primary .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-icon, .menu-state-icon-primary .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon, .menu-state-icon-primary .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-icon i, .menu-state-icon-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon, .menu-state-icon-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon, .menu-state-icon-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon i {
    color: var(--clr-success) !important; /* Change the background color on hover */
}
.menu-link:not(.active):hover {
    background: #b3c0f0; /* Change the background color on hover */
    border-radius: 5px; /* Add a border radius on hover */
    margin-right: 10px;
    margin-left: 10px;
    color: white !important;
}
.menu-link:hover .menu-title {
    color: #283943 !important; /* Change the color to white on hover */
}
.menu-link.active .menu-title{
    color: #ffffff !important;
}
.menu-state-icon-primary .menu-item .menu-link.active .menu-icon, .menu-state-icon-primary .menu-item .menu-link.active .menu-icon .svg-icon, .menu-state-icon-primary .menu-item .menu-link.active .menu-icon i {
    color: #FFFFFF;
}
.nav-sm{
    color:black !important;
}
.menu-active-bg .menu-item .menu-link.active {
    transition: color .2s ease,background-color .2s ease;
    background-color: rgb(245 248 250 / 0%);
}
/*.btn.btn-success{*/
/*    background-color:#0098E7;*/
/*}*/
/*.btn.btn-success:hover:not(.btn-active), .show > .btn.btn-success {*/
/*    color: #fff;*/
/*    border-color: #016ad0;*/
/*    background-color: #016ad0 !important;*/
/*}*/
.text-blue{
    color:#0098E7 !important;
}
.blue-gradient-bg{
    background: linear-gradient(to right,#004EC7,#0098E7);
}
.noUi-target .noUi-connect {
    background: #00c020;
}
.ellipsis {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
}
.long-text{
    width: 70ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding: 10px 15px !important;
}
.me-md-6 {
    margin-right: 0px!important
}
.g-xl-10, .gx-xl-10 {
    --bs-gutter-x: 1.5rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: #181c32;
}
.form-label {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: #000000;
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000 !important;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dadada;
    /*border: 1px solid #ebedf0;*/
    appearance: none;
    border-radius: 0.475rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.select2-container--bootstrap5 .select2-selection--single .select2-selection__placeholder {
    color: #000000;
    font-weight: 400 !important;
}
.btn.btn-dark {
    color: #fff;
    border-color: #283943;
    background-color: #283943;
}
.stepper.stepper-pills .stepper-item.current .stepper-label .stepper-title {
    color: #009ef7;
}
.stepper.stepper-pills .stepper-item.current .stepper-label .stepper-desc {
    color: #8b8b8b;
}
.stepper.stepper-pills .stepper-item.completed .stepper-label .stepper-title {
    color: #000000;
}
.stepper.stepper-pills .stepper-item.completed .stepper-label .stepper-desc {
    color: #8b8b8b;
}
.stepper.stepper-pills .stepper-item .stepper-label .stepper-desc {
    color: #8b8b8b;
}
.stepper.stepper-pills .stepper-item .stepper-label .stepper-title {
    font-weight: 500;
}
.text-muted {
    color: #8b8b8b !important;
}
/*.btn.btn-outline.btn-outline-dashed.btn-outline-default {*/
/*    color: #000000 !important;*/
/*}*/
.card .card-header {
    min-height: 50px;
    padding: 0 2.25rem;
}
.card .card-footer {
    padding: 1rem 1rem;
}
.modal-footer {
    padding: 0.2rem !important;
}
.modal-header {
    padding: 0.5rem 0.75rem !important;
}
.card .card-body {
    padding: 1rem 1rem;
}
@media (min-width: 992px){
    .content {
        padding: 6px 0;
    }
}
body {
    color: #000000;
    font-family: Onest, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 170%;
}
@media (max-width: 992px) {
    div:hover, main:hover, ol:hover, pre:hover, span:hover, ul:hover {
        scrollbar-color: #aab4bd #ffffff;
    }
    div, main, ol, pre, span, ul {
        scrollbar-width: thin;
        scrollbar-color: #aab4bd #ffffff;
    }
}
.card-service {
    background: var(--clr-card-bg);
    border-radius: var(--radius-card);
    border: 1px solid #e2d9d9;
    transition: var(--transition-default);
    overflow: hidden;
}
.card-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.card-service-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
}
.badge-status-running {
    background: var(--clr-success);
    color: white
}
.badge-status-running i {
    color: white;
}
.badge-status-exited {
    background: #fee2e2;
    color: var(--clr-danger);
}
.badge-status-exited i {
    color: var(--clr-danger);
}
.badge-status-other {
    background: var(--clr-success);
    color:white; /* Almost black – clean and crisp */
}
.badge-status-other i {
    color: white;
}
.card-service-body {
    padding: 1.5rem;
}
.info-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.875rem;
}
.info-service-label {
    color: var(--clr-muted);
    font-weight: 500;
}
.info-service-value {
    color: #111827;
    font-weight: 500;
}
.card-service-footer {
    padding: 1rem 1.5rem;
    background: #fafafa;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.btn-custom:hover {
    transform: translateY(-1px);
}
.btn-custom-outline {
    background: transparent;
    border: 1px solid #ded9d9;
    color: #111827;
}
.btn-custom-outline:hover {
    background: #f3f4f6;
}
.no-services-container {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    padding: 2rem;
    background: var(--clr-card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.no-services-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}
.no-services-text {
    font-size: 1rem;
    color: var(--clr-muted);
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .header-dashboard {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-service-footer {
        flex-direction: column;
    }
    .btn-custom {
        width: 100%;
        justify-content: center;
    }
    .info-service {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .header-dashboard {
        padding: 1rem;
    }
    .card-service-header, .card-service-body, .card-service-footer {
        padding: 1rem;
    }
}
.btn-stop-all-services {
    border: 1px solid #d0c0c0 !important;
    color: #d78088;
    background-color: transparent;
}
.btn-stop-all-services i {
    color: #d78088;
}
.stop-button {
    background-color: #ffffff;
    color: #d78088;
    border: 1px solid #d78088;
    border-radius: 8px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
    outline: none;
    outline-offset: 2px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
}
.stop-icon {
    font-size: 18px;
    color: #e8949c;
}
.server-start-btn {
    background-color: #ffffff;
    color: var(--cr-success);;
    border: 1.7px solid rgb(80, 109, 255);
    border-radius: 8px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px #b7bee8;
    outline: none;
    outline-offset: 2px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
}
.start-icon {
    font-size: 18px;
    color: var(--clr-success);
}.server-start-btn-custom{
    float:right;
}.logout-btn {
    border: 1px solid #cdc6c6 !important;
}.logout-icon{
    color:black ;
}.app_btns{
    color: var(--clr-success);
    border: 1.7px solid rgb(80, 109, 255) !important;
    box-shadow: 0 4px 12px #b7bee8 !important;
    margin-left: 82%;
}
.nav-tabs-config {
    border: none;
    background: var(--clr-success);
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    list-style: none;
}

.nav-tabs-config .nav-item {
    margin: 0;
}

.nav-tabs-config .nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: block;
}

.nav-tabs-config .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-tabs-config .nav-link.active {
    background-color: #ffffff;
    color: #000000;
    border-radius: 0.5rem;
}

/* Card Styles */
.card-config {
    border: 1px solid #d0c0c0;
    border-radius: 0.75rem;
    transition: transform 0.2s ease;
}
.card-header-config {
    background: var(--clr-success);
    color: #ffffff;
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.card-body-config {
    padding: 1.5rem;
}

/* Form Controls */
.form-control-config {
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control-config:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

.form-label-config {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 0.5rem;
}

.tab-content-config {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

/* Sub-tabs for configuration */
#configSubTabs {
    background: var(--clr-success);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Container and Layout */
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

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

.rounded-lg {
    border-radius: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-tabs-config .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .card-header-config {
        font-size: 1.1rem;
    }
}
.btn-custom {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
}

  .profile-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
  }

  /* Profile card styles */
  .profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  }

  /* Updated button style to match your description */
  .action-button {
    border: 2px solid #3b82f6; /* blue border */
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #3b82f6;
    background-color: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 200px;
  }
  .action-button:hover {
    background-color: var(--clr-success); /* blue background on hover */
    color: #fff;
  }
  .action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* Loading spinner inside button */
  .loading-spinner {
    display: none;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
  }
  .action-button.loading .loading-spinner {
    display: inline-block;
  }
  .action-button.loading span {
    display: none;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Form container styles */
  .form-field-container {
    position: relative;
    margin-bottom: 1.25rem;
  }

  /* Input styles */
  .profile-field {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2.75rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    color: #374151; /* Gray-700 */
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .profile-field:focus {
    border-color: #ef4444; /* Red-500 */
    box-shadow: 0 0 8px var(--clr-success);
    outline: none;
  }

  /* Labels for floating effect */
  .form-label {
    position: absolute;
    top: 0.65rem;
    left: 2.75rem;
    background-color: #fff;
    padding: 0 0.25rem;
    font-size: 0.85rem;
    color: #6b7280; /* Gray-500 */
    transition: all 0.2s ease;
    pointer-events: none;
  }
  /* Animate label on focus or when input has content */
  .profile-field:focus + .form-label,
  .profile-field:not(:placeholder-shown) + .form-label {
    top: -0.65rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #ef4444; /* Red-500 */
    background-color: #fff;
  }

  /* Icon styles */
  .field-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
    transition: color 0.2s;
  }

  /* Password toggle icon */
  .password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    font-size: 1rem;
    transition: color 0.2s, transform 0.2s;
  }
  .password-toggle:hover {
    color: #ef4444;
    transform: scale(1.1);
  }

  /* Heading styles */
  .section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827; /* Gray-900 */
  }
  .section-header i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
    color: #ef4444; /* Red-500 */
    animation: pulse 2s infinite;
  }

  /* Animations */
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  .profile_icon{
    color: var(--clr-success);
  }

.dropzone {
    border: 2px dashed #6c757d;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}
.dropzone.dragover {
    border-color: #007bff;
    background: #e7f1ff;
    transform: scale(1.02);
}
.dropzone i {
    font-size: 2.5rem;
    color: #6c757d;
}
.dropzone.dragover i {
    color: #007bff;
}
.file-info {
    margin-top: 15px;
    display: none;
    font-size: 0.9rem;
}
.import_sub_card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.import_subscriper_link {
    transition: all 0.3s ease;
    padding: 10px 30px;
}
.import_subscriper_link:hover {
    transform: translateY(-2px);
}
#result ul {
    list-style: none;
    padding-left: 0;
}
#result li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
#result li:last-child {
    border-bottom: none;
}.import_subscriper_link{
    background: var(--clr-success);
}
.guide_import_sub{
    background: #989ca9;
}


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

    .dash-header h1 {
        font-size: 2rem;
        font-weight: 700;
        color: #111827;
        margin-bottom: 0.5rem;
    }

    .dash-header p {
        color: #6b7280;
        font-size: 1rem;
    }

    .device-card {
        background: white;
        border-radius: 1rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .card-top {
        padding: 1.5rem;
        border-bottom: 1px solid #f3f4f6;
        background: linear-gradient(90deg, #eeeeee 0%, #ffffff 100%);
    }

    .card-top-content {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .icon-box {
        width: 2.5rem;
        height: 2.5rem;
        background: #dbeafe;
        border-radius: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-box svg {
        width: 1.25rem;
        height: 1.25rem;
        color: #2563eb;
    }

    .card-heading {
        font-size: 1.125rem;
        font-weight: 600;
        color: #111827;
        margin-bottom: 0.25rem;
    }

    .card-subtext {
        font-size: 0.875rem;
        color: #6b7280;
    }

    .card-content {
        padding: 1.5rem;
    }

    .stats-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-box {
        position: relative;
        padding: 1rem;
        border-radius: 0.5rem;
        border: 1px solid;
        transition: all 0.2s ease;
        cursor: pointer;
    }

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

    .stat-box--total {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

    .stat-box--connected {
        background: #f0fdf4;
        border-color: #bbf7d0;
    }

    .stat-box--disconnected {
        background: #fef2f2;
        border-color: #fecaca;
    }

    .stat-box--pending {
        background: #fffbeb;
        border-color: #fed7aa;
    }

    .stat-data {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-details h4 {
        font-size: 0.875rem;
        font-weight: 500;
        color: #6b7280;
        margin-bottom: 0.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .stat-box--total .stat-number { color: #2563eb; }
    .stat-box--connected .stat-number { color: #16a34a; }
    .stat-box--disconnected .stat-number { color: #dc2626; }
    .stat-box--pending .stat-number { color: #d97706; }

    .stat-symbol {
        width: 2rem;
        height: 2rem;
        border-radius: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
    }

    .stat-box:hover .stat-symbol {
        transform: scale(1.1);
    }

    .stat-box--total .stat-symbol {
        background: #dbeafe;
        color: #2563eb;
    }

    .stat-box--connected .stat-symbol {
        background: #dcfce7;
        color: #16a34a;
    }

    .stat-box--disconnected .stat-symbol {
        background: #fee2e2;
        color: #dc2626;
    }

    .stat-box--pending .stat-symbol {
        background: #fef3c7;
        color: #d97706;
    }

    .status-dot {
        position: absolute;
        bottom: 0.5rem;
        right: 0.5rem;
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        opacity: 0.6;
    }

    .stat-box--total .status-dot { background: #3b82f6; }
    .stat-box--connected .status-dot { background: #22c55e; }
    .stat-box--disconnected .status-dot { background: #ef4444; }
    .stat-box--pending .status-dot { background: #f59e0b; }

    .connect-status {
        padding: 1rem;
        background: #f9fafb;
        border-radius: 0.5rem;
    }

    .status-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .status-text {
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
    }

.status-percent {
        font-size: 0.875rem;
        color: #6b7280;
    }

.progress-container {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.5s ease;
    /* Default to green as per your request */
    background: #22c55e; /* Green color */
}

/* Optional: Conditional coloring based on percentage (using inline style or JS) */
/* This requires JavaScript to set the color dynamically based on the percentage */
[data-percentage] .progress-fill {
    background: var(--progress-color, #22c55e); /* Default green */
}

[data-percentage="100"] .progress-fill {
    --progress-color: #22c55e; /* Green for 100% */
}

[data-percentage="50"] .progress-fill {
    --progress-color: #f59e0b; /* Yellow for 50% */
}

[data-percentage="10"] .progress-fill {
    --progress-color: #dc2626; /* Red for 10% */
}
.dash-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
.activity-row {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 0.5rem;
        transition: background-color 0.2s ease;
    }

.activity-row:hover {
    background: #f9fafb;
}

.activity-marker {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.activity-marker--running { background: #22c55e; }
.activity-marker--stopped { background: #ef4444; }
.activity-marker--pending { background: #f59e0b; }

.activity-details {
    flex: 1;
}

.activity-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.activity-state {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: capitalize;
}

.activity-timestamp {
    font-size: 0.75rem;
    color: #9ca3af;
}

.action-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.action-btn:hover {
    transform: translateY(-1px);
}

.action-btn--primary {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.action-btn--primary:hover {
    background: #eff6ff;
}

.action-btn--success {
    border-color: #bbf7d0;
    color: #15803d;
}

.action-btn--success:hover {
    background: #f0fdf4;
}

.action-btn--warning {
    border-color: #fed7aa;
    color: #c2410c;
}

.action-btn--warning:hover {
    background: #fffbeb;
}

.action-heading {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.action-desc {
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dash-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-layout {
        grid-template-columns: 1fr;
    }
}
