/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 7%;
    overflow: hidden;
    /* background: #ffffff; */
}


/* =========================================================
   BACKGROUND SLIDESHOW
========================================================= */

.login-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.login-background-one {
    opacity: 1;
    z-index: 0;
}

.login-background-two {
    opacity: 0;
    z-index: 0;
}

.login-background-one.active,
.login-background-two.active {
    opacity: 1;
}


/* =========================================================
   LOGIN WRAPPER
========================================================= */

.login-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 425px;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(225, 228, 234, 0.95);
    border-radius: 9px;
    padding: 34px 39px 43px;
    box-shadow:
        0 8px 24px rgba(20, 30, 50, 0.10),
        0 2px 6px rgba(20, 30, 50, 0.05);
}


/* =========================================================
   BRAND
========================================================= */

.brand-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo img {
    display: block;
    width: 100px;
    height: auto;
}


/* =========================================================
   USER IMAGE
========================================================= */

.login-user-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 20px;
}

.login-user-image-inner {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-user-image-inner i {
    color: #a6a6a6;
    font-size: 66px;
    line-height: 1;
    transform: translateY(4px);
}


/* =========================================================
   INPUTS
========================================================= */

.login-input-wrap {
    position: relative;
    width: 100%;
    height: 45px;
    margin-bottom: 18px;
    border-radius: 6px;
}

.login-input {
    width: 100%;
    height: 100%;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    outline: none;
    background: #f1f4f8;
    padding: 0 15px;
    padding-right: 45px;
    font-size: 13px;
    color: #9b9b9b;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.login-input::placeholder {
    color: #8d94a1;
}

.login-input:focus {
    border-color: #ef4e10;
    background: #f5f7fa;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    border: 0;
    background: transparent;
    color: #4d525b;
    cursor: pointer;
    padding: 0;
}

.password-toggle:hover {
    color: #ef4e10;
}


/* =========================================================
   REMEMBER / FORGOT
========================================================= */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -1px;
    margin-bottom: 25px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #9b9b9b;
    font-size: 14px;
    cursor: pointer;
}

.remember-label input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #ef4e10;
    cursor: pointer;
}

.forgot-link {
    color: #9b9b9b;
    font-size: 14px;
    text-decoration: none;
}

.forgot-link:hover {
    color: #ef4e10;
    text-decoration: none;
}

.remember-label .form-check-input {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;

    background-color: #ffffff;
    border: 1px solid #d5d9e4;
    border-radius: 3px;

    cursor: pointer;
    box-shadow: none !important;
}

/* Checked: white background + orange border + orange checkmark */
.remember-label .form-check-input:checked {
    background-color: #ffffff;
    border-color: #ef4e10;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ef4e10' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m3 8 3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
}

.remember-label .form-check-input:focus {
    border-color: #ef4e10;
    outline: none;
    box-shadow: none !important;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    width: 100%;
    height: 45px;
    border: 0;
    border-radius: 6px;
    background: #ef4e10;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.login-button:hover {
    background: #e9450d;
    box-shadow: 0 5px 14px rgba(239, 78, 16, 0.22);
    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}


/* =========================================================
   ERROR
========================================================= */

.login-error {
    margin-bottom: 18px;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 13px;
    color: #b42318;
    background: #fff1f0;
    border: 1px solid #ffd5d0;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .login-page {
        justify-content: center;
        padding: 35px 20px 70px;
    }

    .login-wrapper {
        max-width: 425px;
    }

}


@media (max-width: 576px) {

    .login-page {
        padding: 25px 15px 65px;
    }

    .login-card {
        padding: 30px 20px 35px;
    }

    .brand-logo img {
        width: 120px;
    }

    .login-user-image {
        margin-top: 20px;
        margin-bottom: 22px;
    }

    .login-user-image-inner {
        width: 95px;
        height: 95px;
    }

    .login-user-image-inner i {
        font-size: 60px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .login-background {
        transition: none;
    }

    .login-button {
        transition: none;
    }

}



/* ====================================== Top Bar ==================================================== */

.main-header.custom-topbar {
    height: 64px;
    min-height: 64px;
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 0 18px;
}


/* =========================================================
   SIDEBAR TOGGLE
========================================================= */

.custom-topbar .sidebar-toggle {
    width: 38px;
    height: 38px;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #596273;
    background: transparent;
    border-radius: 6px;

    transition: background 0.2s ease,
                color 0.2s ease;
}

.custom-topbar .sidebar-toggle:hover {
    color: #1d2433;
    background: #f6f7f9;
}

.custom-topbar .sidebar-toggle i {
    font-size: 14px;
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.custom-topbar .navbar-nav.ml-auto {
    display: flex;
    align-items: center;
}


/* =========================================================
   NOTIFICATION
========================================================= */

.custom-topbar .notification-link {
    position: relative;

    width: 38px;
    height: 38px;

    padding: 0;
    margin: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #4e586b !important;
    background: transparent;

    border-radius: 6px;

    transition: background 0.2s ease,
                color 0.2s ease;
}

.custom-topbar .notification-link:hover {
    color: #202633 !important;
    background: #f6f7f9;
}

.custom-topbar .notification-link i {
    font-size: 14px;
}


/* =========================================================
   NOTIFICATION BADGE
========================================================= */

.custom-topbar .notification-badge {
    position: absolute;

    top: 4px;
    right: 2px;

    min-width: 13px;
    height: 13px;

    padding: 0 3px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ff3b20;
    color: #ffffff;

    font-size: 8px;
    font-weight: 700;

    line-height: 13px;

    border: 1px solid #ffffff;
}


/* =========================================================
   NOTIFICATION DROPDOWN
========================================================= */

.custom-topbar .notification-dropdown {
    margin-top: 5px;

    border: 1px solid #e5e8ee;
    border-radius: 8px;

    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.10);

    overflow: hidden;
}

.custom-topbar .notification-dropdown .dropdown-header {
    padding: 13px 16px;

    color: #252b36;

    font-size: 13px;
    font-weight: 600;
}

.custom-topbar .notification-dropdown .dropdown-item {
    padding: 12px 16px;

    color: #313846;

    font-size: 12px;

    transition: background 0.2s ease;
}

.custom-topbar .notification-dropdown .dropdown-item:hover {
    background: #fafafa;
}

.custom-topbar .notification-dropdown .dropdown-item small {
    color: #6b7587;

    font-size: 11px;
    line-height: 1.5;
}

.custom-topbar .notification-dropdown .dropdown-divider {
    margin: 0;
    border-top-color: #edf0f4;
}


/* =========================================================
   USER
========================================================= */

.custom-topbar .user-menu {
    margin-left: 6px;
}

.custom-topbar .user-link {
    height: 40px;

    padding: 0 7px;

    display: flex;
    align-items: center;

    color: #252b35 !important;

    border-radius: 7px;

    transition: background 0.2s ease;
}

.custom-topbar .user-link:hover {
    background: #f7f8fa;
}


/* User icon */

.custom-topbar .user-icon {
    width: 28px;
    height: 28px;

    margin-right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff0ed;
    color: #f04417;
}


/* User name */

.custom-topbar .user-name {
    max-width: 150px;

    overflow: hidden;

    color: #303641;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Dropdown arrow */

.custom-topbar .user-chevron {
    margin-left: 7px;

    color: #5e6879;
    font-size: 9px;
}


/* =========================================================
   USER DROPDOWN
========================================================= */

.custom-topbar .user-dropdown {
    min-width: 160px;

    margin-top: 5px;
    padding: 5px;

    border: 1px solid #e5e8ee;
    border-radius: 8px;

    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.10);
}

.custom-topbar .user-dropdown .dropdown-item {
    padding: 9px 10px;

    border-radius: 5px;
}

.custom-topbar .user-dropdown .dropdown-item:hover {
    background: #f7f8fa;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 576px) {

    .main-header.custom-topbar {
        padding: 0 10px;
    }

    .custom-topbar .user-name {
        max-width: 100px;
    }

}


/* ====================================== Side Bar ==================================================== */


/* logo */

.brand-sidebar {
    display: inline-block;
}

.brand-sidebar img {
    display: block;
    width: 80px; /* adjust as needed */
    height: auto;
}


.main-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #edf0f4;
    box-shadow: none !important;
}


/* =========================================================
   BRAND
========================================================= */

.main-sidebar .brand-link {
    background: #ffffff !important;
    border-bottom: 1px solid #f0f1f3 !important;
}

.main-sidebar .brand-link .brand-text {
    color: #252b36 !important;
}


/* =========================================================
   SIDEBAR
========================================================= */

.main-sidebar .sidebar {
    background: #ffffff;
}

.main-sidebar .nav-sidebar {
    width: 100%;
}


/* =========================================================
   NORMAL MENU
========================================================= */

.main-sidebar .nav-sidebar > .nav-item > .nav-link {
    color: #596273;
    background: transparent;

    border-radius: 7px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link .nav-icon {
    color: #737b89;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link p {
    color: inherit;
}


/* =========================================================
   HOVER
========================================================= */

.main-sidebar .nav-sidebar > .nav-item > .nav-link:hover {
    color: #252b36;
    background: #f7f8fa;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link:hover .nav-icon {
    color: #ef4e10;
}


/* =========================================================
   ACTIVE
========================================================= */

.main-sidebar .nav-sidebar > .nav-item > .nav-link.active {
    color: #ef4e10 !important;
    background: #fff1ed !important;

    box-shadow: none !important;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link.active .nav-icon {
    color: #ef4e10 !important;
}

.main-sidebar .nav-sidebar > .nav-item > .nav-link.active p {
    color: #ef4e10 !important;
}


/* =========================================================
   LOGOUT
========================================================= */

.main-sidebar .nav-sidebar > .nav-item:last-child {
    border-top: 1px solid #f0f1f3;
}

.main-sidebar .nav-sidebar > .nav-item:last-child > .nav-link {
    color: #dc3545 !important;
}

.main-sidebar .nav-sidebar > .nav-item:last-child > .nav-link .nav-icon {
    color: #dc3545 !important;
}

.main-sidebar .nav-sidebar > .nav-item:last-child > .nav-link p {
    color: #dc3545 !important;
}

.main-sidebar .nav-sidebar > .nav-item:last-child > .nav-link:hover {
    background: #fff5f5 !important;
    color: #c82333 !important;
}

.main-sidebar .nav-sidebar > .nav-item:last-child > .nav-link:hover .nav-icon,
.main-sidebar .nav-sidebar > .nav-item:last-child > .nav-link:hover p {
    color: #c82333 !important;
}


/* =========================================================
   COLLAPSED SIDEBAR
========================================================= */

body.sidebar-collapse .main-sidebar {
    box-shadow: none !important;
}

body.sidebar-collapse .main-sidebar .brand-link {
    background: #ffffff !important;
}

body.sidebar-collapse .main-sidebar .nav-sidebar > .nav-item > .nav-link.active {
    background: #fff1ed !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991.98px) {

    .main-sidebar {
        box-shadow: none !important;
    }

}


/* ======================================
   DASHBOARD
====================================== */

.dashboard-page {
    background: #f7f8fa;
}


/* =========================================================
   SUMMARY CARDS
========================================================= */

.dashboard-summary {
    margin-bottom: 14px;
}

.dashboard-summary > [class*="col-"] {
    margin-bottom: 0;
}

.dashboard-stat-card {
    position: relative;

    min-height: 86px;

    padding: 14px 18px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border: 1px solid #edf0f4;
    border-radius: 11px;

    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.035);

    overflow: hidden;
}


/* =========================================================
   STAT ICON
========================================================= */

.dashboard-stat-icon {
    width: 80px;
    height: 80px;

    flex: 0 0 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 14px;

    border-radius: 11px;
}

.dashboard-stat-icon i {
    font-size: 40px;
}


.dashboard-stat-card.clients .dashboard-stat-icon {
    background: #e8efff;
    color: #356ae6;
}

.dashboard-stat-card.services .dashboard-stat-icon {
    background: #e1f6e9;
    color: #16a05d;
}

.dashboard-stat-card.renewals .dashboard-stat-icon {
    background: #fff2d5;
    color: #f59e0b;
}

.dashboard-stat-card.invoices .dashboard-stat-icon {
    background: #fbe2ed;
    color: #d92b72;
}


/* =========================================================
   STAT CONTENT
========================================================= */

.dashboard-stat-content {
    min-width: 0;
}

.dashboard-stat-content h3 {
    margin: 0 0 2px 0;

    color: #252b36;

    line-height: 1;
}

.dashboard-stat-content p {
    margin: 0;

    color: #596273;
}


/* =========================================================
   STAT MENU
========================================================= */

.dashboard-stat-menu {
    position: absolute;

    top: 12px;
    right: 13px;

    color: #252b36;
}

.dashboard-stat-menu i {
    font-size: 10px;
}


/* =========================================================
   MAIN DASHBOARD ROW
========================================================= */

.dashboard-main-row {
    display: grid;

    grid-template-columns:
        minmax(0, 3fr)
        minmax(230px, 1fr);

    gap: 12px;

    align-items: start;
}


/* =========================================================
   RENEWALS CARD
========================================================= */

.dashboard-renewals-card {
    margin: 0;

    background: #ffffff;

    border: 1px solid #edf0f4;
    border-radius: 11px;

    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.035);

    overflow: hidden;
}


/* =========================================================
   RENEWALS HEADER
========================================================= */

.dashboard-renewals-header {
    padding: 14px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    background: #ffffff;

    border-bottom: 1px solid #eef0f3;
}

.dashboard-renewals-header h4 {
    margin: 0 0 2px;

    color: #252b36;
}

.dashboard-renewals-header small {
    color: #7b8492;
}


/* =========================================================
   SEARCH
========================================================= */

.dashboard-renewals-search {
    display: flex;
    align-items: center;

    gap: 8px;
}

.dashboard-search-box {
    width: 135px;
    height: 34px;

    display: flex;
    align-items: center;

    border: 1px solid #e2e6ec;
    border-radius: 6px;

    background: #ffffff;
}

.dashboard-search-box i {
    margin-left: 10px;

    color: #788292;

    font-size: 11px;
}

.dashboard-search-box input {
    width: 100%;
    height: 100%;

    border: 0;
    outline: 0;

    padding: 0 8px;

    background: transparent;
}

.dashboard-search-box input::placeholder {
    color: #8c94a5;
}


.dashboard-filter-button {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e2e6ec;
    border-radius: 6px;

    background: #ffffff;

    color: #677180;

    cursor: pointer;
}

.dashboard-filter-button:hover {
    color: #ef4e10;
    border-color: #ef4e10;
}


/* =========================================================
   RENEWALS BODY
========================================================= */

.dashboard-renewals-body {
    padding: 12px 10px 12px;
}


/* =========================================================
   TABLE
========================================================= */

.dashboard-table-wrapper {
    width: 100%;

    overflow-x: auto;

    border: 1px solid #edf0f4;
    border-radius: 8px;

    scrollbar-width: thin;
}

#upcomingRenewalsTable {
    width: 100%;

    min-width: 920px;

    margin: 0;

    background: #ffffff;
}

#upcomingRenewalsTable thead th {
    padding: 9px 7px;

    background: #fafbfc;

    color: #596273;

    border-color: #edf0f4;

    vertical-align: middle;

    white-space: nowrap;
}

#upcomingRenewalsTable tbody td {
    padding: 10px 7px;

    color: #4f5868;

    border-color: #edf0f4;

    vertical-align: middle;
}

#upcomingRenewalsTable tbody tr {
    background: #ffffff;
}

#upcomingRenewalsTable tbody tr:hover {
    background: #fafbfc;
}

#upcomingRenewalsTable tbody td strong {
    color: #252b36;
}

#upcomingRenewalsTable tbody td small {
    color: #8a93a1 !important;
}


/* =========================================================
   BADGES
========================================================= */

#upcomingRenewalsTable .badge {
    border-radius: 5px;

    font-weight: 500;

    white-space: nowrap;
}

#upcomingRenewalsTable .badge-warning {
    background: #fff1d6 !important;
    color: #c77900 !important;
}

#upcomingRenewalsTable .badge-success {
    background: #e4f7eb !important;
    color: #16834d !important;
}

#upcomingRenewalsTable .badge-danger {
    background: #fde8e8 !important;
    color: #c53030 !important;
}

#upcomingRenewalsTable .badge-secondary {
    background: #eef1f5 !important;
    color: #697383 !important;
}


/* =========================================================
   REMINDER BUTTON
========================================================= */

#upcomingRenewalsTable .dashboard-reminder-button {
    background: #ffffff !important;

    color: #ef4e10 !important;

    border: 1px solid #f2b9a7 !important;

    box-shadow: none;

    white-space: nowrap;
}

#upcomingRenewalsTable .dashboard-reminder-button:hover {
    background: #fff5f1 !important;

    color: #d94b1b !important;

    border-color: #ef4e10 !important;
}


/* =========================================================
   TABLE FOOTER
========================================================= */

.dashboard-table-footer {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 9px 3px 0;
}

.dashboard-entry-count {
    color: #737d8c;
}

.dashboard-pagination {
    display: flex;
    align-items: center;

    gap: 5px;
}

.dashboard-pagination button {
    min-width: 25px;
    height: 25px;

    padding: 0 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e4e8ed;
    border-radius: 5px;

    background: #ffffff;

    color: #667180;

    cursor: pointer;
}

.dashboard-pagination button.active {
    border-color: #ef4e10;

    background: #ffffff;

    color: #ef4e10;

    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.10);
}

.dashboard-pagination button:disabled {
    color: #c5cad3;

    background: #fafbfc;

    cursor: default;
}

.dashboard-pagination button i {
    font-size: 9px;
}

.dashboard-pagination .dashboard-page-size {
    min-width: 64px;

    margin-left: 5px;

    justify-content: space-between;
}


/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.dashboard-side-column {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   SIDE CARDS
========================================================= */

.dashboard-calendar-card,
.dashboard-overview-card {
    background: #ffffff;

    border: 1px solid #edf0f4;
    border-radius: 11px;

    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.035);

    overflow: hidden;
}

.dashboard-side-card-header {
    padding: 13px 14px 9px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #252b36;
}

.dashboard-side-card-header i {
    color: #252b36;
}


/* =========================================================
   CALENDAR
========================================================= */

.dashboard-calendar {
    padding: 2px 13px 14px;
}

.calendar-weekdays,
.calendar-days {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    text-align: center;
}

.calendar-weekdays {
    margin-bottom: 4px;
}

.calendar-weekdays span {
    color: #596273;

    font-weight: 600;
}

.calendar-days {
    row-gap: 2px;
}

