:root {
    --sidebar-width: 280px;
    --main-color: #0190FD;
    --light-background: #0091ff2a;
    --dark-bg1: #1b1b1b;
    --charcoal-blue: #434A65;
    --white: #FFFFFF;
    --g-white: #f8f9fa;
    --light-blue: #39e6ff;
    --l-black: #474747;
    --black: #000000;
    --off-white: #f1f1f1;
    --light-gray: #b3b3b3;
    --btn-hover:#6c757d;
    --main-bg: #f8f8f8;
    --primary-font: "DM Sans", sans-serif;
    --box-shadow: #0190fd1c;
    --text-color-main: #2a2a2a;
    --p1: 1;
    --px0: 0;
    --px1: 1px;
    --px2: 2px;
    --px3: 3px;
    --px4: 4px;
    --px5: 5px;
    --px6: 6px;
    --px8: 8px;
    --px10: 10px;
    --px12: 12px;
    --px16: 16px;
    --px20: 20px;
    --px22: 22px;
    --px30: 30px;
    --px36:36px;
    --px42: 42px;
    --px45: 45px;
    --px60: 60px;
    --px230: 230px;
    --px80: 80px;
    --px100: 100px;
    --p100vh: 100vh;
    --percent50: 50%;
    --font-w4: 400;
    --font-w6: 600;
    --nowrap: nowrap;
    --wrap: wrap;
    --hidden: hidden;
    --visible: visible;
    --none: none;
    --block: block;
    --solid: solid;
    --flex: flex;
    --absolute: absolute;
    --relative: relative;
    --pointer: pointer;
    --center: center;
    --left: left;
    --right: right;
    --column: column;
    --row: row;
    --auto: auto;
    --uppercase: uppercase;
}
html[data-bs-theme="light"] body{
    background-color: #f8f8f8;
}
html[data-bs-theme="dark"] body{
    background-color: #181818;
}
nav.sidebar~div.main {
    margin-left: 280px;
}
nav.sidebar.collapsed~div.main {
    margin-left: 100px;
}
.main-content {
    padding: 30px 0 0;
}
.t-head-main {
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    text-transform: uppercase;
    padding: 0;
}
#projectTable .row {
    margin: 0 !important;
}
.table-header .row {
    margin: 0;
}
#projectTable .row .col-md-4, #projectTable .row .col-md-2 {
    padding: 0;
}
#projectTable .row .col-md-2 {
    text-align: center;
}
.table-header .col-md-2 {
    text-align: center;
}
.header {
    background: #ffffff;
    padding: 20px 10px;
    box-shadow: 0 1px 6px #0190fd1c;
}  
.welcome-text {
    color: #2a2a2a;
    font-size: 25px;
    margin-bottom: 5px;
}
.main-title {
    color: #0190FD;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}
.subtitle {
    color: #2a2a2a;
    font-size: 16px;
    margin-bottom: 0;
}
.search-container {
    position: relative;
    max-width: 400px;
}
.search-input {
    padding: 12px 45px 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}
.search-input:focus {
    outline: none;
    border-color: #0190FD;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
.search-icon {
    position: var(--absolute);
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}
.analyze-btn {
    background: linear-gradient(135deg, #0190FD, #0056b3);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,123,255,0.2);
    transition: all 0.3s ease;
}
.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}
.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 40px;
}
.table-header {
    background: #0091ff2a;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    color: #2a2a2a;
}
.table-row {
    padding: 20px;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}
.table-row:hover {
    background-color: #f8f9fa;
}
.table-row:last-child {
    border-bottom: none;
}
.project-name {
    color: #0190FD;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 4px;
    text-transform: capitalize;
}
.project-url {
    color: #505050;
    font-size: 14px;
}
.status-badge {
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
}
.console-logs {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 500;
}
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}
.pagination-info {
    color: #6c757d;
    font-size: 14px;
}
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.rows-per-page {
    font-size: 14px;
    color: #6c757d;
}
.rows-select {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 14px;
    margin-left: 10px;
}
.pagination-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}
.pagination-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pagination-btn:hover {
    background: #e9ecef;
}

