/* Lightning Host – InterServer-style theme
   ======================================= */

/* Base layout */

body.interserver-style {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #dde3eb; /* light grey page background */
    color: #333;
}

#viewport {
    display: flex;
    min-height: 100vh;
}

/* Sidebar
   ------- */

#is-sidebar {
    width: 230px;
    background: #141a22;
    color: #f5f7fb;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

#is-main {
    flex: 1;
    margin-left: 230px;
    display: flex;
    flex-direction: column;
    background: #e7edf4;
}

/* Sidebar header (logo + user) */

.is-sidebar-header {
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.is-logo {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.is-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7b733;
    color: #141a22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 10px;
    font-size: 16px;
}

.is-logo-text {
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 12px;
    color: #ffffff;
}

.is-logo a {
    text-decoration: none;
    color: inherit;
}

.is-user {
    display: flex;
    align-items: center;
}

.is-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2d3540;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 10px;
    font-size: 14px;
}

.is-user-name {
    font-size: 13px;
    font-weight: 600;
}

.is-user-email {
    font-size: 11px;
    opacity: 0.7;
}

/* Sidebar nav */

.is-nav {
    flex: 1;
    padding: 10px 0 20px;
    overflow-y: auto;
}

.is-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.is-nav li {
    margin: 0;
}

.is-nav a {
    display: flex;
    align-items: center;
    padding: 9px 18px;
    font-size: 13px;
    color: #c5c9d4;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.is-nav a i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.is-nav li.active > a,
.is-nav a:hover {
    background: #005bbb;       /* bright blue hover/active */
    color: #ffffff;
}

.is-nav-bottom {
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* Top bar
   ------- */

#is-topbar {
    height: 52px;
    background: #2a3038;
    color: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

#is-toggle-sidebar {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    margin-right: 14px;
    cursor: pointer;
}

.is-top-left {
    display: flex;
    align-items: center;
}

/* Search bar */

.is-search {
    background: #2d333c;
    border: 1px solid #14181f;
    border-radius: 6px;
    min-height: 40px;
}

.is-search input {
    border: none;
    background: transparent;
    padding: 6px 10px;
    font-size: 13px;
    color: #ffffff;
    width: 100%;
}

.is-search input::placeholder {
    color: #7c8494;
}

.is-search button {
    border: none;
    background: #0e1218;
    padding: 0 12px;
    cursor: pointer;
    color: #ffffff;
    height: 32px;
    display: inline-flex;
    align-items: center;
}

/* Top right icons / user */

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

.is-top-icon {
    color: #c5c9d4;
    text-decoration: none;
    font-size: 16px;
    position: relative;
}

.is-top-icon:hover {
    color: #ffffff;
}

.is-top-user {
    position: relative;
    font-size: 13px;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.is-top-user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 24px;
    background: #2c333d;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 150px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.45);
    z-index: 200;
}

.is-top-user-menu li a {
    display: block;
    padding: 7px 12px;
    font-size: 13px;
    color: #e2e4ec;
    text-decoration: none;
}

.is-top-user-menu li a:hover {
    background: #181d25;
}

/* Content wrapper
   ---------------- */

#is-content {
    padding: 20px 30px;
}

/* Dashboard summary cards
   ----------------------- */

.is-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.is-summary-card {
    border-radius: 10px;
    padding: 22px 24px;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}


.is-card-yellow { background: #f7b733; }
.is-card-green  { background: #26a65b; }
.is-card-blue   { background: #0097c7; }

.is-summary-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: .06em;
}

.is-subtext {
    font-size: 12px;
    margin: 0;
}

.is-big-value {
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0 10px;
}

.is-card-btn {
    display: inline-block;
    background: rgba(0,0,0,0.18);
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    color: #ffffff;
}

/* Client ID / Call-in PIN bar */

.is-bar {
    margin-bottom: 20px;
    background: #ffffff;
    border-left: 4px solid #27ae60;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    font-size: 14px;
}

.is-bar .label {
    font-weight: 600;
    margin-right: 6px;
}

.is-bar .value {
    font-family: monospace;
    font-weight: 700;
}

/* Services grid / boxes
   --------------------- */

.is-services-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.is-service-box {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.is-service-header {
    padding: 14px 18px;
    border-bottom: 1px solid #eef1f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.is-service-header .title {
    font-size: 14px;
    font-weight: 600;
}

.is-service-header .title i {
    margin-right: 6px;
}

.is-service-header .badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #27ae60;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.is-service-body {
    padding: 18px;
    font-size: 14px;
    color: #444;
    flex: 1;
}


.is-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.is-link:hover {
    text-decoration: underline;
}

/* Breadcrumb (if you add it later) */

.is-breadcrumb {
    margin: 4px 0 12px;
}

/* Responsive tweaks
   ----------------- */

@media (max-width: 1024px) {
    .is-summary-cards,
    .is-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .is-search {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    #is-sidebar {
        position: fixed;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    #is-sidebar.is-open {
        transform: translateX(0);
    }

    #is-main {
        margin-left: 0;
    }

    .is-summary-cards,
    .is-services-grid {
        grid-template-columns: 1fr;
    }

    #is-topbar {
        padding: 0 12px;
    }

    .is-search {
        display: none; /* hide large search bar on small screens */
    }
    