.calendar-day {
    position: relative;

    min-height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #555e6d;

    border-radius: 50%;

    cursor: default;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.today {
    background: #fff0e9;

    color: #ef4e10;

    font-weight: 600;
}

.calendar-day.has-renewal {
    color: #ef4e10;

    font-weight: 600;
}

.calendar-day.has-renewal.today {
    background: #ef4e10;

    color: #ffffff;
}

.calendar-renewal-count {
    position: absolute;

    top: 0;
    right: 2px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #ef4e10;

    font-size: 0;

    display: block;
}

.calendar-day.has-renewal.today .calendar-renewal-count {
    background: #ffffff;
}


/* =========================================================
   RENEWAL OVERVIEW
========================================================= */

.dashboard-overview-body {
    padding: 5px 13px 15px;

    display: flex;
    align-items: center;

    gap: 13px;
}


/* =========================================================
   DONUT
========================================================= */

.dashboard-donut-wrapper {
    flex: 0 0 auto;
}

.dashboard-donut {
    --due-angle: calc(
        (var(--due) / var(--total)) * 360deg
    );

    --active-angle: calc(
        (var(--active) / var(--total)) * 360deg
    );

    width: 92px;
    height: 92px;

    border-radius: 50%;

    background:
        conic-gradient(
            #ef4e10 0deg var(--due-angle),
            #42b883 var(--due-angle)
            calc(
                var(--due-angle) +
                var(--active-angle)
            ),
            #e6e9ed
            calc(
                var(--due-angle) +
                var(--active-angle)
            )
            360deg
        );

    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-donut-center {
    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-donut-center strong {
    color: #252b36;
}

.dashboard-donut-center span {
    color: #89919e;
}


/* =========================================================
   OVERVIEW LEGEND
========================================================= */

.dashboard-overview-legend {
    flex: 1;

    min-width: 0;
}

.overview-legend-item {
    display: grid;

    grid-template-columns:
        8px minmax(0, 1fr) auto auto;

    align-items: center;

    gap: 6px;

    margin-bottom: 8px;

    color: #687282;
}

.overview-legend-item:last-child {
    margin-bottom: 0;
}

.overview-legend-item strong {
    color: #252b36;
}

.overview-legend-item small {
    color: #7f8896;
}

.overview-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.overview-dot.due {
    background: #ef4e10;
}

.overview-dot.active {
    background: #42b883;
}

.overview-dot.others {
    background: #d8dce2;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .dashboard-main-row {
        grid-template-columns:
            minmax(0, 1fr)
            250px;
    }

}


@media (max-width: 991.98px) {

    .dashboard-summary > [class*="col-"] {
        margin-bottom: 12px;
    }

    .dashboard-main-row {
        grid-template-columns: 1fr;
    }

    .dashboard-side-column {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767.98px) {

    .dashboard-renewals-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .dashboard-renewals-search {
        width: 100%;
    }

    .dashboard-search-box {
        flex: 1;

        width: auto;
    }

    .dashboard-table-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .dashboard-side-column {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 575.98px) {

    .dashboard-stat-card {
        min-height: 78px;

        padding: 12px 15px;
    }

    .dashboard-stat-icon {
        width: 65px;
        height: 65px;

        flex-basis: 65px;

        margin-right: 12px;
    }

    .dashboard-stat-icon i {
        font-size: 40px;
    }

    .dashboard-renewals-body {
        padding: 10px 8px;
    }

    .dashboard-calendar {
        padding-left: 10px;
        padding-right: 10px;
    }

    .dashboard-overview-body {
        justify-content: center;
    }

}

/* =========================================================
   DASHBOARD CALENDAR CLICK
========================================================= */

.calendar-day:not(.empty) {
    cursor: pointer;
}

.calendar-day:not(.empty):hover {
    background: #fff5f1;
    color: #ef4e10;
}

.calendar-day.today:not(.has-renewal):hover {
    background: #ffe7dd;
}


/* =========================================================
   CALENDAR DETAILS MODAL
========================================================= */

.dashboard-calendar-modal {
    position: fixed;

    inset: 0;

    z-index: 1055;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;

    opacity: 0;

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease;
}

.dashboard-calendar-modal.show {
    visibility: visible;

    opacity: 1;
}


.dashboard-calendar-modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(31, 41, 55, 0.42);
}


.dashboard-calendar-modal-dialog {
    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 560px;

    max-height: calc(100vh - 40px);

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid #edf0f4;

    border-radius: 12px;

    box-shadow:
        0 18px 45px rgba(31, 41, 55, 0.16);

    overflow: hidden;

    transform: translateY(8px) scale(0.99);

    transition:
        transform 0.18s ease;
}

.dashboard-calendar-modal.show
.dashboard-calendar-modal-dialog {
    transform: translateY(0) scale(1);
}


/* =========================================================
   MODAL HEADER
========================================================= */

.dashboard-calendar-modal-header {
    min-height: 68px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 12px 16px;

    background: #ffffff;

    border-bottom: 1px solid #eef0f3;
}


.dashboard-calendar-modal-title-wrap {
    display: flex;

    align-items: center;

    min-width: 0;

    gap: 11px;
}


.dashboard-calendar-modal-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #fff0e9;

    color: #ef4e10;
}


.dashboard-calendar-modal-icon i {
    font-size: 16px;
}


.dashboard-calendar-modal-title-wrap h4 {
    margin: 0 0 2px;

    color: #252b36;
}


.dashboard-calendar-modal-title-wrap span {
    display: block;

    color: #7b8492;
}


.dashboard-calendar-modal-close {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #e2e6ec;

    border-radius: 6px;

    background: #ffffff;

    color: #687282;

    cursor: pointer;
}


.dashboard-calendar-modal-close:hover {
    color: #ef4e10;

    border-color: #ef4e10;

    background: #fff8f5;
}


.dashboard-calendar-modal-close:focus {
    outline: none;

    box-shadow: none;
}


/* =========================================================
   MODAL BODY
========================================================= */

.dashboard-calendar-modal-body {
    padding: 14px;

    overflow-y: auto;

    background: #f7f8fa;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.dashboard-calendar-modal-empty {
    min-height: 180px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #edf0f4;

    border-radius: 9px;
}


.dashboard-calendar-modal-empty-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    border-radius: 50%;

    background: #f1f3f6;

    color: #89919e;
}


.dashboard-calendar-modal-empty-icon i {
    font-size: 18px;
}


.dashboard-calendar-modal-empty strong {
    margin-bottom: 3px;

    color: #252b36;
}


.dashboard-calendar-modal-empty span {
    color: #7b8492;
}


/* =========================================================
   RENEWAL CARD
========================================================= */

.dashboard-calendar-renewal {
    margin-bottom: 10px;

    padding: 13px;

    background: #ffffff;

    border: 1px solid #e8ebef;

    border-radius: 9px;

    box-shadow: 0 2px 6px rgba(31, 41, 55, 0.025);
}

.dashboard-calendar-renewal:last-child {
    margin-bottom: 0;
}


/* =========================================================
   RENEWAL TOP
========================================================= */

.dashboard-calendar-renewal-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;

    padding-bottom: 10px;

    border-bottom: 1px solid #f0f1f4;
}


.dashboard-calendar-renewal-service {
    min-width: 0;
}


.dashboard-calendar-renewal-service strong {
    display: block;

    color: #252b36;
}


.dashboard-calendar-renewal-service small {
    display: block;

    margin-top: 2px;

    color: #8a93a1;
}


/* =========================================================
   STATUS
========================================================= */

.dashboard-calendar-status {
    flex: 0 0 auto;

    padding: 4px 8px;

    border-radius: 5px;

    white-space: nowrap;
}


.dashboard-calendar-status.active {
    background: #e4f7eb;

    color: #16834d;
}


.dashboard-calendar-status.due {
    background: #fff1d6;

    color: #c77900;
}


/* =========================================================
   CLIENT
========================================================= */

.dashboard-calendar-renewal-client {
    display: flex;

    align-items: center;

    gap: 7px;

    padding: 10px 0;

    color: #596273;
}


.dashboard-calendar-renewal-client i {
    color: #8a93a1;
}


.dashboard-calendar-renewal-client span {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* =========================================================
   RENEWAL INFORMATION
========================================================= */

.dashboard-calendar-renewal-info {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    padding: 10px 0;

    border-top: 1px solid #f0f1f4;
}


.dashboard-calendar-renewal-info > div {
    min-width: 0;
}


.dashboard-calendar-renewal-info span {
    display: block;

    margin-bottom: 3px;

    color: #8a93a1;
}


.dashboard-calendar-renewal-info strong {
    display: block;

    color: #252b36;
}


.dashboard-calendar-renewal-info strong.accepted {
    color: #16834d;
}


.dashboard-calendar-renewal-info strong.rejected {
    color: #c53030;
}


.dashboard-calendar-renewal-info strong.pending {
    color: #c77900;
}


/* =========================================================
   REMINDERS
========================================================= */

.dashboard-calendar-reminders {
    padding-top: 10px;

    border-top: 1px solid #f0f1f4;
}


.dashboard-calendar-reminders > span {
    display: block;

    margin-bottom: 7px;

    color: #8a93a1;
}


.dashboard-calendar-reminder-list {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.dashboard-calendar-reminder-list span {
    padding: 4px 8px;

    border: 1px solid #e5e8ed;

    border-radius: 5px;

    background: #f7f8fa;

    color: #9aa1ad;

    white-space: nowrap;
}


.dashboard-calendar-reminder-list span.sent {
    border-color: #cdebd9;

    background: #e8f8ee;

    color: #16834d;
}


/* =========================================================
   BODY MODAL LOCK
========================================================= */

body.dashboard-calendar-modal-open {
    overflow: hidden;
}


/* =========================================================
   RESPONSIVE MODAL
========================================================= */

@media (max-width: 575.98px) {

    .dashboard-calendar-modal {
        padding: 10px;
    }

    .dashboard-calendar-modal-dialog {
        max-height: calc(100vh - 20px);

        border-radius: 10px;
    }

    .dashboard-calendar-modal-header {
        min-height: 62px;

        padding: 10px 12px;
    }

    .dashboard-calendar-modal-body {
        padding: 10px;
    }

    .dashboard-calendar-renewal {
        padding: 11px;
    }

    .dashboard-calendar-renewal-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

    .dashboard-calendar-renewal-info {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   CALENDAR PICKER BUTTON
========================================================= */

.dashboard-calendar-picker-button {
    width: 30px;
    height: 30px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 6px;

    background: transparent;

    color: #252b36;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.dashboard-calendar-picker-button:hover {
    background: #fff5f1;

    border-color: #f2b9a7;

    color: #ef4e10;
}

.dashboard-calendar-picker-button:focus {
    outline: none;

    box-shadow: none;
}


/* =========================================================
   CALENDAR PICKER MODAL
========================================================= */

.dashboard-calendar-picker-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.dashboard-calendar-picker-modal.show {
    display: flex;
}


/* =========================================================
   MODAL OVERLAY
========================================================= */

.dashboard-calendar-picker-overlay {
    position: absolute;

    inset: 0;

    background: rgba(31, 41, 55, 0.35);

    backdrop-filter: blur(1px);
}


/* =========================================================
   MODAL DIALOG
========================================================= */

.dashboard-calendar-picker-dialog {
    position: relative;

    width: 100%;
    max-width: 430px;

    background: #ffffff;

    border: 1px solid #edf0f4;
    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(31, 41, 55, 0.15);

    overflow: hidden;

    z-index: 1;
}


/* =========================================================
   MODAL HEADER
========================================================= */

.dashboard-calendar-picker-header {
    min-height: 64px;

    padding: 14px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-bottom: 1px solid #eef0f3;

    background: #ffffff;
}

.dashboard-calendar-picker-header strong {
    display: block;

    margin-bottom: 2px;

    color: #252b36;
}

.dashboard-calendar-picker-header small {
    display: block;

    color: #7b8492;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.dashboard-calendar-picker-close {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e2e6ec;
    border-radius: 6px;

    background: #ffffff;

    color: #677180;

    cursor: pointer;
}

.dashboard-calendar-picker-close:hover {
    border-color: #ef4e10;

    color: #ef4e10;

    background: #fff5f1;
}

.dashboard-calendar-picker-close:focus {
    outline: none;

    box-shadow: none;
}


/* =========================================================
   MODAL BODY
========================================================= */

.dashboard-calendar-picker-body {
    padding: 16px;
}


/* =========================================================
   YEAR SECTION
========================================================= */

.dashboard-calendar-year-section {
    margin-bottom: 18px;
}

.dashboard-calendar-year-section > label,
.dashboard-calendar-month-section > label {
    display: block;

    margin-bottom: 8px;

    color: #596273;

    font-weight: 600;
}


.dashboard-calendar-year-control {
    display: flex;
    align-items: center;

    width: 100%;

    border: 1px solid #e2e6ec;
    border-radius: 7px;

    background: #ffffff;

    overflow: hidden;
}


.dashboard-calendar-year-arrow {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: #ffffff;

    color: #677180;

    cursor: pointer;
}

.dashboard-calendar-year-arrow:hover {
    background: #fff5f1;

    color: #ef4e10;
}


.dashboard-calendar-year-arrow:focus {
    outline: none;
}


.dashboard-calendar-year-control input {
    width: 100%;

    height: 38px;

    padding: 0 8px;

    border: 0;

    outline: 0;

    background: #ffffff;

    color: #252b36;

    text-align: center;
}


/* Remove browser number arrows */

.dashboard-calendar-year-control input::-webkit-outer-spin-button,
.dashboard-calendar-year-control input::-webkit-inner-spin-button {
    margin: 0;

    -webkit-appearance: none;
}

.dashboard-calendar-year-control input[type="number"] {
    -moz-appearance: textfield;
}


/* =========================================================
   MONTH GRID
========================================================= */

.dashboard-calendar-month-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;
}


.dashboard-calendar-month-grid button {
    min-height: 38px;

    padding: 7px 8px;

    border: 1px solid #e2e6ec;
    border-radius: 7px;

    background: #ffffff;

    color: #596273;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}


.dashboard-calendar-month-grid button:hover {
    border-color: #ef4e10;

    background: #fff5f1;

    color: #ef4e10;
}


.dashboard-calendar-month-grid button.active {
    border-color: #ef4e10;

    background: #ef4e10;

    color: #ffffff;

    box-shadow:
        0 2px 5px rgba(239, 78, 16, 0.12);
}


/* =========================================================
   MODAL FOOTER
========================================================= */

.dashboard-calendar-picker-footer {
    min-height: 54px;

    padding: 10px 16px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    border-top: 1px solid #eef0f3;

    background: #fafbfc;
}


.dashboard-calendar-picker-today {
    min-height: 34px;

    padding: 6px 13px;

    border: 1px solid #f2b9a7;
    border-radius: 6px;

    background: #ffffff;

    color: #ef4e10;

    cursor: pointer;
}


.dashboard-calendar-picker-today:hover {
    border-color: #ef4e10;

    background: #fff5f1;
}


.dashboard-calendar-picker-today:focus {
    outline: none;

    box-shadow: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 575.98px) {

    .dashboard-calendar-picker-modal {
        padding: 12px;
    }

    .dashboard-calendar-picker-dialog {
        max-width: 100%;
    }

    .dashboard-calendar-picker-body {
        padding: 14px;
    }

    .dashboard-calendar-month-grid {
        gap: 7px;
    }

}

/* ============================================================
   DASHBOARD CALENDAR RENEWAL - REMINDER BUTTON
   ============================================================ */

.dashboard-calendar-renewal .dashboard-calendar-reminders {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}


/* Reminder status label */

.dashboard-calendar-renewal .dashboard-calendar-reminders > span:first-child {
    flex-shrink: 0;
}


/* Existing reminder list */

.dashboard-calendar-renewal .dashboard-calendar-reminder-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}


/* Reminder button */

.dashboard-calendar-renewal .dashboard-reminder-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-left: auto;

    border: 1px solid #ef4e10 !important;
    background: #ffffff !important;
    color: #ef4e10 !important;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Hover */

.dashboard-calendar-renewal .dashboard-reminder-button:hover {
    background: #ef4e10 !important;
    border-color: #ef4e10 !important;
    color: #ffffff !important;

    box-shadow: 0 2px 6px rgba(239, 78, 16, 0.18);
}


/* Focus */

.dashboard-calendar-renewal .dashboard-reminder-button:focus {
    border-color: #ef4e10 !important;
    color: #ef4e10 !important;
    background: #ffffff !important;

    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.12) !important;
    outline: none !important;
}


/* Hover + focus */

.dashboard-calendar-renewal .dashboard-reminder-button:focus:hover {
    background: #ef4e10 !important;
    color: #ffffff !important;
}


/* ============================================================
   CALENDAR RENEWAL RESPONSIVE
   ============================================================ */

@media (max-width: 576px) {

    .dashboard-calendar-renewal .dashboard-calendar-reminders {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-calendar-renewal .dashboard-calendar-reminder-list {
        width: 100%;
        flex: none;
    }

    .dashboard-calendar-renewal .dashboard-reminder-button {
        margin-left: 0;
        align-self: flex-start;
    }

}


/* ====================================== Client List Page ==================================================== */

.clients-page {
    padding: 14px 2px 45px;
    color: #172033;
}


/* =========================================================
   TOP HEADER CARD
========================================================= */

.clients-header-card {
    background: #ffffff;

    border: 1px solid #e9edf2;
    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(31, 45, 61, 0.04);

    padding: 20px 18px 0;

    margin-bottom: 18px;
}


.clients-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 18px;
}


.clients-title-wrap {
    min-width: 0;
}


.clients-title-wrap h3 {
    margin: 0 0 5px 0;

    color: #172033;
}


.clients-subtitle {
    margin: 0;

    color: #788397;
}


/* =========================================================
   ADD CLIENT BUTTON
========================================================= */

.btn-add-client {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 36px;

    padding: 0 15px;

    border: 0;
    border-radius: 6px;

    background: #ff3b30;

    color: #ffffff !important;

    white-space: nowrap;

    box-shadow: 0 3px 8px rgba(255, 59, 48, 0.15);

    transition: all 0.15s ease;
}


.btn-add-client:hover {
    background: #ef4e10;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(255, 59, 48, 0.18);
}


.btn-add-client i {
    line-height: 1;
}


/* =========================================================
   ALERTS
========================================================= */

.client-alert {
    display: inline-flex;

    align-items: center;

    margin: 0 8px 0 0 !important;

    padding: 7px 11px;

    border-radius: 6px;
}


/* =========================================================
   SEARCH AREA
========================================================= */

.clients-search-area {
    border-top: 1px solid #edf0f4;

    padding: 14px 0;
}


.clients-search-form {
    margin: 0;
}


.clients-search-row {
    display: flex;

    align-items: center;

    gap: 8px;
}


.clients-search-input-wrap {
    position: relative;

    width: 30%;

    max-width: 100%;
}


.clients-search-input-wrap i {
    position: absolute;

    left: 11px;
    top: 50%;

    transform: translateY(-50%);

    color: #667085;

    z-index: 2;
}


.clients-search-input {
    width: 100%;

    height: 36px;

    padding: 0 12px 0 31px;

    border: 1px solid #dfe4eb;

    border-radius: 6px;

    background: #ffffff;

    color: #30394b;

    outline: none;

    box-shadow: none;

    transition: all 0.15s ease;
}


.clients-search-input::placeholder {
    color: #8a94a6;
}


.clients-search-input:focus {
    border-color: #ff756d;

    box-shadow:
        0 0 0 3px rgba(255, 59, 48, 0.06);
}


/* =========================================================
   SEARCH / RESET BUTTONS
========================================================= */

.btn-client-search,
.btn-client-reset {
    height: 36px;

    padding: 0 15px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px;

    white-space: nowrap;
}


.btn-client-search {
    border: 1px solid #ef4e10;

    background: #ef4e10;

    color: #ffffff;

    box-shadow: 0 2px 5px rgba(255, 59, 48, 0.12);
}


.btn-client-search:hover {
    background: #eb3026;

    border-color: #eb3026;

    color: #ffffff;
}


.btn-client-reset {
    border: 1px solid #dce1e8;

    background: #ffffff;

    color: #596579;
}


.btn-client-reset:hover {
    background: #f8f9fb;

    color: #30394b;
}


/* =========================================================
   TABLE CARD
========================================================= */

.clients-table-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e9edf2;

    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(31, 45, 61, 0.04);

    padding: 18px 18px 14px;

    overflow: hidden;
}


/* =========================================================
   DATATABLE WRAPPER
========================================================= */

.clients-table-card .dataTables_wrapper {
    width: 100%;
}


/* =========================================================
   DATATABLE TOP CONTROLS
========================================================= */

.clients-table-card .dataTables_length,
.clients-table-card .dataTables_filter {
    margin-bottom: 14px;

    color: #4c5668;
}


.clients-table-card .dataTables_length {
    float: left;
}


.clients-table-card .dataTables_filter {
    float: right;
}


/* =========================================================
   SHOW RECORDS SELECT
========================================================= */

.clients-table-card .dataTables_length select {
    height: 32px;

    min-width: 52px;

    margin: 0 7px;

    padding: 3px 20px 3px 9px;

    border: 1px solid #dfe4eb;

    border-radius: 6px;

    background: #ffffff;

    color: #30394b;

    outline: none;
}


/* =========================================================
   DATATABLE SEARCH
========================================================= */

.clients-table-card .dataTables_filter input {
    width: 210px;

    height: 32px;

    margin-left: 8px;

    padding: 0 11px;

    border: 1px solid #dfe4eb;

    border-radius: 6px;

    background: #ffffff;

    color: #30394b;

    outline: none;
}


.clients-table-card .dataTables_filter input::placeholder {
    color: #9aa2b1;
}


.clients-table-card .dataTables_filter input:focus {
    border-color: #cbd2dd;

    box-shadow:
        0 0 0 3px rgba(73, 91, 116, 0.05);
}


/* =========================================================
   TABLE RESPONSIVE
========================================================= */

.clients-table-card .table-responsive {
    width: 100%;

    overflow-x: hidden;
    overflow-y: visible;

    margin-top: 2px;
}


/* =========================================================
   CLIENT TABLE
========================================================= */

.clients-table {
    width: 100% !important;

    /* min-width: 1050px; */

    margin: 0 !important;

    border: 1px solid #e5e9ef !important;

    border-collapse: separate !important;

    border-spacing: 0 !important;

    border-radius: 6px;

    overflow: hidden;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.clients-table thead th {
    height: 42px;

    padding: 10px 14px !important;

    background: #ffffff !important;

    border-top: 0 !important;

    border-bottom: 1px solid #e4e8ee !important;

    border-right: 1px solid #edf0f4 !important;

    color: #202939 !important;

    vertical-align: middle !important;

    white-space: nowrap;
}


.clients-table thead th:last-child {
    border-right: 0 !important;
}


/* =========================================================
   TABLE BODY
========================================================= */

.clients-table tbody td {
    padding: 15px 14px !important;

    background: #ffffff !important;

    border-top: 0 !important;

    border-bottom: 1px solid #edf0f4 !important;

    border-right: 1px solid #edf0f4 !important;

    color: #263044;

    vertical-align: middle !important;
}


.clients-table tbody tr:last-child td {
    border-bottom: 0 !important;
}


.clients-table tbody td:last-child {
    border-right: 0 !important;
}


.clients-table tbody tr:hover td {
    background: #fcfdff !important;
}


/* =========================================================
   COLUMN WIDTHS
========================================================= */

.clients-table th:nth-child(1),
.clients-table td:nth-child(1) {
    width: 7%;

    text-align: center;
}


.clients-table th:nth-child(2),
.clients-table td:nth-child(2) {
    width: 27%;
}


.clients-table th:nth-child(3),
.clients-table td:nth-child(3) {
    width: 29%;
}


.clients-table th:nth-child(4),
.clients-table td:nth-child(4) {
    width: 10%;
}


.clients-table th:nth-child(5),
.clients-table td:nth-child(5) {
    width: 27%;
}


/* =========================================================
   COMPANY
========================================================= */

.client-company {
    display: block;

    color: #182033;

    line-height: 1.5;

    white-space: normal;
}


/* =========================================================
   SERVICES
========================================================= */

.client-services {
    display: flex;

    flex-direction: column;

    gap: 11px;

    padding: 2px 0;
}


.client-service {
    position: relative;

    display: flex;

    flex-direction: column;

    padding-left: 17px;

    min-height: 34px;

    justify-content: center;
}


.client-service-dot {
    position: absolute;

    left: 0;
    top: 8px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #20c45a;
}


.client-service-name {
    color: #283247;

    line-height: 1.4;

    white-space: normal;
}


.client-service-domain {
    margin-top: 2px;

    color: #8993a5;

    line-height: 1.35;

    white-space: normal;
}


/* =========================================================
   STATUS
========================================================= */

.client-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 62px;

    min-height: 25px;

    padding: 3px 10px;

    border-radius: 13px;

    line-height: 1;
}


.client-status-active {
    color: #18a84b;

    background: #f0fcf4;

    border: 1px solid #ccefd8;
}


.client-status-inactive {
    color: #e53935;

    background: #fff4f4;

    border: 1px solid #ffd3d1;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.client-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: nowrap;

    white-space: nowrap;
}


.client-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    height: 32px;

    min-width: 72px;

    padding: 0 12px;

    border-radius: 5px;

    background: #ffffff;

    text-decoration: none !important;

    transition: all 0.15s ease;
}