.pagination-btn.active {
    background: #0190FD;
    color: var(--white);
    border-color: #0190FD;
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.nav-arrow {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #0190FD;
}
.nav-arrow:hover {
    background: #e9ecef;
}
.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
html[data-bs-theme="dark"] .header {
    background: #141212;
}
html[data-bs-theme="dark"] .welcome-text {
    color: #e1e1e1;
}
html[data-bs-theme="dark"] p.subtitle {
    color: #f5f5f5;
}
html[data-bs-theme="dark"] body {
    background-color: #181818;
}
html[data-bs-theme="dark"] .table-row {
    border-bottom: 1px solid rgb(58 58 58);
    background: #222222;
}
html[data-bs-theme="dark"] .project-url {
    color: rgb(205 205 205);
}
html[data-bs-theme="dark"] span.console-logs {
    color: #e7e7e7;
}
html[data-bs-theme="dark"] .table-header {
    background: #0190fd96;
    color: #fff;
}
html[data-bs-theme="dark"] .table-container {
    background: #000000;
}
html[data-bs-theme="dark"] .table-row:hover {
    background-color: rgb(48 48 48);
}
html[data-bs-theme="dark"] .pagination-container {
    background: #2c2b2b;
}
html[data-bs-theme="dark"] .search-input {
    border-color: #767676;
}
/* project dashboard */
:root {
    --primary-blue: #0190FD;
    --primary-blue-dark: #0173CC;
    --primary-blue-light: #4DB3FF;
    --primary-blue-bg: rgba(1, 144, 253, 0.1);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e9ecef;
}
[data-bs-theme="dark"] {
    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --border-color: #495057;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
body {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}
.back-btn {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}
.back-btn:hover {
    color: var(--primary-blue-dark);
    transform: translateX(-3px);
}
.dashboard-container {
    margin: 0 auto;
    padding: 2rem;
}
.dashboard-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}
.dashboard-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}
.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
}
.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.card-icon i {
    color: var(--primary-blue);
    font-size: 24px;
}
.project-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 144, 253, 0.3);
    color: white;
}
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-card {
        padding: 1.5rem;
    }
}
.row {
    margin: 0;
}
.cards-box .col-md-5 {
    padding: 0;
}
.container-fluid.previous-button {
    background: #0091ff0d;
    border: 1px solid #0190FD;
    padding: 8px;
    margin: 0 0 20px;
    width: fit-content;
    cursor: pointer;
    border-radius: 5px;
}
.container-fluid.previous-button:hover {
    background: transparent;
}

.project_results_tab {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: space-between;
}
.project-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
button.btn.trash.delete-web {
    padding: 6px 20px;
    border: none !important;
}
.project_results_tab a.url_link {
    color: #0190FD;
    text-decoration: none;
    font-weight: 600;
    font-size: 2.5rem;
}
.project_results_tab h1 {
    margin-bottom: 0;
    margin-top: 0;
}
#projectTable .table-row .row {
    cursor: pointer;
}
.dashboard-card a:visited {
    color: #fff !important;
}
.container-fluid.previous-button a.back-btn:visited {
    color: var(--primary-blue) !important;
}
[data-bs-theme="dark"] .pagination-info,
[data-bs-theme="dark"] .rows-per-page,
[data-bs-theme="dark"] .rows-select{
    color: #efefef;
}
.table-container.uptime-table  .col-md-3:nth-child(n+2){
    text-align: center;
}
.dashboard-card img.dashboard-img {
    height: 200px;
}