.client-action i {
    line-height: 1;
}


/* View */

.client-action-view {
    color: #4c78aa !important;

    border: 1px solid #cddced;
}


.client-action-view:hover {
    color: #376492 !important;

    background: #f5f9fd;

    border-color: #b7cde5;
}


/* Edit */

.client-action-edit {
    color: #e79a16 !important;

    border: 1px solid #f2d99f;
}


.client-action-edit:hover {
    color: #c78008 !important;

    background: #fffaf0;

    border-color: #ebcb82;
}


/* Delete */

.client-action-delete {
    color: #ef5c58 !important;

    border: 1px solid #f4c9c7;
}


.client-action-delete:hover {
    color: #dc3e39 !important;

    background: #fff7f7;

    border-color: #efb3b0;
}


/* =========================================================
   NO SERVICES
========================================================= */

.client-no-services {
    color: #9aa2b1;
}


/* =========================================================
   DATATABLE BOTTOM
========================================================= */

.clients-table-card .dataTables_info {
    padding-top: 16px !important;

    color: #596579 !important;
}


.clients-table-card .dataTables_paginate {
    padding-top: 11px !important;
}


/* =========================================================
   PAGINATION
========================================================= */

.clients-table-card .dataTables_paginate {
    padding-top: 11px !important;

    /* display: flex;

    align-items: right; */
}


/* Pagination container */

.clients-table-card .dataTables_paginate .pagination {
    margin: 0 !important;

    gap: 7px;
}


/* Every button */

.clients-table-card .dataTables_paginate .paginate_button {
    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* Actual Bootstrap/DataTables link */

.clients-table-card .dataTables_paginate .paginate_button .page-link {
    min-width: 40px;

    height: 38px;

    padding: 0 12px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #e2e6ec !important;

    border-radius: 5px !important;

    background: #ffffff !important;

    color: #647084 !important;

    box-shadow: none !important;

    text-decoration: none !important;
}


/* Hover */

.clients-table-card .dataTables_paginate .paginate_button:not(.disabled) .page-link:hover {
    border-color: #d5dbe3 !important;

    background: #f8f9fb !important;

    color: #3f4a5d !important;
}


/* Active page */

.clients-table-card .dataTables_paginate .paginate_button.active .page-link,
.clients-table-card .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;

    background: #ef4e10 !important;

    color: #ffffff !important;

    box-shadow: 0 2px 5px rgba(255, 59, 48, 0.15) !important;
}


/* Previous / Next disabled */

.clients-table-card .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;

    background: #fafbfc !important;

    color: #c5cad3 !important;

    cursor: default !important;
}


/* Remove Bootstrap focus */

.clients-table-card .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;

    outline: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .clients-table {
        min-width: 1000px;
    }

    .clients-table th:nth-child(3),
    .clients-table td:nth-child(3) {
        width: 330px;
    }

    .clients-table th:nth-child(5),
    .clients-table td:nth-child(5) {
        width: 270px;
    }

}


@media (max-width: 768px) {

    .clients-page {
        padding: 10px 0 30px;
    }

    .clients-header-card {
        padding: 16px 14px 0;
    }

    .clients-header {
        flex-direction: column;

        gap: 15px;
    }

    .btn-add-client {
        align-self: flex-start;
    }

    .clients-search-row {
        flex-wrap: wrap;
    }

    .clients-search-input-wrap {
        width: 100%;
    }

    .clients-table-card {
        padding: 14px;
    }

    .clients-table-card .dataTables_length,
    .clients-table-card .dataTables_filter {
        float: none;

        text-align: left;

        margin-bottom: 10px;
    }

    .clients-table-card .dataTables_filter input {
        width: calc(100% - 65px);
    }

    .client-actions {
        gap: 7px;
    }

}


@media (max-width: 576px) {

    .clients-header-card {
        padding: 14px 12px 0;
    }

    .clients-table-card {
        padding: 12px;
    }

    .client-action {
        min-width: 38px;

        padding: 0 8px;
    }

    .client-action span {
        display: none;
    }

}



/* ====================================== Services List Page ==================================================== */

.services-page {
    padding: 14px 2px 45px;
    color: #172033;
}


/* =========================================================
   HEADER CARD
========================================================= */

.services-header-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e9edf2;
    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(31, 45, 61, 0.04);

    padding: 20px 18px 0;

    margin-bottom: 18px;
}


.services-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 18px;
}


.services-title-wrap {
    min-width: 0;
}


.services-title-wrap h3 {
    margin: 0;

    color: #172033;
}


/* =========================================================
   ADD SERVICE BUTTON
========================================================= */

.btn-add-service {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 36px;

    padding: 0 15px;

    border: 0 !important;
    border-radius: 6px;

    background: #ef4e10 !important;

    color: #ffffff !important;

    white-space: nowrap;

    box-shadow: 0 3px 8px rgba(239, 78, 16, 0.15);

    transition: all 0.15s ease;
}


.btn-add-service:hover {
    background: #e5440d !important;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(239, 78, 16, 0.18);
}


.btn-add-service i {
    line-height: 1;
}


/* =========================================================
   ALERTS
========================================================= */

.services-alert-row {
    padding-bottom: 14px;
}


.service-alert {
    display: inline-flex;

    align-items: center;

    margin: 0 !important;

    padding: 7px 11px;

    border-radius: 6px;
}


/* =========================================================
   SEARCH AREA
========================================================= */

.services-search-area {
    border-top: 1px solid #edf0f4;

    padding: 14px 0;
}


.services-search-form {
    margin: 0;
}


.services-search-row {
    display: flex;

    align-items: center;

    gap: 8px;
}


.services-search-input-wrap {
    position: relative;

    width: 30%;

    max-width: 100%;
}


.services-search-input-wrap i {
    position: absolute;

    left: 11px;
    top: 50%;

    transform: translateY(-50%);

    color: #667085;

    z-index: 2;
}


.services-search-input {
    width: 100%;

    height: 36px;

    padding: 0 12px 0 31px;

    border: 1px solid #dfe4eb;

    border-radius: 6px;

    background: #ffffff;

    color: #30394b;

    outline: none;

    box-shadow: none;

    transition: all 0.15s ease;
}


.services-search-input::placeholder {
    color: #8a94a6;
}


.services-search-input:focus {
    border-color: #ef4e10;

    box-shadow:
        0 0 0 3px rgba(239, 78, 16, 0.06);
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.services-search-button {
    height: 36px;

    padding: 0 15px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #ef4e10 !important;

    border-radius: 6px;

    background: #ef4e10 !important;

    color: #ffffff !important;

    white-space: nowrap;

    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.12);

    transition: all 0.15s ease;
}


.services-search-button:hover {
    background: #e5440d !important;

    border-color: #e5440d !important;

    color: #ffffff !important;
}


/* =========================================================
   RESET BUTTON
========================================================= */

.services-reset-button {
    height: 36px;

    padding: 0 15px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #dce1e8 !important;

    border-radius: 6px;

    background: #ffffff !important;

    color: #596579 !important;

    white-space: nowrap;
}


.services-reset-button:hover {
    background: #f8f9fb !important;

    color: #30394b !important;

    border-color: #d5dbe3 !important;
}


/* =========================================================
   TABLE CARD
========================================================= */

.services-table-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e9edf2;

    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(31, 45, 61, 0.04);

    padding: 18px 18px 14px;

    overflow: hidden;
}


/* =========================================================
   DATATABLE WRAPPER
========================================================= */

.services-table-card .dataTables_wrapper {
    width: 100%;
}


/* =========================================================
   DATATABLE TOP CONTROLS
========================================================= */

.services-table-card .dataTables_length,
.services-table-card .dataTables_filter {
    margin-bottom: 14px;

    color: #4c5668;
}


.services-table-card .dataTables_length {
    float: left;
}


.services-table-card .dataTables_filter {
    float: right;
}


/* =========================================================
   SHOW RECORDS
========================================================= */

.services-table-card .dataTables_length select {
    height: 32px;

    min-width: 52px;

    margin: 0 7px;

    padding: 3px 20px 3px 9px;

    border: 1px solid #dfe4eb;

    border-radius: 6px;

    background: #ffffff;

    color: #30394b;

    outline: none;
}


/* =========================================================
   DATATABLE SEARCH
========================================================= */

.services-table-card .dataTables_filter input {
    width: 210px;

    height: 32px;

    margin-left: 8px;

    padding: 0 11px;

    border: 1px solid #dfe4eb;

    border-radius: 6px;

    background: #ffffff;

    color: #30394b;

    outline: none;
}


.services-table-card .dataTables_filter input::placeholder {
    color: #9aa2b1;
}


.services-table-card .dataTables_filter input:focus {
    border-color: #cbd2dd;

    box-shadow:
        0 0 0 3px rgba(73, 91, 116, 0.05);
}


/* =========================================================
   TABLE RESPONSIVE
========================================================= */

.services-table-card .table-responsive {
    width: 100%;

    overflow-x: hidden;
    overflow-y: visible;

    margin-top: 2px;
}


/* =========================================================
   SERVICES TABLE
========================================================= */

.services-table {
    width: 100% !important;

    margin: 0 !important;

    border: 1px solid #e5e9ef !important;

    border-collapse: separate !important;

    border-spacing: 0 !important;

    border-radius: 6px;

    overflow: hidden;

    table-layout: fixed;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.services-table thead th {
    height: 42px;

    padding: 10px 14px !important;

    background: #ffffff !important;

    border-top: 0 !important;

    border-bottom: 1px solid #e4e8ee !important;

    border-right: 1px solid #edf0f4 !important;

    color: #202939 !important;

    vertical-align: middle !important;

    white-space: nowrap;
}


.services-table thead th:last-child {
    border-right: 0 !important;
}


/* =========================================================
   TABLE BODY
========================================================= */

.services-table tbody td {
    padding: 15px 14px !important;

    background: #ffffff !important;

    border-top: 0 !important;

    border-bottom: 1px solid #edf0f4 !important;

    border-right: 1px solid #edf0f4 !important;

    color: #263044;

    vertical-align: middle !important;

    overflow-wrap: break-word;
}


.services-table tbody tr:last-child td {
    border-bottom: 0 !important;
}


.services-table tbody td:last-child {
    border-right: 0 !important;
}


.services-table tbody tr:hover td {
    background: #fcfdff !important;
}


/* =========================================================
   COLUMN WIDTHS
========================================================= */

.services-table th:nth-child(1),
.services-table td:nth-child(1) {
    width: 6%;

    text-align: center;
}


.services-table th:nth-child(2),
.services-table td:nth-child(2) {
    width: 22%;
}


.services-table th:nth-child(3),
.services-table td:nth-child(3) {
    width: 13%;
}


.services-table th:nth-child(4),
.services-table td:nth-child(4) {
    width: 16%;
}


.services-table th:nth-child(5),
.services-table td:nth-child(5) {
    width: 13%;
}


.services-table th:nth-child(6),
.services-table td:nth-child(6) {
    width: 10%;
}


.services-table th:nth-child(7),
.services-table td:nth-child(7) {
    width: 9%;
}


.services-table th:nth-child(8),
.services-table td:nth-child(8) {
    width: 11%;
}


/* =========================================================
   SERVICE NAME
========================================================= */

.service-name {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.service-name strong {
    color: #182033;

    line-height: 1.5;
}


.service-description {
    display: block;

    color: #8993a5 !important;

    line-height: 1.4;
}


/* =========================================================
   CATEGORY
========================================================= */

.service-category {
    display: inline-flex;

    align-items: center;

    min-height: 25px;

    padding: 3px 10px;

    border-radius: 13px;

    background: #eef5ff;

    border: 1px solid #d5e3f4;

    color: #4c78aa;

    line-height: 1;

    white-space: normal;
}


/* =========================================================
   PARTNER
========================================================= */

.service-partner {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.service-partner strong {
    color: #182033;
}


.service-partner small {
    color: #8993a5;
}


/* =========================================================
   BILLING
========================================================= */

.service-billing {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.service-billing strong {
    color: #182033;
}


.service-billing small {
    color: #8993a5;
}


/* =========================================================
   PRICE
========================================================= */

.service-price {
    color: #283247;

    white-space: nowrap;
}


/* =========================================================
   STATUS
========================================================= */

.service-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 62px;

    min-height: 25px;

    padding: 3px 10px;

    border-radius: 13px;

    line-height: 1;
}


.service-status-active {
    color: #18a84b;

    background: #f0fcf4;

    border: 1px solid #ccefd8;
}


.service-status-inactive {
    color: #e53935;

    background: #fff4f4;

    border: 1px solid #ffd3d1;
}


/* =========================================================
   ACTIONS
========================================================= */

.service-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: nowrap;

    white-space: nowrap;
}


.service-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    height: 32px;

    min-width: 72px;

    padding: 0 12px;

    border-radius: 5px !important;

    background: #ffffff !important;

    text-decoration: none !important;

    transition: all 0.15s ease;
}


.service-action i {
    line-height: 1;
}


/* =========================================================
   EDIT
========================================================= */

.service-action-edit {
    color: #e79a16 !important;

    border: 1px solid #f2d99f !important;
}


.service-action-edit:hover {
    color: #c78008 !important;

    background: #fffaf0 !important;

    border-color: #ebcb82 !important;
}


/* =========================================================
   DELETE
========================================================= */

.service-action-delete {
    color: #ef5c58 !important;

    border: 1px solid #f4c9c7 !important;
}


.service-action-delete:hover {
    color: #dc3e39 !important;

    background: #fff7f7 !important;

    border-color: #efb3b0 !important;
}


/* =========================================================
   DATATABLE BOTTOM
========================================================= */

.services-table-card .dataTables_info {
    padding-top: 16px !important;

    color: #596579 !important;
}


.services-table-card .dataTables_paginate {
    padding-top: 11px !important;
}


/* =========================================================
   PAGINATION
========================================================= */

.services-table-card .dataTables_paginate .pagination {
    margin: 0 !important;

    gap: 7px;
}


.services-table-card .dataTables_paginate .paginate_button {
    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* Actual Bootstrap/DataTables link */

.services-table-card .dataTables_paginate .paginate_button .page-link {
    min-width: 40px;

    height: 38px;

    padding: 0 12px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #e2e6ec !important;

    border-radius: 5px !important;

    background: #ffffff !important;

    color: #647084 !important;

    box-shadow: none !important;

    text-decoration: none !important;
}


/* Hover */

.services-table-card
.dataTables_paginate
.paginate_button:not(.disabled)
.page-link:hover {

    border-color: #d5dbe3 !important;

    background: #f8f9fb !important;

    color: #3f4a5d !important;
}


/* Active page */

.services-table-card
.dataTables_paginate
.paginate_button.active
.page-link,

.services-table-card
.dataTables_paginate
.paginate_button.current
.page-link {

    border-color: #ef4e10 !important;

    background: #ef4e10 !important;

    color: #ffffff !important;

    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}


/* Previous / Next disabled */

.services-table-card
.dataTables_paginate
.paginate_button.disabled
.page-link {

    border-color: #f0f1f4 !important;

    background: #fafbfc !important;

    color: #c5cad3 !important;

    cursor: default !important;
}


/* Remove Bootstrap focus */

.services-table-card
.dataTables_paginate
.paginate_button
.page-link:focus {

    box-shadow: none !important;

    outline: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .services-table th:nth-child(2),
    .services-table td:nth-child(2) {
        width: 21%;
    }

    .services-table th:nth-child(4),
    .services-table td:nth-child(4) {
        width: 15%;
    }

    .services-table th:nth-child(8),
    .services-table td:nth-child(8) {
        width: 13%;
    }

}


@media (max-width: 768px) {

    .services-page {
        padding: 10px 0 30px;
    }


    .services-header-card {
        padding: 16px 14px 0;
    }


    .services-header {
        flex-direction: column;

        gap: 15px;
    }


    .btn-add-service {
        align-self: flex-start;
    }


    .services-search-row {
        flex-wrap: wrap;
    }


    .services-search-input-wrap {
        width: 100%;
    }


    .services-table-card {
        padding: 14px;
    }


    .services-table-card .dataTables_length,
    .services-table-card .dataTables_filter {
        float: none;

        text-align: left;

        margin-bottom: 10px;
    }


    .services-table-card .dataTables_filter input {
        width: calc(100% - 65px);
    }


    .services-table-card .table-responsive {
        overflow-x: auto;
    }


    .services-table {
        min-width: 950px;
    }


    .service-actions {
        gap: 7px;
    }

}


@media (max-width: 576px) {

    .services-header-card {
        padding: 14px 12px 0;
    }


    .services-table-card {
        padding: 12px;
    }


    .service-action {
        min-width: 38px;

        padding: 0 8px;
    }


    .service-action span {
        display: none;
    }

}


/* ====================================== Subscriptions List Page ==================================================== */

/* =========================================================
   SUBSCRIPTIONS PAGE
   ========================================================= */

.subscriptions-page {
    padding-bottom: 24px;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.subscriptions-header-card {
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 39, 75, 0.04);
    margin-bottom: 16px;
}

.subscriptions-header {
    min-height: 68px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.subscriptions-title-wrap {
    min-width: 0;
}

.subscriptions-title-wrap h3 {
    margin: 0;
    font-weight: 600;
    color: #252a34;
}

.btn-add-subscription {
    background: #ef4e10;
    border: 1px solid #ef4e10;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.14);
}

.btn-add-subscription:hover,
.btn-add-subscription:focus {
    background: #d9430b;
    border-color: #d9430b;
    color: #ffffff;
    box-shadow: 0 3px 7px rgba(239, 78, 16, 0.18);
}


/* =========================================================
   FLASH
   ========================================================= */

.subscriptions-flash {
    margin-bottom: 16px;
}

.subscriptions-flash .alert {
    margin-bottom: 0;
    border-radius: 7px;
}


/* =========================================================
   COMMON SECTION TITLE
   ========================================================= */

.subscriptions-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #303641;
    font-weight: 600;
}

.subscriptions-section-title i {
    color: #ef4e10;
}


/* =========================================================
   FILTER CARD
   ========================================================= */

.subscriptions-filter-card {
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 39, 75, 0.04);
    margin-bottom: 18px;
    overflow: visible;
}

.subscriptions-filter-header {
    min-height: 52px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eceef2;
    background: #ffffff;
    border-radius: 8px 8px 0 0;
}

.subscriptions-filter-body {
    padding: 17px 18px;
}

.subscriptions-filter-form {
    margin: 0;
}

.subscriptions-filter-row {
    margin-left: -6px;
    margin-right: -6px;
    align-items: flex-end;
}

.subscriptions-filter-row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

.subscriptions-filter-field {
    margin-bottom: 0;
}

.subscriptions-filter-label {
    display: block;
    margin-bottom: 7px;
    color: #555c68;
    font-weight: 500;
}

.subscriptions-filter-label-spacer {
    visibility: hidden;
}

.subscriptions-search-input,
.subscriptions-status-select,
.subscriptions-service-select {
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
}

.subscriptions-search-input:focus,
.subscriptions-status-select:focus,
.subscriptions-service-select:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}


/* =========================================================
   SELECT2
   ========================================================= */

.subscriptions-filter-body .select2-container {
    width: 100% !important;
}

.subscriptions-filter-body
.select2-container--default
.select2-selection--single {
    height: 38px;
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
}

.subscriptions-filter-body
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
    color: #49505b;
}

.subscriptions-filter-body
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 36px;
    right: 5px;
}

.subscriptions-filter-body
.select2-container--default.select2-container--focus
.select2-selection--single {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #ef4e10;
}


/* =========================================================
   FILTER BUTTONS
   ========================================================= */

.subscriptions-filter-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
}

.subscriptions-search-button {
    background: #ef4e10;
    border-color: #ef4e10;
    border-radius: 6px;
    box-shadow: none;
}

.subscriptions-search-button:hover,
.subscriptions-search-button:focus {
    background: #d9430b;
    border-color: #d9430b;
    box-shadow: none;
}

.subscriptions-reset-button {
    background: #ffffff;
    border: 1px solid #dfe2e7;
    color: #555c68;
    border-radius: 6px;
}

.subscriptions-reset-button:hover,
.subscriptions-reset-button:focus {
    background: #f7f8fa;
    border-color: #cfd3d9;
    color: #303641;
}


/* =========================================================
   TABLE CARD
   ========================================================= */

.subscriptions-table-card {
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 39, 75, 0.04);
    overflow: hidden;
}

.subscriptions-table-header {
    min-height: 52px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eceef2;
    background: #ffffff;
}

.subscriptions-table-body {
    padding: 0;
}

.subscriptions-table-responsive {
    width: 100%;
    margin: 0;
}


/* =========================================================
   TABLE
   ========================================================= */

.subscriptions-table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse;
    background: #ffffff;
    color: #3f4650;
}

.subscriptions-table thead th {
    background: #ffffff;
    color: #555c68;
    font-weight: 600;
    border-top: 0;
    border-bottom: 1px solid #dfe2e7;
    border-left: 1px solid #e7e9ed;
    border-right: 1px solid #e7e9ed;
    vertical-align: middle;
    white-space: nowrap;
}

.subscriptions-table thead th:first-child {
    border-left: 0;
}

.subscriptions-table thead th:last-child {
    border-right: 0;
}

.subscriptions-table tbody td {
    background: #ffffff;
    border-top: 1px solid #e8eaee;
    border-left: 1px solid #eceef2;
    border-right: 1px solid #eceef2;
    vertical-align: middle;
}

.subscriptions-table tbody td:first-child {
    border-left: 0;
}

.subscriptions-table tbody td:last-child {
    border-right: 0;
}


/* Remove Bootstrap striped appearance */

.subscriptions-table.table-striped tbody tr:nth-of-type(odd),
.subscriptions-table.table-striped tbody tr:nth-of-type(even) {
    background: #ffffff;
}

.subscriptions-table tbody tr:hover td {
    background: #fffaf7;
}


/* =========================================================
   TABLE CONTENT
   ========================================================= */

.subscription-id {
    color: #777e89;
    white-space: nowrap;
}

.subscription-client {
    color: #303641;
    font-weight: 600;
}

.subscription-service {
    min-width: 130px;
}

.subscription-service-name {
    color: #303641;
    font-weight: 500;
}

.subscription-service-category {
    margin-top: 3px;
    color: #8a9099;
}

.subscription-domain {
    color: #555c68;
    word-break: break-word;
}

.subscription-quantity {
    text-align: center;
    color: #555c68;
    white-space: nowrap;
}

.subscription-price {
    color: #4c535d;
    white-space: nowrap;
}

.subscription-total {
    white-space: nowrap;
}

.subscription-total-price {
    color: #303641;
    font-weight: 600;
}

.subscription-gst {
    margin-top: 3px;
    color: #8a9099;
    white-space: nowrap;
}

.subscription-expiry {
    white-space: nowrap;
}

.subscription-expiry-date {
    color: #404751;
    font-weight: 500;
}

.subscription-days {
    margin-top: 3px;
    color: #8a9099;
}

.subscription-priority,
.subscription-status,
.subscription-reminder,
.subscription-actions {
    text-align: center;
    white-space: nowrap;
}


/* =========================================================
   BADGES
   ========================================================= */

.subscriptions-table .subscription-badge {
    border-radius: 20px;
    border: 1px solid transparent;
    font-weight: 500;
    padding: 5px 9px;
}

.subscriptions-table .badge-success {
    background: #eaf7ef;
    border-color: #ccebd8;
    color: #23864a;
}

.subscriptions-table .badge-warning {
    background: #fff7e5;
    border-color: #f6dfaa;
    color: #a86d00;
}

.subscriptions-table .badge-danger {
    background: #fff0ef;
    border-color: #f5cfcc;
    color: #c83e35;
}

.subscriptions-table .badge-dark {
    background: #f0f1f3;
    border-color: #dfe1e5;
    color: #4a4f57;
}

.subscriptions-table .badge-info {
    background: #edf6fc;
    border-color: #d1e8f7;
    color: #287aa8;
}

.subscriptions-table .badge-orange {
    background: #fff0e9;
    border-color: #ffd3c2;
    color: #ef4e10;
}


/* =========================================================
   REMINDER
   ========================================================= */

.subscription-reminder-button {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #efc58c;
    color: #b87500;
    border-radius: 5px;
    box-shadow: none;
}

.subscription-reminder-button:hover,
.subscription-reminder-button:focus {
    background: #fff7e5;
    border-color: #dcae62;
    color: #946000;
    box-shadow: none;
}

.subscription-no-reminder {
    color: #a4a9b1;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.subscription-action-group {
    display: inline-flex;
    gap: 5px;
}

.subscription-action-group .subscription-action-edit,
.subscription-action-group .subscription-action-delete {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px !important;
    background: #ffffff;
    box-shadow: none;
}

.subscription-action-edit {
    border: 1px solid #cfdce8 !important;
    color: #39739d !important;
}

.subscription-action-edit:hover,
.subscription-action-edit:focus {
    background: #f2f8fc !important;
    border-color: #aebfce !important;
    color: #2c638a !important;
    box-shadow: none !important;
}

.subscription-action-delete {
    border: 1px solid #efcfcc !important;
    color: #c64a42 !important;
}

.subscription-action-delete:hover,
.subscription-action-delete:focus {
    background: #fff4f3 !important;
    border-color: #e6aaa5 !important;
    color: #ad3730 !important;
    box-shadow: none !important;
}


/* =========================================================
   DATATABLE CONTROLS
   ========================================================= */

.subscriptions-table-card .dataTables_wrapper {
    padding: 0;
}

.subscriptions-table-card .dataTables_length,
.subscriptions-table-card .dataTables_filter {
    padding: 14px 18px 0;
}

.subscriptions-table-card .dataTables_info {
    padding: 15px 18px;
    color: #7d838d;
}

.subscriptions-table-card .dataTables_paginate {
    padding: 10px 18px 16px;
}


/* DataTables search */

.subscriptions-table-card .dataTables_filter input {
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    box-shadow: none;
    margin-left: 7px;
}

.subscriptions-table-card .dataTables_filter input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
    outline: none;
}


/* DataTables length */

.subscriptions-table-card .dataTables_length select {
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    box-shadow: none;
}


/* =========================================================
   DATATABLE PAGINATION
   ========================================================= */

.subscriptions-table-card .dataTables_paginate .paginate_button {
    padding: 0 !important;
    margin: 0 2px !important;
    border: 0 !important;
    background: transparent !important;
}

.subscriptions-table-card .dataTables_paginate .paginate_button .page-link {
    border: 1px solid #dfe2e7 !important;
    background: #ffffff !important;
    color: #59616c !important;
    box-shadow: none !important;
}

.subscriptions-table-card .dataTables_paginate .paginate_button:hover .page-link {
    border-color: #ef4e10 !important;
    background: #fff6f1 !important;
    color: #ef4e10 !important;
}

.subscriptions-table-card .dataTables_paginate .paginate_button.active .page-link,
.subscriptions-table-card .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;
    background: #ef4e10 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}

.subscriptions-table-card .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;
    background: #fafbfc !important;
    color: #c5cad3 !important;
    cursor: default !important;
}

.subscriptions-table-card .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .subscriptions-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .subscriptions-table {
        min-width: 1050px;
    }

}


@media (max-width: 991px) {

    .subscriptions-filter-field {
        margin-bottom: 12px;
    }

    .subscriptions-filter-actions {
        margin-bottom: 0;
    }

    .subscriptions-filter-label-spacer {
        display: none;
    }

    .subscriptions-filter-buttons {
        margin-top: 2px;
    }

}


@media (max-width: 767px) {

    .subscriptions-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn-add-subscription {
        width: 100%;
        text-align: center;
    }

    .subscriptions-filter-body {
        padding: 15px;
    }

    .subscriptions-filter-buttons {
        width: 100%;
    }

    .subscriptions-search-button,
    .subscriptions-reset-button {
        flex: 1;
    }

    .subscriptions-table-card .dataTables_length,
    .subscriptions-table-card .dataTables_filter {
        padding-left: 15px;
        padding-right: 15px;
    }

    .subscriptions-table-card .dataTables_filter input {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }

    .subscriptions-table-card .dataTables_info {
        padding-left: 15px;
        padding-right: 15px;
    }

    .subscriptions-table-card .dataTables_paginate {
        padding-left: 15px;
        padding-right: 15px;
    }

}


@media (max-width: 480px) {

    .subscriptions-header-card,
    .subscriptions-filter-card,
    .subscriptions-table-card {
        border-radius: 6px;
    }

    .subscriptions-header {
        padding: 13px 14px;
    }

    .subscriptions-filter-header,
    .subscriptions-table-header {
        padding: 13px 14px;
    }

    .subscriptions-filter-body {
        padding: 14px;
    }

}






/* =========================================================
   Invoices List Page
   ========================================================= */

.invoices-page {
    padding-bottom: 24px;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.invoices-header-card {
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 39, 75, 0.04);
    margin-bottom: 16px;
}

.invoices-header {
    min-height: 68px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.invoices-title-wrap {
    min-width: 0;
}

.invoices-title-wrap h3 {
    margin: 0;
    font-weight: 600;
    color: #252a34;
}

.btn-create-invoice {
    background: #ef4e10;
    border: 1px solid #ef4e10;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.14);
}

.btn-create-invoice:hover,
.btn-create-invoice:focus {
    background: #d9430b;
    border-color: #d9430b;
    color: #ffffff;
    box-shadow: 0 3px 7px rgba(239, 78, 16, 0.18);
}


/* =========================================================
   FLASH
   ========================================================= */

.invoices-flash {
    margin-bottom: 16px;
}

.invoices-flash .alert {
    margin-bottom: 0;
    border-radius: 7px;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.invoices-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #303641;
    font-weight: 600;
}

.invoices-section-title i {
    color: #ef4e10;
}


/* =========================================================
   FILTER CARD
   ========================================================= */

.invoices-filter-card {
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 39, 75, 0.04);
    margin-bottom: 18px;
    overflow: visible;
}

.invoices-filter-header {
    min-height: 52px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eceef2;
    background: #ffffff;
    border-radius: 8px 8px 0 0;
}

.invoices-filter-body {
    padding: 17px 18px;
}

.invoices-filter-form {
    margin: 0;
}

.invoices-filter-row {
    margin-left: -6px;
    margin-right: -6px;
    align-items: flex-end;
}

.invoices-filter-row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

.invoices-filter-field {
    margin-bottom: 0;
}

.invoices-filter-label {
    display: block;
    margin-bottom: 7px;
    color: #555c68;
    font-weight: 500;
}

.invoices-filter-label-spacer {
    visibility: hidden;
}


/* =========================================================
   INPUTS / SELECT
   ========================================================= */

.invoices-search-input,
.invoices-status-select,
.invoices-date-input {
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
}

.invoices-search-input:focus,
.invoices-status-select:focus,
.invoices-date-input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}


/* =========================================================
   FILTER BUTTONS
   ========================================================= */

.invoices-filter-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
}

.invoices-search-button {
    background: #ef4e10;
    border-color: #ef4e10;
    border-radius: 6px;
    box-shadow: none;
}

.invoices-search-button:hover,
.invoices-search-button:focus {
    background: #d9430b;
    border-color: #d9430b;
    box-shadow: none;
}

.invoices-reset-button {
    background: #ffffff;
    border: 1px solid #dfe2e7;
    color: #555c68;
    border-radius: 6px;
}

.invoices-reset-button:hover,
.invoices-reset-button:focus {
    background: #f7f8fa;
    border-color: #cfd3d9;
    color: #303641;
}


/* =========================================================
   TABLE CARD
   ========================================================= */

.invoices-table-card {
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 39, 75, 0.04);
    overflow: hidden;
}

.invoices-table-header {
    min-height: 52px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eceef2;
    background: #ffffff;
}

.invoices-table-body {
    padding: 0;
}

.invoices-table-responsive {
    width: 100%;
    margin: 0;
}


/* =========================================================
   TABLE
   ========================================================= */

.invoices-table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse;
    background: #ffffff;
    color: #3f4650;
}

.invoices-table thead th {
    background: #ffffff;
    color: #555c68;
    font-weight: 600;
    border-top: 0;
    border-bottom: 1px solid #dfe2e7;
    border-left: 1px solid #e7e9ed;
    border-right: 1px solid #e7e9ed;
    vertical-align: middle;
    white-space: nowrap;
}

.invoices-table thead th:first-child {
    border-left: 0;
}

.invoices-table thead th:last-child {
    border-right: 0;
}

.invoices-table tbody td {
    background: #ffffff;
    border-top: 1px solid #e8eaee;
    border-left: 1px solid #eceef2;
    border-right: 1px solid #eceef2;
    vertical-align: middle;
}

.invoices-table tbody td:first-child {
    border-left: 0;
}

.invoices-table tbody td:last-child {
    border-right: 0;
}


/* Remove Bootstrap striped background */

.invoices-table.table-striped tbody tr:nth-of-type(odd),
.invoices-table.table-striped tbody tr:nth-of-type(even) {
    background: #ffffff;
}

.invoices-table tbody tr:hover td {
    background: #fffaf7;
}


/* =========================================================
   INVOICE CONTENT
   ========================================================= */

.invoice-number-cell {
    white-space: nowrap;
    color: #303641;
}

.invoice-number-cell strong {
    color: #303641;
}

.invoice-age {
    margin-top: 5px;
}

.invoice-client-cell {
    color: #303641;
}

.invoice-client-cell strong {
    font-weight: 600;
}

.invoice-domains-cell {
    min-width: 150px;
    word-break: break-word;
}

.invoice-domain-badge {
    background: #f3f4f6;
    border: 1px solid #e1e3e7;
    color: #59616c;
    border-radius: 14px;
    font-weight: 500;
}

.invoice-date-cell,
.invoice-due-date-cell {
    white-space: nowrap;
    color: #555c68;
}

.invoice-money-cell {
    white-space: nowrap;
    color: #4c535d;
}

.invoice-grand-total-cell {
    white-space: nowrap;
    color: #303641;
}

.invoice-grand-total-cell strong {
    font-weight: 600;
}

.invoice-status-cell,
.invoice-payment-cell,
.invoice-actions-cell {
    text-align: center;
    white-space: nowrap;
}

.invoice-overdue-text {
    color: #c83e35 !important;
}


/* =========================================================
   BADGES
   ========================================================= */

.invoices-table .invoice-badge {
    border-radius: 20px;
    border: 1px solid transparent;
    font-weight: 500;
    padding: 5px 9px;
}

.invoices-table .badge-success {
    background: #eaf7ef;
    border-color: #ccebd8;
    color: #23864a;
}

.invoices-table .badge-warning {
    background: #fff7e5;
    border-color: #f6dfaa;
    color: #a86d00;
}

.invoices-table .badge-danger {
    background: #fff0ef;
    border-color: #f5cfcc;
    color: #c83e35;
}

.invoices-table .badge-info {
    background: #edf6fc;
    border-color: #d1e8f7;
    color: #287aa8;
}

.invoices-table .badge-primary {
    background: #fff0e9;
    border-color: #ffd3c2;
    color: #ef4e10;
}

.invoices-table .badge-secondary {
    background: #f3f4f6;
    border-color: #e1e3e7;
    color: #59616c;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.invoice-action-group {
    display: inline-flex;
    gap: 5px;
}

.invoice-action-group .invoice-action-view,
.invoice-action-group .invoice-action-send,
.invoice-action-group .invoice-action-pdf,
.invoice-action-group .invoice-action-paid {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px !important;
    background: #ffffff;
    box-shadow: none;
}


/* View */

.invoice-action-view {
    border: 1px solid #cfdce8 !important;
    color: #39739d !important;
}

.invoice-action-view:hover,
.invoice-action-view:focus {
    background: #f2f8fc !important;
    border-color: #aebfce !important;
    color: #2c638a !important;
    box-shadow: none !important;
}


/* Send */

.invoice-action-send {
    border: 1px solid #ccebd8 !important;
    color: #23864a !important;
}

.invoice-action-send:hover,
.invoice-action-send:focus {
    background: #f0faf4 !important;
    border-color: #a9dcb9 !important;
    color: #1b703d !important;
    box-shadow: none !important;
}


/* PDF */

.invoice-action-pdf {
    border: 1px solid #efcfcc !important;
    color: #c64a42 !important;
}

.invoice-action-pdf:hover,
.invoice-action-pdf:focus {
    background: #fff4f3 !important;
    border-color: #e6aaa5 !important;
    color: #ad3730 !important;
    box-shadow: none !important;
}


/* Mark paid */

.invoice-action-paid {
    border: 1px solid #ccebd8 !important;
    color: #23864a !important;
}