/* uptime overview  */
    :root {
        --primary-blue: #0190FD;
        --primary-blue-light: #4DB4FF;
        --primary-blue-dark: #0171D3;
        --success-green: #28a745;
        --danger-red: #dc3545;
        --warning-orange: #fd7e14;
    }

    /* Light Theme */
    [data-bs-theme="light"] {
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fa;
        --bg-card: #ffffff;
        --text-primary: #212529;
        --text-secondary: #6c757d;
        --border-color: #0190fd30;
        --chart-grid: #e9ecef;
    }

    /* Dark Theme */
    [data-bs-theme="dark"] {
        --bg-primary: #121212;
        --bg-secondary: #1e1e1e;
        --bg-card: #151515;
        --text-primary: #ffffff;
        --text-secondary: #b0b0b0;
        --border-color: #404040;
        --chart-grid: #404040;
    }

    body {
        background-color: var(--bg-primary);
        color: var(--text-primary);
        transition: all 0.3s ease;
    }

    .dashboard-container {
        background-color: var(--bg-secondary);
        min-height: 100vh;
        padding: 2rem;
    }

    .stat-time-card {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
    }

    .stat-time-card:hover {
        box-shadow: 0 4px 12px rgba(1, 144, 253, 0.15);
    }

    .stat-title {
        color: var(--text-secondary);
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .stat-subtitle {
        color: var(--text-secondary);
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .stat-value {
        color: var(--text-primary);
        font-size: 1.5rem;
        font-weight: 600;
    }

    .chart-container {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .chart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .chart-title {
        color: var(--text-primary);
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
    }

    .time-selector {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        padding: 0.375rem 0.75rem;
        border-radius: 6px;
        font-size: 0.875rem;
    }

    .incidents-table {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1.5rem;
    }

    .incidents-title {
        color: var(--text-primary);
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .incident-row {
        border-bottom: 1px solid var(--border-color);
    }

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

    .status-badge {
        border-radius: 20px;
        font-size: 1rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: center;
    }

    .status-resolved {
        color: var(--success-green);
    }

    .error-badge {
        background-color: rgba(220, 53, 69, 0.1);
        color: var(--danger-red);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .incident-details {
        flex: 1;
        color: var(--text-secondary);
        font-size: 0.875rem;
    }

    .incident-time {
        color: var(--text-secondary);
        font-size: 0.875rem;
        margin-right: 1rem;
    }

    .incident-duration {
        color: var(--text-secondary);
        font-size: 0.875rem;
    }

    .theme-toggle {
        position: fixed;
        top: 20px;
        right: 20px;
        background: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .theme-toggle:hover {
        background: var(--primary-blue-dark);
        transform: scale(1.1);
    }

    .uptime-percentage {
        color: var(--success-green);
        font-size: 1.5rem;
        font-weight: 600;
    }

    .you-caught-up {
        text-align: center;
        color: var(--text-secondary);
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    canvas#responseChart {
        max-height: 500px;
        height: 500px;
    }
    
    .col-12 {
        padding: 0;
    }
/* notification css  */
    .notifications-box .tabs-notify ul.tab-platform {
        padding: 15px 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        row-gap: 10px;
        list-style: none;
        column-gap: 20px;
    }
    .notifications-box .nav-item-tab.active a {
        font-weight: bold;
        border-bottom: 2px solid #0073e6;
    }
    .notifications-box .tab-content-notify {
        display: none;
        padding: 25px;
        border: 2px solid #0190fd;
        margin-top: 10px;
        border-radius: 6px;
    }
    .notifications-box .tab-content-notify.active {
        display: block;
    }
    .notifications-box li.nav-item-tab a.nav-link-tab {
        color: #000000;
        text-decoration: none;
        border: none;
        font-size: 18px;
        font-weight: 600;
    }
    .notifications-box .allow-notify {
        padding: 0px 0 20px;
        display: flex;
        column-gap: 10px;
        align-items: center;
        flex-direction: row;
    }
    .notifications-box li.nav-item-tab {
        padding: 8px 10px;
        width: 170px;
        background: #fff;
        border-radius: 6px;
        cursor: pointer;
        position: relative;
        border: 1px solid #0190fd59;
    }
    /* .notifications-box li.nav-item-tab.deactivate:after {
        content: '';
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        border-radius: 6px;
        background: #ffffffba;
        cursor: not-allowed;
    } */
    /* .notifications-box li.nav-item-tab.deactivate {
        cursor: not-allowed;
    } */
    .notifications-box li.nav-item-tab.active {
        background: linear-gradient(135deg, #0190fda8, #0056b3f7);
        border-radius: 4px;
    }
    .notifications-box li.nav-item-tab.active a.nav-link-tab {
        color: #ffffff;
    }
    .notifications-box .email-container {
        display: flex;
        width: 100%;
        min-height: 44px;
        column-gap: 10px;
        flex-direction: column;
    }
    div#platform-input {
        display: flex;
        width: 100%;
        gap: 20px;
        flex-direction: column;
    }
    .notifications-box .email-span,
    .notifications-box .url-tag,
    .notifications-box .phone-tag {
        color: #ffffff;
        border-radius: 4px;
        padding: 4px 8px;
        margin: 3px;
        font-size: 14px;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, #0190fd, #0056b3);
    }
    .notifications-box .email-span .remove, .notifications-box .url-tag .remove, .notifications-box .phone-tag .remove{
        margin-left: 6px;
        cursor: pointer;
        font-weight: bold;
    }
    .notifications-box .email-input {
        border: none;
        flex: 1;
        min-width: 120px;
        font-size: 14px;
        padding: 6px;
        outline: none;
    }
    .notifications-box span.email-span, .notifications-box .url-tag, .notifications-box .phone-tag {
        width: fit-content;
    }
    .notifications-box input#email-input {
        width: 100%;
        background: #ededed57;
        font-size: 16px;
        padding: 8px;
        border: 1px solid #0190fd38;
        border-radius: 4px;
    }
    .notifications-box .score-form {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    .notifications-box form.email-check label,
    .notifications-box .custom-check label {
        font-size: 18px;
    }
    .notifications-box p.device {
        margin-bottom: 4px;
        font-size: 18px !important;
        font-weight: 500 !important;
    }
    .notifications-box .global-form form {
        display: flex;
        /* flex-wrap: wrap; */
        gap: 30px 20px;
        flex-direction: column;
    }
    .notifications-box .notify-form {
        display: flex;
        flex-direction: column;
    }
    .notifications-box .notify-form input {
        max-width: 190px;
        padding: 6px 8px;
        color: #1b1b1b;
        border: 1px solid #0190fd3d;
        border-radius: 8px;
        background: #f8f8f8;
    }
    .notifications-box .mobile-web {
        margin-top: 10px;
    }
    .notifications-box select#site-select {
        height: 40px;
        padding: 8px;
        border-radius: 3px;
        outline: 0 !important;
        margin-bottom: 0;
        background: #ededed57;
        border: 1px solid #0190fd38;
        border-radius: 4px;
    }
    .notifications-box input[type="checkbox"] {
        appearance: none;
        width: 18px;
        height: 18px;
        border: 2px solid #555;
        border-radius: 4px;
        background-color: white;
        cursor: pointer;
        position: relative;
    }
    .notifications-box input[type="checkbox"] {
        border-color: #303030;
    }
    .notifications-box input[type="checkbox"]:checked::after {
        content: '✔';
        color: #303030;
        font-size: 14px;
        position: absolute;
        left: 2px;
        top: -3px;
        font-weight: bold;
    }
    .notifications-box .notify-form label {font-size: 14px;}
    .notifications-box input[type="number"]::-webkit-inner-spin-button,
    .notifications-box input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    .notifications-box input[type="number"] {
        -moz-appearance: textfield;
    }
    .notifications-box button.notify-submit {
        background: linear-gradient(135deg, #0190fda8, #0056b3f7) !important;
        border-color: #0056b3f7 !important;
    }
    .notifications-box button.notify-submit:hover {
        background: transparent !important;
        color: #0190fd;
    }
    .notifications-box .tab-content-notify {
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    }
    .notifications-box .email-box {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .notifications-box label {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0.64px;
        margin-bottom: 6px;
    }
    .notifications-box p#email-message:empty {
        display: none;
    }
    .notifications-box p#email-message,
    .notifications-box p#url-message,
    .notifications-box p#whatsapp-message {
        margin-bottom: 0;
        font-size: 14px;
    }
    .notifications-box div#all-mails, .all-paths, .all-nums {
        border: 1px solid #ededed57;
        border-radius: 4px;
        display: flex;
        flex-wrap: wrap;
    }
    .notifications-box .url-box {
        position: relative;
        display: flex;
        flex-direction: column;
        row-gap: 4px;
    }
    .notifications-box .suggestions {
        list-style: none;
        margin: 0;
        padding: 0;
        border: 1px solid #ccc;
        position: absolute;
        width: 100%;
        background: white;
        max-height: 150px;
        overflow-y: auto;
        z-index: 10;
        top: 38px;
    }
    .notifications-box .suggestions li {
        padding: 8px;
        cursor: pointer;
    }
    .notifications-box .suggestions li:hover {
        background-color: #f0f0f0;
    }
    .notifications-box .url-message {
        font-size: 12px;
        color: #c00;
    }
    .notifications-box .url-message.success {
        color: green;
    }
    .notifications-box .site-box {
        display: flex;
        width: 100%;
        gap: 20px;
        flex-direction: column;
    }
    .notifications-box input#url-input {
        height: 40px;
        padding: 8px;
        border-radius: 3px;
        width: 100%;
        outline: 0 !important;
        margin-bottom: 0px;
        background: #ededed57;
        border: 1px solid #0190fd38;
        border-radius: 4px;
    }
    div#all-mails:empty,
    div#all-paths:empty,
    #suggestions:empty {
        display: none;
    }
    .select-site, .notifications-box div#url-container, div#whatsapp-container {
        display: flex;
        row-gap: 4px;
        flex-direction: column;
    }
    .input-urlbox {
        position: relative;
    }
    div#whatsapp-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    input#whatsapp-input {
        width: 100%;
        background: #ededed57;
        font-size: 16px;
        padding: 8px;
        border: 1px solid #ccc;
    }
    div#all-nums:empty {
        display: none;
    }
    .notifications-box {
        background: #fff;
        margin: 20px;
        border: 1px solid #ccc;
        padding: 20px;
        border-radius: 6px;
    }
    .notifications-box .notify-form input:focus-visible {
        border: 1px solid #0190fdd1 !important;
        outline: none;
    }
    input#notify-check {
        margin-bottom: 6px;
    }
    html[data-bs-theme="dark"] .notifications-box {
        background: #232323;
        border: 1px solid #767676;
    }
    html[data-bs-theme="dark"] .notifications-box li.nav-item-tab {
        background: #181818;
        border: 1px solid #0190fd94;
    }
    html[data-bs-theme="dark"] .notifications-box li.nav-item-tab a.nav-link-tab {
        color: #f4f4f4;
    }
    html[data-bs-theme="dark"] .notifications-box input#email-input {
        background: #3e3e3e;
        border: 1px solid #0190fd85;
    }
    html[data-bs-theme="dark"] .notifications-box input#email-input:placeholder-shown,
    html[data-bs-theme="dark"] .notifications-box input#email-input:placeholder{
        color: #fff;
    }
    html[data-bs-theme="dark"] .notifications-box select#site-select {
        background: #3e3e3e;
        border: 1px solid #17619a;
    }
    html[data-bs-theme="dark"] .notifications-box input#url-input {
        background: #3e3e3e;
        border: 1px solid #17619a;
    }
    html[data-bs-theme="dark"] .notifications-box .notify-form input {
        background: #3e3e3e;
        border: 1px solid #0190fdb0;
        color: #fff;
    }
    html[data-bs-theme="dark"] .notifications-box .tab-content-notify {
        box-shadow: rgb(255 255 255 / 15%) 1.95px 1.95px 2.6px;
    }
    /* CSS by DJ */
    .tab-content-notify.paid-blur {
        position: relative;
        pointer-events: none;
        user-select: none;
        cursor: not-allowed;
    }
    div.tab-content-notify.active.paid-blur:before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(255 255 255 / 30%);
        backdrop-filter: blur(3px);
        z-index: 10;
        pointer-events: none;
        user-select: none;
        cursor: not-allowed;
        border-radius: 10px;
    }
    div#paid-overlay {
        cursor: not-allowed;
        position: absolute;
        z-index: 20;
        font-weight: 700;
        font-size: 20px;
        color: #d00;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .tab-content-wrapper-notify:has(.paid-blur) {
        cursor: not-allowed;
    }
    div.tab-content-notify.active:not(.paid-blur) div#paid-overlay{
        display: none;
    }
    html[data-bs-theme="dark"] div.tab-content-notify.active.paid-blur:before {
        background: rgb(0 0 0 / 30%);
    }
    html[data-bs-theme="dark"] div#paid-overlay {
        color: #ff0000;
    }
    /*Popup CSS*/
    /* Background overlay */
    .add-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .add-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Popup modal */
    .popup-add {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        background: white;
        border-radius: 16px;
        width: 90%;
        max-width: 500px;
        padding: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .popup-add.active {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    /* Header */
    .add-popup-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
    }

    .add-popup-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 24px;
        font-weight: 700;
        color: #0190FD;
    }

    .add-close-btn {
        background: #0190fd;
        border: none;
        font-size: 26px;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.2s ease;
        position: absolute;
        top: 20px;
        right: 20px;
        font-weight: 700;
        border-radius: 50%;
        height: 26px;
        width: 26px;
        display: flex;
        align-items: center;
        line-height: 1.3;
        justify-content: center;
        font-family: 'DM sans', sans-serif;
    }

    .add-close-btn:hover {
        color: #ffffff;
    }

    /* Form content */
    .add-popup-description {
        color: #6b7280;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    #addprojectForm .form-group {
        margin-bottom: 20px;
    }

    #addprojectForm .form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #374151;
    }

    #addprojectForm .form-input {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #d0ebff;
        border-radius: 8px;
        font-size: 16px;
        background: #f9fafb;
        transition: all 0.3s ease;
    }

    #addprojectForm .form-input:focus {
        outline: none;
        border-color: #008ff9;
        background: white;
        box-shadow: 0 0 0 3px rgb(0 146 255 / 10%);
    }

    #addprojectForm .form-input::placeholder {
        color: #9ca3af;
    }

    .optional-text {
        color: #6b7280;
        font-size: 14px;
        margin-top: 4px;
    }

    /* Action buttons */
    .add-popup-actions {
        display: flex;
        gap: 12px;
        margin-top: 32px;
    }

    .btn.add-btn {
        flex: 1;
        padding: 14px 24px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-primary.btn.add-btn {
        background: linear-gradient(135deg, #0190FD, #0056b3);
        color: white;
        box-shadow: 0 4px 15px rgb(1 144 253 / 30%);
    }

    .btn-primary.btn.add-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgb(1 144 253 / 40%);
    }

    .btn-secondary.btn.add-btn {
        background: #f3f4f6;
        color: #6b7280;
        border: 2px solid #e5e7eb;
    }

    .btn-secondary.btn.add-btn:hover {
        background: #e5e7eb;
        color: #374151;
    }

    /* Responsive design */
    @media (max-width: 640px) {
        .popup-add {
            width: 95%;
            padding: 24px;
        }
        
        .add-popup-actions {
            flex-direction: column;
        }
        
        .add-popup-title {
            font-size: 20px;
        }
    }
    html[data-bs-theme="dark"] .popup-add {
        background: #313131;
    }

    html[data-bs-theme="dark"] .add-popup-description {
        color: #f8fbff;
    }

    html[data-bs-theme="dark"] #addprojectForm .form-input {
        background: #0f0f0f;
        color: #fff;
        border: 1px solid #92d0fe9c;
    }

    html[data-bs-theme="dark"] #addprojectForm .form-input:focus {
        background: #0f0f0f;
    }

    html[data-bs-theme="dark"] #addprojectForm .form-label {
        color: #f9fbfd;
    }

    html[data-bs-theme="dark"] .optional-text {
        color: #c0c9db;
    }

    html[data-bs-theme="dark"] .btn-secondary.btn.add-btn {
        background: #131313;
        color: #ffffff;
        border: 1px solid #666666;
    }

    html[data-bs-theme="dark"] .btn-secondary.btn.add-btn:hover {
        background: #272727;
        color: #ffffff;
    }

    html[data-bs-theme="dark"] div#overlay {
        background: rgb(142 142 142 / 50%);
    }

/* POPUP CSS */
    .add-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .add-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Popup modal */
    .popup-add {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        background: white;
        border-radius: 16px;
        width: 90%;
        max-width: 500px;
        padding: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .popup-add.active {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    .table-container .col-md-1 {
        text-align: end;
    }
    
    /* uptime page css by DJ */
    .incidents-table .table > thead tr th {
        text-align: left;
        font-weight: 600;
        color: #000;
    }
    .incidents-table .table td {
        text-align: left;
    }
    .incidents-table .status-badge {
        justify-content: flex-start;
    }

    .success-badge {
        background-color: #b2ffba99;
        color: var(--success-green);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    /* URL CSS by DJ */
    h1.main-title.site-url {
        font-size: 30px;
        width: fit-content;
        border-radius: 6px;
        font-weight: 500;
    }
    
    h1.main-title.site-url span.url-val {
        font-weight: 800;
        text-decoration: underline;
    }