.invoice-action-paid:hover,
.invoice-action-paid:focus {
    background: #f0faf4 !important;
    border-color: #a9dcb9 !important;
    color: #1b703d !important;
    box-shadow: none !important;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.invoice-empty-state {
    padding: 45px 20px;
    text-align: center;
}

.invoice-empty-state > i {
    display: block;
    margin-bottom: 15px;
    color: #c5cad3;
}

.invoice-empty-state h5 {
    margin-bottom: 7px;
    color: #404751;
}

.invoice-empty-state p {
    margin-bottom: 18px;
    color: #8a9099;
}


/* =========================================================
   DATATABLE CONTROLS
   ========================================================= */

.invoices-table-card .dataTables_wrapper {
    padding: 0;
}

.invoices-table-card .dataTables_length,
.invoices-table-card .dataTables_filter {
    padding: 14px 18px 0;
}

.invoices-table-card .dataTables_info {
    padding: 15px 18px;
    color: #7d838d;
}

.invoices-table-card .dataTables_paginate {
    padding: 10px 18px 16px;
}


/* Search */

.invoices-table-card .dataTables_filter input {
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    box-shadow: none;
    margin-left: 7px;
}

.invoices-table-card .dataTables_filter input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
    outline: none;
}


/* Length */

.invoices-table-card .dataTables_length select {
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    box-shadow: none;
}


/* =========================================================
   DATATABLE PAGINATION
   ========================================================= */

.invoices-table-card .dataTables_paginate .paginate_button {
    padding: 0 !important;
    margin: 0 2px !important;
    border: 0 !important;
    background: transparent !important;
}

.invoices-table-card .dataTables_paginate .paginate_button .page-link {
    border: 1px solid #dfe2e7 !important;
    background: #ffffff !important;
    color: #59616c !important;
    box-shadow: none !important;
}

.invoices-table-card .dataTables_paginate .paginate_button:hover .page-link {
    border-color: #ef4e10 !important;
    background: #fff6f1 !important;
    color: #ef4e10 !important;
}

.invoices-table-card .dataTables_paginate .paginate_button.active .page-link,
.invoices-table-card .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;
    background: #ef4e10 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}

.invoices-table-card .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;
    background: #fafbfc !important;
    color: #c5cad3 !important;
    cursor: default !important;
}

.invoices-table-card .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .invoices-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .invoices-table {
        min-width: 1100px;
    }

}


@media (max-width: 991px) {

    .invoices-filter-field {
        margin-bottom: 12px;
    }

    .invoices-filter-actions {
        margin-bottom: 0;
    }

    .invoices-filter-label-spacer {
        display: none;
    }

    .invoices-filter-buttons {
        margin-top: 2px;
    }

}


@media (max-width: 767px) {

    .invoices-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn-create-invoice {
        width: 100%;
        text-align: center;
    }

    .invoices-filter-body {
        padding: 15px;
    }

    .invoices-filter-buttons {
        width: 100%;
    }

    .invoices-search-button,
    .invoices-reset-button {
        flex: 1;
    }

    .invoices-table-card .dataTables_length,
    .invoices-table-card .dataTables_filter {
        padding-left: 15px;
        padding-right: 15px;
    }

    .invoices-table-card .dataTables_filter input {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }

    .invoices-table-card .dataTables_info {
        padding-left: 15px;
        padding-right: 15px;
    }

    .invoices-table-card .dataTables_paginate {
        padding-left: 15px;
        padding-right: 15px;
    }

}


@media (max-width: 480px) {

    .invoices-header-card,
    .invoices-filter-card,
    .invoices-table-card {
        border-radius: 6px;
    }

    .invoices-header {
        padding: 13px 14px;
    }

    .invoices-filter-header,
    .invoices-table-header {
        padding: 13px 14px;
    }

    .invoices-filter-body {
        padding: 14px;
    }

}




/* ==========================================================================
   Announcement List Page
   ========================================================================== */

.announcements-page {
    padding-bottom: 20px;
}

.announcements-page .announcements-header-card {
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.announcements-page .announcements-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
}

.announcements-page .announcements-title-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
}

.announcements-page .announcements-title-wrap h3 {
    margin: 0;
}

.announcements-page .btn-create-announcement {
    border-color: #ef4e10;
    background: #ef4e10;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15);
    white-space: nowrap;
}

.announcements-page .btn-create-announcement:hover,
.announcements-page .btn-create-announcement:focus {
    border-color: #d9430b;
    background: #d9430b;
    color: #ffffff;
    box-shadow: 0 3px 7px rgba(239, 78, 16, 0.20);
}

.announcements-page .btn-create-announcement i {
    margin-right: 5px;
}


/* --------------------------------------------------------------------------
   FLASH MESSAGE
   -------------------------------------------------------------------------- */

.announcements-page .alert {
    border-radius: 7px;
    margin-bottom: 20px;
}


/* --------------------------------------------------------------------------
   TABLE CARD
   -------------------------------------------------------------------------- */

.announcements-page .announcements-table-card {
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden;
    background: #ffffff;
}

.announcements-page .announcements-table-header {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 18px;
    border-bottom: 1px solid #e7e9ee;
    background: #ffffff;
}

.announcements-page .announcements-table-header strong {
    font-weight: 600;
}

.announcements-page .announcements-table-body {
    padding: 0;
    background: #ffffff;
}

.announcements-page .announcements-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* --------------------------------------------------------------------------
   TABLE
   -------------------------------------------------------------------------- */

.announcements-page .announcements-table {
    width: 100%;
    margin: 0;
    background: #ffffff;
    border-collapse: collapse;
}

.announcements-page .announcements-table thead th {
    background: #ffffff;
    border-top: 0;
    border-bottom: 1px solid #dfe2e8;
    border-left: 1px solid #e7e9ee;
    border-right: 1px solid #e7e9ee;
    padding: 12px 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.announcements-page .announcements-table thead th:first-child {
    border-left: 0;
}

.announcements-page .announcements-table thead th:last-child {
    border-right: 0;
}

.announcements-page .announcements-table tbody td {
    background: #ffffff;
    border-top: 0;
    border-bottom: 1px solid #e7e9ee;
    border-left: 1px solid #eef0f3;
    border-right: 1px solid #eef0f3;
    padding: 12px 12px;
    vertical-align: middle;
}

.announcements-page .announcements-table tbody td:first-child {
    border-left: 0;
}

.announcements-page .announcements-table tbody td:last-child {
    border-right: 0;
}

.announcements-page .announcements-table tbody tr:last-child td {
    border-bottom: 0;
}

.announcements-page .announcements-table tbody tr:hover td {
    background: #fafbfc;
}

.announcements-page .announcements-table tbody tr {
    transition: background-color 0.15s ease;
}


/* --------------------------------------------------------------------------
   TABLE CONTENT
   -------------------------------------------------------------------------- */

.announcements-page .announcement-subject {
    font-weight: 600;
    color: #343a40;
}

.announcements-page .announcement-service {
    color: #495057;
}

.announcements-page .announcement-count {
    font-weight: 500;
}

.announcements-page .announcement-created {
    white-space: nowrap;
    color: #495057;
}

.announcements-page .announcement-badge {
    display: inline-block;
    white-space: nowrap;
    font-weight: 500;
    border-radius: 5px;
}


/* --------------------------------------------------------------------------
   ACTION
   -------------------------------------------------------------------------- */

.announcements-page .announcement-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcements-page .announcement-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: none;
}

.announcements-page .announcement-action-view {
    border-color: #17a2b8;
    color: #17a2b8;
}

.announcements-page .announcement-action-view:hover,
.announcements-page .announcement-action-view:focus {
    background: #17a2b8;
    border-color: #17a2b8;
    color: #ffffff;
}


/* --------------------------------------------------------------------------
   EMPTY STATE
   -------------------------------------------------------------------------- */

.announcements-page .announcement-empty {
    padding: 30px 15px !important;
}


/* --------------------------------------------------------------------------
   DATATABLE CONTROLS
   -------------------------------------------------------------------------- */

.announcements-page .dataTables_wrapper {
    padding: 0;
}

.announcements-page .dataTables_wrapper .dataTables_length,
.announcements-page .dataTables_wrapper .dataTables_filter {
    padding: 15px 18px;
}

.announcements-page .dataTables_wrapper .dataTables_info,
.announcements-page .dataTables_wrapper .dataTables_paginate {
    padding: 15px 18px;
}

.announcements-page .dataTables_wrapper .dataTables_filter input {
    border: 1px solid #dfe2e8;
    border-radius: 5px;
    outline: none;
}

.announcements-page .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}

.announcements-page .dataTables_wrapper .dataTables_length select {
    border: 1px solid #dfe2e8;
    border-radius: 5px;
    outline: none;
}

.announcements-page .dataTables_wrapper .dataTables_length select:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}


/* --------------------------------------------------------------------------
   DATATABLE PAGINATION
   -------------------------------------------------------------------------- */

.announcements-page .dataTables_paginate .paginate_button.active .page-link,
.announcements-page .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;
    background: #ef4e10 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}

.announcements-page .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;
    background: #fafbfc !important;
    color: #c5cad3 !important;
    cursor: default !important;
}

.announcements-page .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}

.announcements-page .dataTables_paginate .paginate_button:not(.active):not(.current):not(.disabled) .page-link:hover {
    border-color: #ef4e10 !important;
    background: #fff7f3 !important;
    color: #ef4e10 !important;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

    .announcements-page .announcements-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .announcements-page .btn-create-announcement {
        width: 100%;
    }

    .announcements-page .announcements-table {
        min-width: 950px;
    }

    .announcements-page .dataTables_wrapper .dataTables_length,
    .announcements-page .dataTables_wrapper .dataTables_filter,
    .announcements-page .dataTables_wrapper .dataTables_info,
    .announcements-page .dataTables_wrapper .dataTables_paginate {
        padding-left: 12px;
        padding-right: 12px;
    }

}

@media (max-width: 576px) {

    .announcements-page .announcements-header {
        padding: 15px;
    }

    .announcements-page .announcements-table-header {
        padding: 13px 15px;
    }

}




/* ==========================================================================
   ACTIVITY LOGS PAGE
   ========================================================================== */

.activity-logs-page {
    padding-bottom: 20px;
}

.activity-logs-page .activity-logs-card {
    background: #ffffff;
    border: 1px solid #e8eaef;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}


/* --------------------------------------------------------------------------
   PAGE HEADING
   -------------------------------------------------------------------------- */

.activity-logs-page .activity-logs-heading {
    padding: 20px 20px 12px 20px;
}

.activity-logs-page .activity-logs-heading h3 {
    margin: 0 0 3px 0;
}

.activity-logs-page .activity-logs-heading p {
    margin: 0;
    color: #7c8494;
}


/* --------------------------------------------------------------------------
   DATATABLE WRAPPER
   -------------------------------------------------------------------------- */

.activity-logs-page .dataTables_wrapper {
    padding: 0 20px 16px 20px;
}


/* --------------------------------------------------------------------------
   DATATABLE TOP CONTROLS
   -------------------------------------------------------------------------- */

.activity-logs-page .dataTables_wrapper .dataTables_length,
.activity-logs-page .dataTables_wrapper .dataTables_filter {
    padding: 0;
    margin-bottom: 10px;
}

.activity-logs-page .dataTables_wrapper .dataTables_length {
    display: flex;
    align-items: center;
}

.activity-logs-page .dataTables_wrapper .dataTables_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.activity-logs-page .dataTables_wrapper .dataTables_length select {
    margin: 0 7px;
    min-width: 48px;
    height: 30px;
    padding: 3px 24px 3px 9px;
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
    outline: none;
}

.activity-logs-page .dataTables_wrapper .dataTables_length select:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}

.activity-logs-page .dataTables_wrapper .dataTables_filter input {
    width: 160px;
    height: 30px;
    margin-left: 7px;
    padding: 5px 10px;
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    outline: none;
    background: #ffffff;
}

.activity-logs-page .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}


/* --------------------------------------------------------------------------
   TABLE
   -------------------------------------------------------------------------- */

.activity-logs-page .activity-logs-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.activity-logs-page .activity-logs-table {
    width: 100%;
    margin: 0;
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}

.activity-logs-page .activity-logs-table thead th {
    padding: 11px 11px;
    background: #ffffff;
    color: #4e5665;
    border-top: 1px solid #e7eaf0;
    border-bottom: 1px solid #e7eaf0;
    border-left: 1px solid #eef0f4;
    border-right: 1px solid #eef0f4;
    vertical-align: middle;
    white-space: nowrap;
}

.activity-logs-page .activity-logs-table thead th:first-child {
    border-left: 1px solid #e7eaf0;
}

.activity-logs-page .activity-logs-table thead th:last-child {
    border-right: 1px solid #e7eaf0;
}

.activity-logs-page .activity-logs-table tbody td {
    padding: 11px 11px;
    background: #ffffff;
    border-top: 0;
    border-bottom: 1px solid #eef0f4;
    border-left: 1px solid #f0f2f5;
    border-right: 1px solid #f0f2f5;
    vertical-align: middle;
}

.activity-logs-page .activity-logs-table tbody td:first-child {
    border-left: 1px solid #e7eaf0;
}

.activity-logs-page .activity-logs-table tbody td:last-child {
    border-right: 1px solid #e7eaf0;
}

.activity-logs-page .activity-logs-table tbody tr:last-child td {
    border-bottom: 1px solid #e7eaf0;
}

.activity-logs-page .activity-logs-table tbody tr:hover td {
    background: #fafbfc;
}


/* Remove Bootstrap striped-row appearance */

.activity-logs-page .activity-logs-table.table-striped tbody tr:nth-of-type(odd),
.activity-logs-page .activity-logs-table.table-striped tbody tr:nth-of-type(even) {
    background: #ffffff;
}

.activity-logs-page .activity-logs-table.table-striped tbody tr:nth-of-type(odd) td,
.activity-logs-page .activity-logs-table.table-striped tbody tr:nth-of-type(even) td {
    background: #ffffff;
}

.activity-logs-page .activity-logs-table.table-striped tbody tr:hover td {
    background: #fafbfc;
}


/* --------------------------------------------------------------------------
   USER
   -------------------------------------------------------------------------- */

.activity-logs-page .activity-log-user {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.activity-logs-page .activity-log-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: #fff0eb;
    color: #ef4e10;
    font-weight: 600;
}

.activity-logs-page .activity-log-user strong {
    font-weight: 600;
    color: #343a40;
}


/* --------------------------------------------------------------------------
   MODULE BADGES
   -------------------------------------------------------------------------- */

.activity-logs-page .activity-log-module {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}


/* --------------------------------------------------------------------------
   DATATABLE BOTTOM CONTROLS
   -------------------------------------------------------------------------- */

.activity-logs-page .dataTables_wrapper .dataTables_info {
    padding: 13px 4px 0 4px;
    color: #737b8b;
}

.activity-logs-page .dataTables_wrapper .dataTables_paginate {
    padding: 9px 0 0 0;
}


/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */

.activity-logs-page .dataTables_paginate .paginate_button {
    margin-left: 3px !important;
}

.activity-logs-page .dataTables_paginate .paginate_button .page-link {
    min-width: 28px;
    border: 1px solid #e5e8ed !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #626b7a !important;
    box-shadow: none !important;
}

.activity-logs-page .dataTables_paginate .paginate_button.active .page-link,
.activity-logs-page .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;
    background: #ef4e10 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}

.activity-logs-page .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;
    background: #fafbfc !important;
    color: #c5cad3 !important;
    cursor: default !important;
}

.activity-logs-page .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}

.activity-logs-page .dataTables_paginate .paginate_button:not(.active):not(.current):not(.disabled) .page-link:hover {
    border-color: #ef4e10 !important;
    background: #fff7f3 !important;
    color: #ef4e10 !important;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

    .activity-logs-page .activity-logs-heading {
        padding: 16px 15px 12px 15px;
    }

    .activity-logs-page .dataTables_wrapper {
        padding: 0 15px 15px 15px;
    }

    .activity-logs-page .dataTables_wrapper .dataTables_length,
    .activity-logs-page .dataTables_wrapper .dataTables_filter {
        float: none;
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .activity-logs-page .dataTables_wrapper .dataTables_filter {
        justify-content: flex-start;
    }

    .activity-logs-page .dataTables_wrapper .dataTables_filter input {
        width: 180px;
    }

    .activity-logs-page .activity-logs-table {
        min-width: 850px;
    }

    .activity-logs-page .dataTables_wrapper .dataTables_info,
    .activity-logs-page .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: left;
    }

}

@media (max-width: 576px) {

    .activity-logs-page .dataTables_wrapper .dataTables_filter input {
        width: 150px;
    }

    .activity-logs-page .activity-logs-table {
        min-width: 850px;
    }

}














/* ==========================================================================
   EMAIL LOGS PAGE
   ========================================================================== */

.email-logs-page {
    padding-bottom: 20px;
}

.email-logs-page .email-logs-card {
    background: #ffffff;
    border: 1px solid #e8eaef;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}


/* --------------------------------------------------------------------------
   PAGE HEADING
   -------------------------------------------------------------------------- */

.email-logs-page .email-logs-heading {
    padding: 20px 20px 14px 20px;
}

.email-logs-page .email-logs-heading h3 {
    margin: 0;
}


/* --------------------------------------------------------------------------
   DATATABLE WRAPPER
   -------------------------------------------------------------------------- */

.email-logs-page .dataTables_wrapper {
    padding: 0 20px 16px 20px;
}


/* --------------------------------------------------------------------------
   DATATABLE TOP CONTROLS
   -------------------------------------------------------------------------- */

.email-logs-page .dataTables_wrapper .dataTables_length,
.email-logs-page .dataTables_wrapper .dataTables_filter {
    padding: 0;
    margin-bottom: 10px;
}

.email-logs-page .dataTables_wrapper .dataTables_length {
    display: flex;
    align-items: center;
}

.email-logs-page .dataTables_wrapper .dataTables_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.email-logs-page .dataTables_wrapper .dataTables_length select {
    margin: 0 7px;
    min-width: 48px;
    height: 30px;
    padding: 3px 24px 3px 9px;
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
    outline: none;
}

.email-logs-page .dataTables_wrapper .dataTables_length select:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}

.email-logs-page .dataTables_wrapper .dataTables_filter input {
    width: 200px;
    height: 30px;
    margin-left: 7px;
    padding: 5px 10px;
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    outline: none;
    background: #ffffff;
}

.email-logs-page .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}


/* --------------------------------------------------------------------------
   TABLE
   -------------------------------------------------------------------------- */

.email-logs-page .email-logs-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.email-logs-page .email-logs-table {
    width: 100%;
    margin: 0;
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}

.email-logs-page .email-logs-table thead th {
    padding: 11px 11px;
    background: #ffffff;
    color: #4e5665;
    border-top: 1px solid #e7eaf0;
    border-bottom: 1px solid #e7eaf0;
    border-left: 1px solid #eef0f4;
    border-right: 1px solid #eef0f4;
    vertical-align: middle;
    white-space: nowrap;
}

.email-logs-page .email-logs-table thead th:first-child {
    border-left: 1px solid #e7eaf0;
}

.email-logs-page .email-logs-table thead th:last-child {
    border-right: 1px solid #e7eaf0;
}

.email-logs-page .email-logs-table tbody td {
    padding: 11px 11px;
    background: #ffffff;
    border-top: 0;
    border-bottom: 1px solid #eef0f4;
    border-left: 1px solid #f0f2f5;
    border-right: 1px solid #f0f2f5;
    vertical-align: middle;
}

.email-logs-page .email-logs-table tbody td:first-child {
    border-left: 1px solid #e7eaf0;
}

.email-logs-page .email-logs-table tbody td:last-child {
    border-right: 1px solid #e7eaf0;
}

.email-logs-page .email-logs-table tbody tr:last-child td {
    border-bottom: 1px solid #e7eaf0;
}


/* Remove Bootstrap striped-row appearance */

.email-logs-page .email-logs-table.table-striped tbody tr:nth-of-type(odd),
.email-logs-page .email-logs-table.table-striped tbody tr:nth-of-type(even) {
    background: #ffffff;
}

.email-logs-page .email-logs-table.table-striped tbody tr:nth-of-type(odd) td,
.email-logs-page .email-logs-table.table-striped tbody tr:nth-of-type(even) td {
    background: #ffffff;
}

.email-logs-page .email-logs-table tbody tr:hover td {
    background: #fafbfc;
}


/* --------------------------------------------------------------------------
   TABLE CONTENT
   -------------------------------------------------------------------------- */

.email-logs-page .email-log-recipient {
    font-weight: 600;
    color: #343a40;
    white-space: nowrap;
}

.email-logs-page .email-log-subject {
    display: inline-block;
    max-width: 100%;
    color: #495057;
}

.email-logs-page .email-log-date {
    color: #495057;
    white-space: nowrap;
}


/* --------------------------------------------------------------------------
   TYPE BADGES
   -------------------------------------------------------------------------- */

.email-logs-page .email-log-type {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}


/* --------------------------------------------------------------------------
   INVOICE BADGE
   -------------------------------------------------------------------------- */

.email-logs-page .email-log-invoice {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}


/* --------------------------------------------------------------------------
   STATUS
   -------------------------------------------------------------------------- */

.email-logs-page .email-log-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}

.email-logs-page .email-log-status-sent {
    background: #eaf8f1;
    border: 1px solid #c9ecd9;
    color: #198754;
}

.email-logs-page .email-log-status-failed {
    background: #fff0f0;
    border: 1px solid #f2cccc;
    color: #dc3545;
}


/* --------------------------------------------------------------------------
   DATATABLE BOTTOM CONTROLS
   -------------------------------------------------------------------------- */

.email-logs-page .dataTables_wrapper .dataTables_info {
    padding: 13px 4px 0 4px;
    color: #737b8b;
}

.email-logs-page .dataTables_wrapper .dataTables_paginate {
    padding: 9px 0 0 0;
}


/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */

.email-logs-page .dataTables_paginate .paginate_button {
    margin-left: 3px !important;
}

.email-logs-page .dataTables_paginate .paginate_button .page-link {
    min-width: 28px;
    border: 1px solid #e5e8ed !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #626b7a !important;
    box-shadow: none !important;
}

.email-logs-page .dataTables_paginate .paginate_button.active .page-link,
.email-logs-page .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;
    background: #ef4e10 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}

.email-logs-page .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;
    background: #fafbfc !important;
    color: #c5cad3 !important;
    cursor: default !important;
}

.email-logs-page .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}

.email-logs-page .dataTables_paginate .paginate_button:not(.active):not(.current):not(.disabled) .page-link:hover {
    border-color: #ef4e10 !important;
    background: #fff7f3 !important;
    color: #ef4e10 !important;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

    .email-logs-page .email-logs-heading {
        padding: 16px 15px 12px 15px;
    }

    .email-logs-page .dataTables_wrapper {
        padding: 0 15px 15px 15px;
    }

    .email-logs-page .dataTables_wrapper .dataTables_length,
    .email-logs-page .dataTables_wrapper .dataTables_filter {
        float: none;
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .email-logs-page .dataTables_wrapper .dataTables_filter {
        justify-content: flex-start;
    }

    .email-logs-page .dataTables_wrapper .dataTables_filter input {
        width: 180px;
    }

    .email-logs-page .email-logs-table {
        min-width: 1050px;
    }

    .email-logs-page .dataTables_wrapper .dataTables_info,
    .email-logs-page .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: left;
    }

}

@media (max-width: 576px) {

    .email-logs-page .dataTables_wrapper .dataTables_filter input {
        width: 150px;
    }

    .email-logs-page .email-logs-table {
        min-width: 1050px;
    }

}



/* ==========================================================================
   EMAIL TEMPLATES PAGE
   ========================================================================== */

.email-templates-page {
    padding-bottom: 20px;
}

.email-templates-page .email-templates-card {
    background: #ffffff;
    border: 1px solid #e8eaef;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}


/* --------------------------------------------------------------------------
   PAGE HEADING
   -------------------------------------------------------------------------- */

.email-templates-page .email-templates-heading {
    padding: 20px 20px 14px 20px;
}

.email-templates-page .email-templates-heading h3 {
    margin: 0;
}


/* --------------------------------------------------------------------------
   DATATABLE WRAPPER
   -------------------------------------------------------------------------- */

.email-templates-page .dataTables_wrapper {
    padding: 0 20px 16px 20px;
}


/* --------------------------------------------------------------------------
   DATATABLE TOP CONTROLS
   -------------------------------------------------------------------------- */

.email-templates-page .dataTables_wrapper .dataTables_length,
.email-templates-page .dataTables_wrapper .dataTables_filter {
    padding: 0;
    margin-bottom: 10px;
}

.email-templates-page .dataTables_wrapper .dataTables_length {
    display: flex;
    align-items: center;
}

.email-templates-page .dataTables_wrapper .dataTables_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.email-templates-page .dataTables_wrapper .dataTables_length select {
    margin: 0 7px;
    min-width: 48px;
    height: 30px;
    padding: 3px 24px 3px 9px;
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
    outline: none;
}

.email-templates-page .dataTables_wrapper .dataTables_length select:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}

.email-templates-page .dataTables_wrapper .dataTables_filter input {
    width: 180px;
    height: 30px;
    margin-left: 7px;
    padding: 5px 10px;
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    outline: none;
    background: #ffffff;
}

.email-templates-page .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}


/* --------------------------------------------------------------------------
   TABLE
   -------------------------------------------------------------------------- */

.email-templates-page .email-templates-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.email-templates-page .email-templates-table {
    width: 100%;
    margin: 0;
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}

.email-templates-page .email-templates-table thead th {
    padding: 11px 11px;
    background: #ffffff;
    color: #4e5665;
    border-top: 1px solid #e7eaf0;
    border-bottom: 1px solid #e7eaf0;
    border-left: 1px solid #eef0f4;
    border-right: 1px solid #eef0f4;
    vertical-align: middle;
    white-space: nowrap;
}

.email-templates-page .email-templates-table thead th:first-child {
    border-left: 1px solid #e7eaf0;
}

.email-templates-page .email-templates-table thead th:last-child {
    border-right: 1px solid #e7eaf0;
}

.email-templates-page .email-templates-table tbody td {
    padding: 11px 11px;
    background: #ffffff;
    border-top: 0;
    border-bottom: 1px solid #eef0f4;
    border-left: 1px solid #f0f2f5;
    border-right: 1px solid #f0f2f5;
    vertical-align: middle;
}

.email-templates-page .email-templates-table tbody td:first-child {
    border-left: 1px solid #e7eaf0;
}

.email-templates-page .email-templates-table tbody td:last-child {
    border-right: 1px solid #e7eaf0;
}

.email-templates-page .email-templates-table tbody tr:last-child td {
    border-bottom: 1px solid #e7eaf0;
}


/* Remove Bootstrap striped-row appearance */

.email-templates-page .email-templates-table.table-striped tbody tr:nth-of-type(odd),
.email-templates-page .email-templates-table.table-striped tbody tr:nth-of-type(even) {
    background: #ffffff;
}

.email-templates-page .email-templates-table.table-striped tbody tr:nth-of-type(odd) td,
.email-templates-page .email-templates-table.table-striped tbody tr:nth-of-type(even) td {
    background: #ffffff;
}

.email-templates-page .email-templates-table tbody tr:hover td {
    background: #fafbfc;
}


/* --------------------------------------------------------------------------
   TABLE CONTENT
   -------------------------------------------------------------------------- */

.email-templates-page .email-template-name {
    font-weight: 600;
    color: #343a40;
}

.email-templates-page .email-template-key {
    color: #495057;
    white-space: nowrap;
}


/* --------------------------------------------------------------------------
   STATUS
   -------------------------------------------------------------------------- */

.email-templates-page .email-template-status-link {
    text-decoration: none;
}

.email-templates-page .email-template-status {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}

.email-templates-page .email-template-status-enabled {
    background: #eaf8f1;
    border: 1px solid #c9ecd9;
    color: #198754;
}

.email-templates-page .email-template-status-disabled {
    background: #fff0f0;
    border: 1px solid #f2cccc;
    color: #dc3545;
}

.email-templates-page .email-template-status-link:hover .email-template-status-enabled {
    background: #dff4e9;
}

.email-templates-page .email-template-status-link:hover .email-template-status-disabled {
    background: #ffe5e5;
}


/* --------------------------------------------------------------------------
   EDIT ACTION
   -------------------------------------------------------------------------- */

.email-templates-page .email-template-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 48px;
    background: #ffffff;
    border-color: #6c8cff;
    color: #4e73df;
    border-radius: 5px;
    box-shadow: none;
}

.email-templates-page .email-template-edit:hover,
.email-templates-page .email-template-edit:focus {
    background: #4e73df;
    border-color: #4e73df;
    color: #ffffff;
    box-shadow: none;
}


/* --------------------------------------------------------------------------
   DATATABLE BOTTOM CONTROLS
   -------------------------------------------------------------------------- */

.email-templates-page .dataTables_wrapper .dataTables_info {
    padding: 13px 4px 0 4px;
    color: #737b8b;
}

.email-templates-page .dataTables_wrapper .dataTables_paginate {
    padding: 9px 0 0 0;
}


/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */

.email-templates-page .dataTables_paginate .paginate_button {
    margin-left: 3px !important;
}

.email-templates-page .dataTables_paginate .paginate_button .page-link {
    min-width: 28px;
    border: 1px solid #e5e8ed !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #626b7a !important;
    box-shadow: none !important;
}

.email-templates-page .dataTables_paginate .paginate_button.active .page-link,
.email-templates-page .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;
    background: #ef4e10 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}

.email-templates-page .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;
    background: #fafbfc !important;
    color: #c5cad3 !important;
    cursor: default !important;
}

.email-templates-page .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}

.email-templates-page .dataTables_paginate .paginate_button:not(.active):not(.current):not(.disabled) .page-link:hover {
    border-color: #ef4e10 !important;
    background: #fff7f3 !important;
    color: #ef4e10 !important;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

    .email-templates-page .email-templates-heading {
        padding: 16px 15px 12px 15px;
    }

    .email-templates-page .dataTables_wrapper {
        padding: 0 15px 15px 15px;
    }

    .email-templates-page .dataTables_wrapper .dataTables_length,
    .email-templates-page .dataTables_wrapper .dataTables_filter {
        float: none;
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .email-templates-page .dataTables_wrapper .dataTables_filter {
        justify-content: flex-start;
    }

    .email-templates-page .dataTables_wrapper .dataTables_filter input {
        width: 180px;
    }

    .email-templates-page .email-templates-table {
        min-width: 700px;
    }

    .email-templates-page .dataTables_wrapper .dataTables_info,
    .email-templates-page .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: left;
    }

}

@media (max-width: 576px) {

    .email-templates-page .dataTables_wrapper .dataTables_filter input {
        width: 150px;
    }

    .email-templates-page .email-templates-table {
        min-width: 700px;
    }

}








/* ==========================================================================
   SETTINGS PAGE
   ========================================================================== */

.settings-page {
    padding-bottom: 20px;
}


/* --------------------------------------------------------------------------
   PAGE HEADER
   -------------------------------------------------------------------------- */

.settings-page .settings-page-header {
    margin-bottom: 14px;
}

.settings-page .settings-title-wrap h3 {
    margin: 0;
}


/* --------------------------------------------------------------------------
   ALERT
   -------------------------------------------------------------------------- */

.settings-page .settings-alert {
    margin-bottom: 16px;
}


/* --------------------------------------------------------------------------
   SETTINGS TILES
   -------------------------------------------------------------------------- */

.settings-page .settings-tile {
    background: #ffffff;
    border: 1px solid #e8eaef;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.settings-page .settings-company-tile {
    margin-bottom: 20px;
}

.settings-page .settings-small-tile {
    height: 100%;
}


/* --------------------------------------------------------------------------
   TILE HEADER
   -------------------------------------------------------------------------- */

.settings-page .settings-tile-header {
    padding: 14px 18px;
    border-bottom: 1px solid #e9ebef;
    background: #ffffff;
}

.settings-page .settings-tile-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4e5665;
    font-weight: 600;
}

.settings-page .settings-tile-title i {
    color: #ef4e10;
}


/* --------------------------------------------------------------------------
   TILE BODY
   -------------------------------------------------------------------------- */

.settings-page .settings-tile-body {
    padding: 18px;
}


/* --------------------------------------------------------------------------
   FORM LABELS
   -------------------------------------------------------------------------- */

.settings-page .settings-tile-body label {
    display: block;
    margin-bottom: 6px;
    color: #4e5665;
}


/* --------------------------------------------------------------------------
   FORM CONTROLS
   -------------------------------------------------------------------------- */

.settings-page .settings-tile-body .form-control {
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: none;
}

.settings-page .settings-tile-body .form-control:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}

.settings-page .settings-tile-body textarea.form-control {
    resize: vertical;
}


/* --------------------------------------------------------------------------
   TILE GRID
   -------------------------------------------------------------------------- */

.settings-page .settings-tiles-row {
    margin-left: -10px;
    margin-right: -10px;
}

.settings-page .settings-tiles-row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}


/* --------------------------------------------------------------------------
   ACTIONS
   -------------------------------------------------------------------------- */

.settings-page .settings-actions {
    padding-top: 2px;
}

.settings-page .settings-save-button {
    border-radius: 5px;
    box-shadow: none;
}

.settings-page .settings-save-button:hover,
.settings-page .settings-save-button:focus {
    box-shadow: none;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {

    .settings-page .settings-small-tile {
        height: auto;
    }

}


@media (max-width: 768px) {

    .settings-page .settings-company-tile {
        margin-bottom: 16px;
    }

    .settings-page .settings-tile-header {
        padding: 13px 15px;
    }

    .settings-page .settings-tile-body {
        padding: 15px;
    }

    .settings-page .settings-tiles-row {
        margin-left: -7px;
        margin-right: -7px;
    }

    .settings-page .settings-tiles-row > [class*="col-"] {
        padding-left: 7px;
        padding-right: 7px;
    }

}


@media (max-width: 576px) {

    .settings-page .settings-tile-header {
        padding: 12px 14px;
    }

    .settings-page .settings-tile-body {
        padding: 14px;
    }

    .settings-page .settings-actions {
        padding-top: 0;
    }

}


/* ==========================================================================
   SUBSCRIPTION EDIT PAGE
   ========================================================================== */

.subscription-edit-page {
    padding-bottom: 20px;
}


/* --------------------------------------------------------------------------
   PAGE HEADER
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-edit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.subscription-edit-page .subscription-edit-title-wrap h3 {
    margin: 0;
}

.subscription-edit-page .subscription-edit-subtitle {
    margin-top: 3px;
    color: #7b8494;
}


/* --------------------------------------------------------------------------
   HEADER BACK BUTTON
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-edit-back-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #e0e4ea;
    background: #ffffff;
    color: #3f4754;
    border-radius: 5px;
    box-shadow: none;
}

.subscription-edit-page .subscription-edit-back-button:hover {
    border-color: #ef4e10;
    color: #ef4e10;
    background: #fffaf8;
}


/* --------------------------------------------------------------------------
   ALERTS
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-edit-alert {
    margin-bottom: 16px;
    border-radius: 6px;
}


/* --------------------------------------------------------------------------
   MAIN CARD
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-edit-card {
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}


/* --------------------------------------------------------------------------
   CARD HEADER
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-edit-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid #e7e9ee;
    background: #ffffff;
}

.subscription-edit-page .subscription-edit-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #252b36;
    font-weight: 600;
}

.subscription-edit-page .subscription-edit-card-title i {
    color: #ef4e10;
}


/* --------------------------------------------------------------------------
   CARD BODY
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-edit-card-body {
    padding: 20px 18px 18px 18px;
}


/* --------------------------------------------------------------------------
   FORM LABELS
   -------------------------------------------------------------------------- */

.subscription-edit-page label {
    display: block;
    margin-bottom: 6px;
    color: #454d5b;
}


/* --------------------------------------------------------------------------
   FORM CONTROLS
   -------------------------------------------------------------------------- */

.subscription-edit-page .form-control {
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: none;
}

.subscription-edit-page .form-control:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}

.subscription-edit-page textarea.form-control {
    resize: vertical;
}


/* --------------------------------------------------------------------------
   READ ONLY FIELDS
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-readonly-field {
    background: #fafbfc;
    color: #596273;
}

.subscription-edit-page .subscription-readonly-field:focus {
    border-color: #dfe3e9;
    box-shadow: none;
}


/* --------------------------------------------------------------------------
   PRICE ANALYSIS
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-price-analysis {
    margin: 4px 0 2px 0;
    padding: 13px 14px;
    border-radius: 6px;
    border-left: 4px solid #ef4e10;
    background: #fff8f4;
    border-top: 1px solid #f5e3dc;
    border-right: 1px solid #f5e3dc;
    border-bottom: 1px solid #f5e3dc;
    color: #3f4652;
}

.subscription-edit-page .subscription-price-analysis-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ef4e10;
}

.subscription-edit-page .subscription-price-analysis-divider {
    height: 1px;
    margin: 10px 0;
    background: #ef4e10;
}

.subscription-edit-page #price_difference_text {
    line-height: 1.55;
    color: #000;
}


/*
|--------------------------------------------------------------------------
| Keep JS-generated Bootstrap alert states visually clean
|--------------------------------------------------------------------------
*/

.subscription-edit-page #price_difference_card.alert-info {
    /* border-left-color: #17a2b8; */
    background: #ffddd0;
    border: none;
    border-left: 3px solid #ef4e10;
}

.subscription-edit-page #price_difference_card.alert-warning {
    border-left-color: #f0ad00;
    background: #fffaf0;
}

.subscription-edit-page #price_difference_card.alert-success {
    border-left-color: #28a745;
    background: #f4fbf6;
}

.subscription-edit-page #price_difference_card.alert-secondary {
    border-left-color: #ef4e10;
    background: #fff8f4;
}


/* --------------------------------------------------------------------------
   ACTIONS
   -------------------------------------------------------------------------- */

.subscription-edit-page .subscription-edit-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 17px;
    margin-top: 4px;
    border-top: 1px solid #eceef2;
}

.subscription-edit-page .subscription-update-button {
    border-radius: 5px;
    box-shadow: none;
    background-color: #ef4e10;
    border: none;
}

.subscription-edit-page .subscription-update-button:hover,
.subscription-edit-page .subscription-update-button:focus {
    box-shadow: none;
}

.subscription-edit-page .subscription-form-back-button {
    border: 1px solid #dfe3e9;
    background: #ffffff;
    color: #4b5361;
    border-radius: 5px;
    box-shadow: none;
}

.subscription-edit-page .subscription-form-back-button:hover {
    border-color: #ef4e10;
    color: #ef4e10;
    background: #fffaf8;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

    .subscription-edit-page .subscription-edit-header {
        align-items: flex-start;
        gap: 12px;
    }

    .subscription-edit-page .subscription-edit-card-body {
        padding: 18px 15px 15px 15px;
    }

    .subscription-edit-page .subscription-edit-card-header {
        padding: 13px 15px;
    }

}


@media (max-width: 576px) {

    .subscription-edit-page .subscription-edit-header {
        flex-direction: column;
    }

    .subscription-edit-page .subscription-edit-back-button {
        align-self: flex-start;
    }

    .subscription-edit-page .subscription-edit-actions {
        flex-wrap: wrap;
    }

}



/* ==========================================================================
   INVOICE CREATE PAGE
   ========================================================================== */

.invoice-create-page {
    padding-bottom: 20px;
}


/* --------------------------------------------------------------------------
   PAGE HEADER
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.invoice-create-page .invoice-create-title-wrap h3 {
    margin: 0;
}

.invoice-create-page .invoice-create-subtitle {
    margin-top: 3px;
    color: #7b8494;
}


/* --------------------------------------------------------------------------
   BACK BUTTON
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-back-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #dfe3e9;
    background: #ffffff;
    color: #3f4754;
    border-radius: 5px;
    box-shadow: none;
}

.invoice-create-page .invoice-create-back-button:hover {
    border-color: #ef4e10;
    background: #fffaf8;
    color: #ef4e10;
}


/* --------------------------------------------------------------------------
   ALERT
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-alert {
    margin-bottom: 16px;
    border-radius: 6px;
}


/* --------------------------------------------------------------------------
   GRID
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-grid {
    margin-left: -7px;
    margin-right: -7px;
}

.invoice-create-page .invoice-create-grid > [class*="col-"] {
    padding-left: 7px;
    padding-right: 7px;
}


/* --------------------------------------------------------------------------
   MAIN CARDS
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-card {
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.invoice-create-page .invoice-information-card {
    min-height: 600px;
}

.invoice-create-page .invoice-preview-card {
    min-height: 300px;
}

.invoice-create-page .invoice-notes-card {
    margin-top: 14px;
}


/* --------------------------------------------------------------------------
   CARD HEADERS
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-card-header {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 11px 16px;
    border-bottom: 1px solid #e7e9ee;
    background: #ffffff;
}

.invoice-create-page .invoice-create-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #252b36;
    font-weight: 600;
}

.invoice-create-page .invoice-create-card-title i {
    color: #ef4e10;
}


/* --------------------------------------------------------------------------
   CARD BODY
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-card-body {
    padding: 17px 16px;
}


/* --------------------------------------------------------------------------
   FORM LABELS
   -------------------------------------------------------------------------- */

.invoice-create-page label {
    display: block;
    margin-bottom: 6px;
    color: #454d5b;
}

.invoice-create-page label .text-danger {
    color: #ef4e10 !important;
}


/* --------------------------------------------------------------------------
   FORM CONTROLS
   -------------------------------------------------------------------------- */

.invoice-create-page .form-control {
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: none;
}

.invoice-create-page .form-control:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}


/* --------------------------------------------------------------------------
   SELECT2
   -------------------------------------------------------------------------- */

.invoice-create-page .select2-container {
    width: 100% !important;
}

.invoice-create-page .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 38px;
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
}

.invoice-create-page .select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
    color: #49515e;
}

.invoice-create-page .select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 36px;
    right: 7px;
}

.invoice-create-page .select2-container--default.select2-container--focus
.select2-selection--single {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.07);
}


/* --------------------------------------------------------------------------
   DIVIDER
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-divider {
    height: 1px;
    margin: 4px 0 17px 0;
    background: #eceef2;
}


/* --------------------------------------------------------------------------
   SUBSCRIPTION SECTION
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-subscription-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #343b47;
    font-weight: 600;
}

.invoice-create-page .invoice-subscription-heading i {
    color: #ef4e10;
}


/* --------------------------------------------------------------------------
   SUBSCRIPTION LOADING
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-subscription-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 100px;
    color: #7b8494;
}

.invoice-create-page .invoice-subscription-loading i {
    color: #ef4e10;
}


/* --------------------------------------------------------------------------
   INVOICE PREVIEW EMPTY STATE
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-preview-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 200px;
    text-align: center;
    color: #717b8c;
}

.invoice-create-page .invoice-preview-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #fff0e9;
    color: #ef4e10;
    font-size: 40px;
}

.invoice-create-page .invoice-preview-empty-text {
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   DYNAMIC PREVIEW ITEMS
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-preview-item {
    margin-bottom: 10px !important;
    border: 1px solid #e5e8ed;
    border-radius: 6px;
    box-shadow: none;
}

.invoice-create-page .invoice-preview-item .card-body {
    padding: 12px;
}

.invoice-create-page .invoice-preview-item h6 {
    margin-bottom: 8px !important;
    color: #303744;
}

.invoice-create-page .invoice-preview-item .table {
    color: #596273;
}

.invoice-create-page .invoice-preview-item .table td {
    padding: 3px 0;
    border: 0;
}

.invoice-create-page .invoice-preview-item .table td:first-child {
    color: #7b8494;
}


/* --------------------------------------------------------------------------
   PREVIEW TOTAL
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-preview-total-card {
    margin-top: 10px;
    border: 1px solid #e5e8ed;
    border-radius: 6px;
    background: #fafbfc;
    box-shadow: none;
}

.invoice-create-page .invoice-preview-total-card .card-body {
    padding: 11px 12px;
}

.invoice-create-page .invoice-preview-total-card .table td,
.invoice-create-page .invoice-preview-total-card .table th {
    padding: 5px 0;
    border-top: 0;
}

.invoice-create-page .invoice-preview-grand-total th {
    padding-top: 9px !important;
    border-top: 1px solid #e0e4ea !important;
    color: #252b36;
}


/* --------------------------------------------------------------------------
   INTERNAL NOTES
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-notes-card textarea {
    resize: vertical;
}

.invoice-create-page .invoice-notes-help {
    display: block;
    margin-top: 8px;
    color: #7b8494;
}


/* --------------------------------------------------------------------------
   GENERATE BUTTON
   -------------------------------------------------------------------------- */

.invoice-create-page .invoice-create-submit-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.invoice-create-page .invoice-generate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #ef4e10;
    background: #ef4e10;
    color: #ffffff;
    border-radius: 5px;
    box-shadow: none;
}

.invoice-create-page .invoice-generate-button:hover,
.invoice-create-page .invoice-generate-button:focus {
    border-color: #d9430b;
    background: #d9430b;
    color: #ffffff;
    box-shadow: none;
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {

    .invoice-create-page .invoice-information-card {
        min-height: auto;
    }

    .invoice-create-page .invoice-preview-card {
        margin-top: 14px;
        min-height: auto;
    }

    .invoice-create-page .invoice-notes-card {
        margin-top: 14px;
    }

}


@media (max-width: 768px) {

    .invoice-create-page .invoice-create-header {
        align-items: flex-start;
        gap: 12px;
    }

    .invoice-create-page .invoice-create-card-body {
        padding: 15px;
    }

    .invoice-create-page .invoice-create-card-header {
        padding: 11px 15px;
    }

}


@media (max-width: 576px) {

    .invoice-create-page .invoice-create-header {
        flex-direction: column;
    }

    .invoice-create-page .invoice-create-back-button {
        align-self: flex-start;
    }

    .invoice-create-page .invoice-create-submit-wrap {
        justify-content: stretch;
    }

    .invoice-create-page .invoice-generate-button {
        width: 100%;
    }

}


/* =========================================================
   EMAIL TEMPLATE EDIT PAGE
   ========================================================= */

.email-template-edit-page {
    width: 100%;
}

.email-template-edit-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e9ebef;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(20, 30, 50, 0.04);
    overflow: hidden;
}

.email-template-edit-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #eef0f3;
}

.email-template-edit-title-wrap h3 {
    margin: 0;
    color: #182033;
    font-weight: 600;
}

.email-template-edit-title-wrap p {
    margin: 4px 0 0;
    color: #7a8497;
}

.email-template-edit-body {
    padding: 20px;
}


/* ---------------------------------------------------------
   SUCCESS ALERT
   --------------------------------------------------------- */

.email-template-alert {
    margin-bottom: 18px;
    border-radius: 5px;
}


/* ---------------------------------------------------------
   AVAILABLE VARIABLES
   --------------------------------------------------------- */

.email-template-variables {
    padding: 13px 15px;
    margin-bottom: 18px;
    border: 1px solid #dcecf2;
    border-radius: 6px;
    background: #f7fbfd;
}

.email-template-variables-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #26364a;
    font-weight: 600;
}

.email-template-variables-title i {
    color: #1598bd;
}

.email-template-variable-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.email-template-variable {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid #dce6eb;
    border-radius: 4px;
    background: #ffffff;
    color: #526071;
}


/* ---------------------------------------------------------
   FORM
   --------------------------------------------------------- */

.email-template-form-group {
    margin-bottom: 17px;
}

.email-template-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #263043;
    font-weight: 600;
}

.email-template-input,
.email-template-textarea {
    width: 100%;
    border: 1px solid #dfe3e8;
    border-radius: 5px;
    background: #ffffff;
    color: #303949;
    box-shadow: none;
}

.email-template-input:focus,
.email-template-textarea:focus {
    border-color: rgba(239, 78, 16, 0.55);
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
    outline: none;
}

.email-template-body-group {
    margin-bottom: 18px;
}

.email-template-textarea {
    min-height: 230px;
    resize: vertical;
}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.email-template-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
}

.email-template-update-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #ef4e10;
    background: #ef4e10;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15);
}

.email-template-update-button:hover,
.email-template-update-button:focus {
    border-color: #ef4e10;
    background: #d9430b;
    color: #ffffff;
}

.email-template-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe3e8;
    background: #ffffff;
    color: #3f4857;
}

.email-template-back-button:hover,
.email-template-back-button:focus {
    border-color: #cfd4db;
    background: #f8f9fa;
    color: #263043;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .email-template-edit-header {
        padding: 16px;
    }

    .email-template-edit-body {
        padding: 16px;
    }

    .email-template-variables {
        padding: 12px;
    }

    .email-template-variable-list {
        gap: 6px;
    }

    .email-template-actions {
        flex-wrap: wrap;
    }

}

/* =========================================================
   ANNOUNCEMENTS CREATE PAGE
   ========================================================= */

.announcements-create-page {
    width: 100%;
}


/* ---------------------------------------------------------
   PAGE HEADER
   --------------------------------------------------------- */

.announcements-create-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.announcements-create-title-wrap h3 {
    margin: 0;
    color: #182033;
    font-weight: 600;
}

.announcements-create-title-wrap p {
    margin: 4px 0 0;
    color: #7a8497;
}

.announcements-create-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #dfe3e8;
    background: #ffffff;
    color: #303949;
    box-shadow: none;
}

.announcements-create-back:hover,
.announcements-create-back:focus {
    border-color: #cfd4db;
    background: #f8f9fa;
    color: #182033;
}


/* ---------------------------------------------------------
   MAIN GRID
   --------------------------------------------------------- */

.announcements-create-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
    gap: 16px;
    align-items: start;
}

.announcements-create-left,
.announcements-create-right {
    min-width: 0;
}

.announcements-create-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.announcements-create-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ---------------------------------------------------------
   CARDS
   --------------------------------------------------------- */

.announcements-create-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 7px;
    box-shadow: 0 2px 7px rgba(20, 30, 50, 0.035);
    overflow: hidden;
}

.announcements-create-card-header {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    border-bottom: 1px solid #edf0f3;
    background: #ffffff;
}

.announcements-create-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #202a3a;
}

.announcements-create-card-title i {
    width: 17px;
    color: #ef4e10;
    text-align: center;
}

.announcements-create-card-body {
    padding: 18px;
}


/* ---------------------------------------------------------
   FORM
   --------------------------------------------------------- */

.announcements-form-group {
    margin-bottom: 17px;
}

.announcements-form-group:last-child {
    margin-bottom: 0;
}

.announcements-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #293345;
    font-weight: 600;
}

.announcements-input,
.announcements-textarea {
    width: 100%;
    border: 1px solid #dfe3e8;
    border-radius: 5px;
    background: #ffffff;
    color: #303949;
    box-shadow: none;
}

.announcements-input:focus,
.announcements-textarea:focus {
    border-color: rgba(239, 78, 16, 0.55);
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
    outline: none;
}

.announcements-textarea {
    min-height: 120px;
    resize: vertical;
}

.announcements-message-group small {
    display: block;
    margin-top: 6px;
}


/* ---------------------------------------------------------
   SELECT2
   --------------------------------------------------------- */

.announcements-select.select2-hidden-accessible {
    width: 100% !important;
}

.announcements-dynamic-field {
    margin-top: 18px;
    margin-bottom: 0;
}

.announcements-dynamic-field .select2-container {
    width: 100% !important;
}

.announcements-dynamic-field
.select2-container--default
.select2-selection--single {
    min-height: 38px;
    height: 38px;
    border: 1px solid #dfe3e8;
    border-radius: 5px;
    background: #ffffff;
}

.announcements-dynamic-field
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 36px;
    color: #303949;
    padding-left: 12px;
}

.announcements-dynamic-field
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 36px;
}

.announcements-dynamic-field
.select2-container--default
.select2-selection--multiple {
    min-height: 38px;
    border: 1px solid #dfe3e8;
    border-radius: 5px;
    background: #ffffff;
}

.announcements-dynamic-field
.select2-container--default.select2-container--focus
.select2-selection--single,
.announcements-dynamic-field
.select2-container--default.select2-container--focus
.select2-selection--multiple {
    border-color: rgba(239, 78, 16, 0.55);
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}


/* ---------------------------------------------------------
   AUDIENCE
   --------------------------------------------------------- */

.announcements-audience-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.announcements-audience-options .custom-control {
    min-height: 20px;
    padding-left: 27px;
}

.announcements-audience-options
.custom-control-input:checked
~ .custom-control-label::before {
    border-color: #ef4e10;
    background-color: #ef4e10;
}

.announcements-audience-options
.custom-control-input:focus
~ .custom-control-label::before {
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.12);
}

.announcements-audience-options .custom-control-label {
    color: #303949;
    cursor: pointer;
}


/* ---------------------------------------------------------
   EMAIL PREVIEW
   --------------------------------------------------------- */

.announcements-preview-section {
    min-height: 45px;
}

.announcements-preview-section strong {
    color: #293345;
}

.announcements-preview-subject {
    margin-top: 8px;
    color: #69758a;
    word-break: break-word;
}

.announcements-create-card-body hr {
    margin: 16px 0;
    border-top: 1px solid #edf0f3;
}

.announcements-preview-message {
    min-height: 80px;
    margin-top: 8px;
    color: #3d4758;
    white-space: pre-wrap;
    word-break: break-word;
}


/* ---------------------------------------------------------
   RECIPIENT PREVIEW
   --------------------------------------------------------- */

.announcements-recipient-card {
    min-height: 100px;
}

.announcements-recipient-empty {
    padding: 3px 0;
}

.announcements-recipient-card .alert {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   SEND ACTION
   --------------------------------------------------------- */

.announcements-send-action {
    display: flex;
    justify-content: flex-end;
    padding-top: 0;
}

.announcements-send-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid #ef4e10;
    background: #ef4e10;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15);
}

.announcements-send-button:hover,
.announcements-send-button:focus {
    border-color: #ef4e10;
    background: #d9430b;
    color: #ffffff;
}


/* ---------------------------------------------------------
   FLASH / ALERTS
   --------------------------------------------------------- */

.announcements-create-page > .alert {
    margin-bottom: 18px;
    border-radius: 5px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .announcements-create-grid {
        grid-template-columns: 1fr;
    }

    .announcements-create-right {
        width: 100%;
    }

    .announcements-send-action {
        justify-content: flex-start;
    }

}


@media (max-width: 767px) {

    .announcements-create-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .announcements-create-back {
        align-self: flex-start;
    }

    .announcements-create-card-header {
        padding: 0 14px;
    }

    .announcements-create-card-body {
        padding: 15px;
    }

    .announcements-send-button {
        width: 100%;
    }

    .announcements-send-action {
        width: 100%;
    }

}


/* =========================================================
   CLIENT EDIT PAGE
   ========================================================= */

.clients-edit-page {
    width: 100%;
    padding: 0;
}

.clients-edit-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(20, 28, 45, 0.04);
    overflow: hidden;
}

.clients-edit-header {
    padding: 18px 22px 15px;
    border-bottom: 1px solid #e9ebef;
    background: #ffffff;
}

.clients-edit-title-wrap h3 {
    margin: 0;
}

.clients-edit-title-wrap p {
    margin: 4px 0 0;
    color: #727b8d;
}

.clients-edit-body {
    padding: 20px 22px 18px;
}

.clients-edit-alert {
    margin-bottom: 20px;
    border-radius: 5px;
}

.clients-edit-body label {
    display: block;
    margin-bottom: 6px;
    color: #263044;
    font-weight: 600;
}

.clients-edit-input {
    border: 1px solid #dfe3e9;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.clients-edit-input:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}

.clients-edit-textarea {
    resize: vertical;
    min-height: 90px;
}

.clients-edit-textarea-notes {
    resize: vertical;
    min-height: 105px;
}

.clients-edit-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.clients-edit-update-button {
    border: 1px solid #ef4e10;
    background: #ef4e10;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15);
}

.clients-edit-update-button:hover,
.clients-edit-update-button:focus {
    border-color: #d94309;
    background: #d94309;
    color: #ffffff;
    box-shadow: 0 3px 7px rgba(239, 78, 16, 0.18);
}

.clients-edit-back-button {
    border: 1px solid #dfe3e9;
    background: #ffffff;
    color: #303847;
}

.clients-edit-back-button:hover,
.clients-edit-back-button:focus {
    border-color: #cdd2da;
    background: #f8f9fb;
    color: #202735;
    box-shadow: none;
}

.clients-edit-status-select {
    position: relative;
}

.clients-edit-status-select .clients-edit-status-dot {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.clients-edit-status-select select {
    padding-left: 28px;
}

.clients-edit-status-active {
    background: #22c55e;
}

.clients-edit-status-inactive {
    background: #ef4444;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .clients-edit-header {
        padding: 16px 15px 13px;
    }

    .clients-edit-body {
        padding: 17px 15px 15px;
    }

    .clients-edit-actions {
        flex-wrap: wrap;
    }

    .clients-edit-update-button,
    .clients-edit-back-button {
        margin-bottom: 2px;
    }

}

@media (max-width: 575.98px) {

    .clients-edit-card {
        border-radius: 6px;
    }

    .clients-edit-header {
        padding: 15px 13px 12px;
    }

    .clients-edit-body {
        padding: 15px 13px 13px;
    }

    .clients-edit-actions {
        width: 100%;
    }

    .clients-edit-update-button,
    .clients-edit-back-button {
        width: auto;
    }

}

/* ==========================================================================
   CLIENT VIEW PAGE
   ========================================================================== */

.clients-view-page {
    padding-top: 4px;
    padding-bottom: 8px;
}


/* ==========================================================================
   PAGE HEADER
   ========================================================================== */

.clients-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.clients-view-title-wrap {
    min-width: 0;
}

.clients-view-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
    color: #8a93a3;
    font-size: inherit;
}

.clients-view-breadcrumb span {
    color: #b9bec8;
}

.clients-view-header h3 {
    margin: 0;
}

.clients-view-header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.clients-view-edit-btn,
.clients-view-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 5px;
    border: 1px solid #e3e6eb;
    background: #ffffff;
    color: #252b36;
    box-shadow: none;
}

.clients-view-edit-btn {
    border-color: #ef4e10;
    background: #ef4e10;
    color: #ffffff;
}

.clients-view-edit-btn:hover,
.clients-view-edit-btn:focus {
    border-color: #d94308;
    background: #d94308;
    color: #ffffff;
}

.clients-view-back-btn:hover,
.clients-view-back-btn:focus {
    border-color: #d9dde4;
    background: #f8f9fb;
    color: #252b36;
}


/* ==========================================================================
   CONTENT COLUMNS
   ========================================================================== */

.clients-view-content {
    align-items: flex-start;
}

.clients-view-sidebar,
.clients-view-main {
    min-width: 0;
}

.clients-view-sidebar {
    padding-right: 7px;
}

.clients-view-main {
    padding-left: 7px;
}


/* ==========================================================================
   LEFT INFORMATION CARDS
   ========================================================================== */

.clients-view-info-card,
.clients-view-table-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(25, 35, 50, 0.045);
    overflow: hidden;
}

.clients-view-info-card {
    margin-bottom: 12px;
}

.clients-view-info-header,
.clients-view-table-header {
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #e7e9ed;
    background: #ffffff;
}

.clients-view-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 600;
}

.clients-view-section-title i {
    color: #ef4e10;
}

.clients-view-header-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8d96a5;
    text-decoration: none;
}

.clients-view-header-edit:hover {
    color: #ef4e10;
}

.clients-view-info-body {
    padding: 10px 12px;
}

.clients-view-info-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 0;
}

.clients-view-info-row + .clients-view-info-row {
    border-top: 1px solid #f0f1f3;
}

.clients-view-info-icon {
    width: 17px;
    flex: 0 0 17px;
    padding-top: 2px;
    color: #687284;
    text-align: center;
}

.clients-view-info-content {
    min-width: 0;
    flex: 1;
}

.clients-view-info-label {
    margin-bottom: 2px;
    color: #6f7888;
}

.clients-view-info-value {
    color: #252b36;
    word-break: break-word;
}


/* ==========================================================================
   COMPANY DETAILS
   ========================================================================== */

.clients-view-detail-row {
    display: grid;
    grid-template-columns: 42% minmax(0, 58%);
    gap: 8px;
    padding: 7px 0;
}

.clients-view-detail-row + .clients-view-detail-row {
    border-top: 1px solid #f0f1f3;
}

.clients-view-detail-label {
    color: #697384;
}

.clients-view-detail-value {
    color: #252b36;
    min-width: 0;
    word-break: break-word;
}


/* ==========================================================================
   CLIENT STATUS
   ========================================================================== */

.clients-view-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.clients-view-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.clients-view-status-active {
    color: #1d9a55;
}

.clients-view-status-active .clients-view-status-dot {
    background: #22b573;
}

.clients-view-status-inactive {
    color: #d63c3c;
}

.clients-view-status-inactive .clients-view-status-dot {
    background: #e14b4b;
}


/* ==========================================================================
   RIGHT SIDE TABLE CARDS
   ========================================================================== */

.clients-view-table-card {
    margin-bottom: 12px;
}

.clients-view-table-card:last-child {
    margin-bottom: 0;
}

.clients-view-table-header {
    min-height: 42px;
}

.clients-view-table-body {
    padding: 0;
}

.clients-view-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 600;
}

.clients-view-count-orange {
    color: #ef4e10;
    background: #fff1eb;
}

.clients-view-count-green {
    color: #1c9b59;
    background: #e9f8ef;
}

.clients-view-count-blue {
    color: #2785c7;
    background: #eaf5fc;
}


/* ==========================================================================
   TABLE
   ========================================================================== */

.clients-view-table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.clients-view-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: #ffffff;
}

.clients-view-table thead th {
    padding: 8px 7px;
    border-top: 0;
    border-bottom: 1px solid #e2e5e9;
    border-right: 1px solid #eceef1;
    background: #ffffff;
    color: #4f5868;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.clients-view-table thead th:last-child {
    border-right: 0;
}

.clients-view-table tbody td {
    padding: 8px 7px;
    border-top: 0;
    border-bottom: 1px solid #eceef1;
    border-right: 1px solid #f0f1f3;
    color: #3f4755;
    vertical-align: middle;
    white-space: nowrap;
}

.clients-view-table tbody td:last-child {
    border-right: 0;
}

.clients-view-table tbody tr:last-child td {
    border-bottom: 0;
}

.clients-view-table tbody tr:hover {
    background: #fffaf7;
}

.clients-view-primary-text {
    color: #252b36;
}

.clients-view-muted {
    color: #8a93a2;
}


/* ==========================================================================
   STATUS BADGES
   ========================================================================== */

.clients-view-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.clients-view-badge-success {
    color: #198754;
    background: #e5f7ed;
}

.clients-view-badge-warning {
    color: #a56a00;
    background: #fff3d9;
}

.clients-view-badge-danger {
    color: #d13c3c;
    background: #ffe7e7;
}


/* ==========================================================================
   ACTION BUTTONS
   ========================================================================== */

.clients-view-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 27px;
    padding: 3px 8px;
    margin-right: 3px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: #ffffff;
    text-decoration: none !important;
    white-space: nowrap;
}

.clients-view-action:last-child {
    margin-right: 0;
}

.clients-view-action-reminder {
    border-color: #ef4e10;
    color: #ef4e10;
}

.clients-view-action-reminder:hover {
    background: #fff3ee;
    color: #d94308;
}

.clients-view-action-pdf {
    border-color: #dc4b4b;
    color: #dc4b4b;
}

.clients-view-action-pdf:hover {
    background: #fff1f1;
    color: #c93636;
}

.clients-view-action-paid {
    border-color: #2aa66f;
    color: #218b5c;
}

.clients-view-action-paid:hover {
    background: #eefaf4;
    color: #18764d;
}


/* ==========================================================================
   EMPTY STATES
   ========================================================================== */

.clients-view-empty {
    min-height: 48px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c83ad;
    background: #eff9fd;
    border: 1px solid #d5edf6;
    border-radius: 5px;
    margin: 10px;
}

.clients-view-empty i {
    color: #2d96c3;
}

.clients-view-empty-info {
    color: #2c83ad;
}


/* ==========================================================================
   DATATABLE CONTROLS
   ========================================================================== */

.clients-view-table-card .dataTables_wrapper {
    width: 100%;
}

.clients-view-table-card .dataTables_wrapper .dataTables_length,
.clients-view-table-card .dataTables_wrapper .dataTables_filter {
    padding: 8px 10px 7px;
}

.clients-view-table-card .dataTables_wrapper .dataTables_length label,
.clients-view-table-card .dataTables_wrapper .dataTables_filter label {
    margin-bottom: 0;
    color: #667080;
}

.clients-view-table-card .dataTables_wrapper .dataTables_filter input {
    margin-left: 5px;
    border: 1px solid #dfe3e8;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: none;
}

.clients-view-table-card .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #ef4e10;
    outline: none;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}

.clients-view-table-card .dataTables_wrapper .dataTables_info {
    padding: 8px 10px;
    color: #6f7888;
}

.clients-view-table-card .dataTables_wrapper .dataTables_paginate {
    padding: 5px 10px 8px;
}

.clients-view-table-card .dataTables_paginate .paginate_button {
    padding: 0;
    margin-left: 3px;
}

.clients-view-table-card .dataTables_paginate .paginate_button .page-link {
    border: 1px solid #e0e3e8 !important;
    background: #ffffff !important;
    color: #566071 !important;
    box-shadow: none !important;
}

.clients-view-table-card .dataTables_paginate .paginate_button.active .page-link,
.clients-view-table-card .dataTables_paginate .paginate_button.current .page-link {
    border-color: #ef4e10 !important;
    background: #ef4e10 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(239, 78, 16, 0.15) !important;
}

.clients-view-table-card .dataTables_paginate .paginate_button.disabled .page-link {
    border-color: #f0f1f4 !important;
    background: #fafbfc !important;
    color: #c5cad3 !important;
    cursor: default !important;
}

.clients-view-table-card .dataTables_paginate .paginate_button .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

    .clients-view-header {
        align-items: flex-start;
    }

    .clients-view-sidebar {
        padding-right: 15px;
        margin-bottom: 4px;
    }

    .clients-view-main {
        padding-left: 15px;
    }

    .clients-view-info-card {
        margin-bottom: 12px;
    }

    .clients-view-table-card {
        margin-bottom: 12px;
    }

}


@media (max-width: 767.98px) {

    .clients-view-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .clients-view-header-actions {
        justify-content: flex-start;
    }

    .clients-view-edit-btn,
    .clients-view-back-btn {
        flex: 0 0 auto;
    }

    .clients-view-sidebar,
    .clients-view-main {
        padding-left: 15px;
        padding-right: 15px;
    }

    .clients-view-detail-row {
        grid-template-columns: 40% minmax(0, 60%);
    }

    .clients-view-table-responsive {
        overflow-x: auto;
    }

    .clients-view-table {
        min-width: 900px;
    }

}


@media (max-width: 575.98px) {

    .clients-view-header-actions {
        width: 100%;
    }

    .clients-view-edit-btn,
    .clients-view-back-btn {
        flex: 1;
    }

    .clients-view-detail-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .clients-view-detail-row + .clients-view-detail-row {
        padding-top: 8px;
    }

}

/* ==========================================================================
   INVOICE VIEW PAGE
   ========================================================================== */

.invoices-view-page {
    width: 100%;
    max-width: 100%;
}


/* ==========================================================================
   PAYMENT ALERT
   ========================================================================== */

.invoices-view-page .invoice-payment-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 12px;
    margin-bottom: 12px;
    border: 1px solid #ef4e10;
    border-radius: 5px;
    background: #fff7f3;
    color: #343a40;
}

.invoices-view-page .invoice-payment-alert-message {
    display: flex;
    align-items: center;
    gap: 7px;
}

.invoices-view-page .invoice-payment-alert-message > i {
    color: #ef4e10;
}

.invoices-view-page .invoice-alert-close {
    padding: 0;
    border: 0;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
}

.invoices-view-page .invoice-alert-close:hover {
    color: #ef4e10;
}


/* ==========================================================================
   PAGE HEADER
   ========================================================================== */

.invoices-view-page .invoice-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.invoices-view-page .invoice-view-title-wrap {
    min-width: 0;
}

.invoices-view-page .invoice-view-title {
    margin: 0;
}

.invoices-view-page .invoice-view-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.invoices-view-page .invoice-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    background: #ffffff;
    color: #343a40;
    text-decoration: none;
}

.invoices-view-page .invoice-view-btn:hover {
    text-decoration: none;
}

.invoices-view-page .invoice-view-btn-secondary:hover {
    border-color: #c9ced6;
    background: #f8f9fa;
    color: #212529;
}

.invoices-view-page .invoice-view-btn-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.invoices-view-page .invoice-view-btn-danger:hover {
    background: #fff5f5;
    color: #c82333;
}

.invoices-view-page .invoice-view-btn-dark {
    border-color: #343a40;
    color: #343a40;
}

.invoices-view-page .invoice-view-btn-dark:hover {
    background: #f5f5f5;
    color: #212529;
}

.invoices-view-page .invoice-view-btn-success {
    border-color: #28a745;
    color: #28a745;
}

.invoices-view-page .invoice-view-btn-success:hover {
    background: #f3fff6;
    color: #218838;
}


/* ==========================================================================
   SUMMARY TILES
   ========================================================================== */

.invoices-view-page .invoice-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.invoices-view-page .invoice-summary-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 64px;
    padding: 11px 13px;
    border: 1px solid #e3e7eb;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.invoices-view-page .invoice-summary-content {
    min-width: 0;
}

.invoices-view-page .invoice-summary-value {
    min-width: 0;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoices-view-page .invoice-summary-label {
    color: #6c757d;
}

.invoices-view-page .invoice-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-left: 10px;
    border-radius: 7px;
}

.invoices-view-page .invoice-summary-icon-orange {
    background: #fff1eb;
    color: #ef4e10;
}

.invoices-view-page .invoice-summary-icon-green {
    background: #eaf8ef;
    color: #28a745;
}

.invoices-view-page .invoice-summary-icon-blue {
    background: #eaf6fb;
    color: #17a2b8;
}

.invoices-view-page .invoice-summary-icon-red {
    background: #fff0f1;
    color: #dc3545;
}


/* ==========================================================================
   MAIN INVOICE CARD
   ========================================================================== */

.invoices-view-page .invoice-main-card {
    border: 1px solid #e2e6ea;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.invoices-view-page .invoice-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 48px;
    padding: 10px 13px;
    border-bottom: 1px solid #e4e7eb;
    background: #ffffff;
}

.invoices-view-page .invoice-main-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.invoices-view-page .invoice-main-heading > i {
    color: #ef4e10;
}

.invoices-view-page .invoice-draft-badge {
    padding: 2px 6px;
    border-radius: 3px;
    background: #fff3cd;
    color: #856404;
}

.invoices-view-page .invoice-draft-number {
    color: #6c757d;
}

.invoices-view-page .invoice-main-dates {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #495057;
    white-space: nowrap;
}

.invoices-view-page .invoice-main-body {
    padding: 13px;
}


/* ==========================================================================
   INFORMATION CARDS
   ========================================================================== */

.invoices-view-page .invoice-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 13px;
}

.invoices-view-page .invoice-info-card {
    min-width: 0;
    border: 1px solid #e1e5e9;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
}

.invoices-view-page .invoice-info-card-header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-bottom: 1px solid #e5e8eb;
    background: #ffffff;
}

.invoices-view-page .invoice-info-company .invoice-info-card-header {
    border-bottom-color: #c9ddff;
}

.invoices-view-page .invoice-info-company .invoice-info-card-header > i {
    color: #2878d4;
}

.invoices-view-page .invoice-info-client .invoice-info-card-header {
    border-bottom-color: #c8e6cf;
}

.invoices-view-page .invoice-info-client .invoice-info-card-header > i {
    color: #28a745;
}

.invoices-view-page .invoice-info-invoice .invoice-info-card-header {
    border-bottom-color: #bfe6ef;
}

.invoices-view-page .invoice-info-invoice .invoice-info-card-header > i {
    color: #17a2b8;
}

.invoices-view-page .invoice-info-card-body {
    padding: 7px 10px;
}

.invoices-view-page .invoice-info-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.invoices-view-page .invoice-info-table tr {
    border-bottom: 1px solid #f0f1f3;
}

.invoices-view-page .invoice-info-table tr:last-child {
    border-bottom: 0;
}

.invoices-view-page .invoice-info-table th,
.invoices-view-page .invoice-info-table td {
    padding: 5px 3px;
    vertical-align: top;
    text-align: left;
}

.invoices-view-page .invoice-info-table th {
    width: 38%;
    color: #495057;
    white-space: nowrap;
}

.invoices-view-page .invoice-info-table td {
    color: #343a40;
    word-break: break-word;
}


/* ==========================================================================
   STATUS BADGES
   ========================================================================== */

.invoices-view-page .invoice-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

.invoices-view-page .invoice-status-paid {
    background: #e4f7eb;
    color: #218838;
}

.invoices-view-page .invoice-status-pending {
    background: #fff3cd;
    color: #856404;
}

.invoices-view-page .invoice-status-overdue {
    background: #fde8ea;
    color: #c82333;
}

.invoices-view-page .invoice-status-neutral {
    background: #eef0f2;
    color: #5a6268;
}

.invoices-view-page .invoice-text-success {
    color: #218838;
}

.invoices-view-page .invoice-text-danger {
    color: #c82333;
}

.invoices-view-page .invoice-text-warning {
    color: #856404;
}


/* ==========================================================================
   DRAFT ACCOUNTS CARD
   ========================================================================== */

.invoices-view-page .invoice-draft-card {
    margin-bottom: 13px;
    border: 1px solid #ffd8c8;
    border-left: 4px solid #ef4e10;
    border-radius: 5px;
    background: #fffaf7;
    overflow: hidden;
}

.invoices-view-page .invoice-draft-header {
    padding: 8px 11px;
    border-bottom: 1px solid #f4dfd5;
    background: #fff7f3;
    color: #ef4e10;
}

.invoices-view-page .invoice-draft-header > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invoices-view-page .invoice-draft-body {
    padding: 11px;
}

.invoices-view-page .invoice-info-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 11px;
    border: 1px solid #cbe5f1;
    border-radius: 4px;
    background: #f2fbff;
    color: #495057;
}

.invoices-view-page .invoice-info-alert > i {
    margin-top: 2px;
    color: #17a2b8;
}

.invoices-view-page .invoice-renewal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.invoices-view-page .invoice-detail-label {
    margin-bottom: 4px;
    color: #495057;
}

.invoices-view-page .invoice-detail-value {
    color: #343a40;
}

.invoices-view-page .invoice-draft-divider {
    height: 1px;
    margin: 11px 0;
    background: #e7e7e7;
}

.invoices-view-page .invoice-form-group {
    margin-bottom: 11px;
}

.invoices-view-page .invoice-form-group label {
    display: block;
    margin-bottom: 5px;
}

.invoices-view-page .invoice-form-control {
    display: block;
    width: 100%;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #dfe3e7;
    border-radius: 5px;
    background: #ffffff;
    color: #343a40;
    outline: none;
}

.invoices-view-page .invoice-form-control:focus {
    border-color: #ef4e10;
    box-shadow: 0 0 0 2px rgba(239, 78, 16, 0.08);
}

.invoices-view-page .invoice-form-group small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
}

.invoices-view-page .invoice-action-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #ef4e10;
    border-radius: 5px;
    background: #ef4e10;
    color: #ffffff;
    cursor: pointer;
}

.invoices-view-page .invoice-action-primary:hover {
    border-color: #d9430a;
    background: #d9430a;
    color: #ffffff;
}


/* ==========================================================================
   GENERIC SECTION CARDS
   ========================================================================== */

.invoices-view-page .invoice-section-card {
    min-width: 0;
    border: 1px solid #e1e5e9;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
}

.invoices-view-page .invoice-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 39px;
    padding: 8px 10px;
    border-bottom: 1px solid #e5e8eb;
    background: #ffffff;
}

.invoices-view-page .invoice-section-header > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.invoices-view-page .invoice-section-header i {
    color: #ef4e10;
}

.invoices-view-page .invoice-section-body {
    padding: 11px;
}

.invoices-view-page .invoice-section-body p {
    color: #495057;
}


/* ==========================================================================
   INVOICE ITEMS
   ========================================================================== */

.invoices-view-page .invoice-items-wrapper {
    width: 100%;
    overflow-x: auto;
}

.invoices-view-page .invoice-items-table {
    width: 100%;
    min-width: 650px;
    margin: 0;
    border-collapse: collapse;
}

.invoices-view-page .invoice-items-table th,
.invoices-view-page .invoice-items-table td {
    padding: 7px 9px;
    border-right: 1px solid #e8eaed;
    border-bottom: 1px solid #e8eaed;
    vertical-align: middle;
}

.invoices-view-page .invoice-items-table th:last-child,
.invoices-view-page .invoice-items-table td:last-child {
    border-right: 0;
}

.invoices-view-page .invoice-items-table th {
    background: #f8f9fa;
    color: #495057;
    white-space: nowrap;
}

.invoices-view-page .invoice-items-table tbody tr:hover {
    background: #fffaf7;
}

.invoices-view-page .invoice-empty-cell {
    padding: 20px !important;
    color: #6c757d;
    text-align: center;
}


/* ==========================================================================
   NOTES + SUMMARY GRID
   ========================================================================== */

.invoices-view-page .invoice-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 9px;
    margin-top: 13px;
}

.invoices-view-page .invoice-secondary-grid {
    margin-top: 13px;
}

.invoices-view-page .invoice-summary-table-wrapper {
    width: 100%;
    overflow: hidden;
}

.invoices-view-page .invoice-summary-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.invoices-view-page .invoice-summary-table th,
.invoices-view-page .invoice-summary-table td {
    padding: 7px 10px;
    border-bottom: 1px solid #e8eaed;
}

.invoices-view-page .invoice-summary-table th {
    text-align: left;
    color: #495057;
}

.invoices-view-page .invoice-summary-table td {
    text-align: right;
    white-space: nowrap;
}

.invoices-view-page .invoice-summary-table tr:last-child th,
.invoices-view-page .invoice-summary-table tr:last-child td {
    border-bottom: 0;
}

.invoices-view-page .invoice-grand-total-row th,
.invoices-view-page .invoice-grand-total-row td {
    background: #e8f6eb;
    color: #218838;
    font-weight: 600;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {

    .invoices-view-page .invoice-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .invoices-view-page .invoice-info-grid {
        grid-template-columns: 1fr;
    }

    .invoices-view-page .invoice-renewal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .invoices-view-page .invoice-view-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoices-view-page .invoice-view-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .invoices-view-page .invoice-main-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoices-view-page .invoice-main-dates {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .invoices-view-page .invoice-renewal-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .invoices-view-page .invoice-bottom-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .invoices-view-page .invoice-payment-alert {
        align-items: flex-start;
    }

    .invoices-view-page .invoice-payment-alert-message {
        align-items: flex-start;
    }

    .invoices-view-page .invoice-summary-grid {
        grid-template-columns: 1fr;
    }

    .invoices-view-page .invoice-view-actions {
        gap: 5px;
    }

    .invoices-view-page .invoice-main-body {
        padding: 9px;
    }

    .invoices-view-page .invoice-info-card-body {
        padding: 6px 8px;
    }

    .invoices-view-page .invoice-info-table th {
        width: 35%;
    }

    .invoices-view-page .invoice-draft-body {
        padding: 9px;
    }

    .invoices-view-page .invoice-info-alert {
        align-items: flex-start;
    }

    .invoices-view-page .invoice-section-body {
        padding: 9px;
    }

    .invoices-view-page .invoice-bottom-grid {
        gap: 9px;
    }

}


/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {

    .invoices-view-page .invoice-view-actions,
    .invoices-view-page .invoice-alert-close,
    .main-sidebar,
    .main-header,
    .content-header,
    .navbar,
    .no-print {
        display: none !important;
    }

    .invoices-view-page {
        width: 100% !important;
        max-width: 100% !important;
    }

    .invoices-view-page .invoice-payment-alert {
        border: 1px solid #ccc !important;
        background: #ffffff !important;
    }

    .invoices-view-page .invoice-summary-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .invoices-view-page .invoice-info-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .invoices-view-page .invoice-renewal-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .invoices-view-page .invoice-bottom-grid {
        grid-template-columns: 7fr 5fr !important;
    }

    .invoices-view-page .invoice-main-card,
    .invoices-view-page .invoice-info-card,
    .invoices-view-page .invoice-section-card,
    .invoices-view-page .invoice-draft-card {
        box-shadow: none !important;
        break-inside: avoid;
    }

    body {
        background: #ffffff !important;
    }

}