/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}


/* ==========================================================
   DATAVIRTUA CLOUD PANEL
   ========================================================== */

body {
    background: #f5f7fa;
    color: #111827;
}


/* DASHBOARD */

.dv-dashboard {
    padding: 10px 0 40px;
}


/* BOAS-VINDAS */

.dv-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    padding: 32px;

    margin-bottom: 24px;
}

.dv-eyebrow {
    color: #6b7280;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.3px;

    margin-bottom: 8px;
}

.dv-welcome h1 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: -0.5px;
}

.dv-welcome p {
    margin: 0;

    color: #6b7280;

    font-size: 14px;
}


/* BOTÕES */

.dv-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 44px;

    padding: 0 20px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all .15s ease;
}

.dv-btn-primary {
    background: #111827;

    color: #ffffff !important;

    border: 1px solid #111827;
}

.dv-btn-primary:hover {
    background: #1f2937;

    border-color: #1f2937;

    transform: translateY(-1px);
}


/* ESTATÍSTICAS */

.dv-stats {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 38px;
}

.dv-stat-card {
    position: relative;

    display: flex;

    align-items: center;

    min-height: 132px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    text-decoration: none !important;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.dv-stat-card:hover {
    border-color: #cbd5e1;

    box-shadow:
        0 8px 24px rgba(17, 24, 39, .06);

    transform: translateY(-2px);
}

.dv-stat-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-right: 16px;

    border-radius: 9px;

    background: #f3f4f6;

    color: #111827;

    font-size: 18px;
}

.dv-stat-content {
    display: flex;

    flex-direction: column;

    min-width: 0;
}

.dv-stat-label {
    color: #6b7280;

    font-size: 12px;
    font-weight: 600;
}

.dv-stat-content strong {
    color: #111827;

    font-size: 27px;
    line-height: 1.15;

    margin: 3px 0;
}

.dv-stat-description {
    color: #9ca3af;

    font-size: 11px;
}

.dv-stat-arrow {
    margin-left: auto;

    padding-left: 12px;

    color: #c5cad3;

    font-size: 12px;

    transition: transform .15s ease;
}

.dv-stat-card:hover .dv-stat-arrow {
    color: #111827;

    transform: translateX(3px);
}


/* TÍTULO DE SEÇÃO */

.dv-section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin: 0 0 16px;
}

.dv-section-header h2 {
    color: #111827;

    font-size: 18px;
    font-weight: 700;

    margin: 0 0 3px;
}

.dv-section-header p {
    color: #9ca3af;

    font-size: 12px;

    margin: 0;
}


/* ACESSOS RÁPIDOS */

.dv-quick-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 38px;
}

.dv-quick-card {
    display: flex;

    align-items: center;

    gap: 15px;

    min-height: 92px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 9px;

    text-decoration: none !important;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.dv-quick-card:hover {
    border-color: #cbd5e1;

    box-shadow:
        0 5px 18px rgba(17, 24, 39, .05);
}

.dv-quick-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    background: #f3f4f6;

    border-radius: 8px;

    color: #111827;

    font-size: 16px;
}

.dv-quick-card > div:nth-child(2) {
    display: flex;

    flex-direction: column;

    min-width: 0;
}

.dv-quick-card strong {
    color: #111827;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 3px;
}

.dv-quick-card span {
    color: #9ca3af;

    font-size: 11px;
}

.dv-quick-arrow {
    margin-left: auto;

    color: #c5cad3;

    font-size: 11px;

    transition: transform .15s ease;
}

.dv-quick-card:hover .dv-quick-arrow {
    color: #111827;

    transform: translateX(3px);
}


/* ADDONS */

.dv-addon {
    margin-bottom: 20px;
}


/* PAINÉIS NATIVOS */

.dv-native-title {
    margin-top: 5px;
}

.dv-native-panels {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.dv-native-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 9px;
}

.dv-native-header {
    min-height: 55px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 14px 17px;

    border-bottom: 1px solid #eef0f3;
}

.dv-native-heading {
    display: flex;

    align-items: center;

    gap: 8px;

    min-width: 0;

    color: #111827;

    font-size: 13px;
}

.dv-native-heading i {
    color: #6b7280;
}

.dv-native-action {
    color: #111827 !important;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}

.dv-native-body {
    padding: 17px;

    color: #4b5563;

    font-size: 12px;
}

.dv-native-list a,
.dv-native-list-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 12px 17px;

    border-bottom: 1px solid #f0f1f3;

    color: #4b5563;

    font-size: 12px;

    text-decoration: none !important;
}

.dv-native-list a:hover {
    background: #f9fafb;

    color: #111827;
}

.dv-native-list a:last-child,
.dv-native-list-item:last-child {
    border-bottom: 0;
}

.dv-native-list i {
    width: 18px;

    margin-right: 4px;

    color: #9ca3af;
}

.dv-native-footer {
    padding: 12px 17px;

    background: #f9fafb;

    border-top: 1px solid #eef0f3;

    color: #6b7280;

    font-size: 11px;
}


/* BADGES */

.dv-dashboard .badge {
    border-radius: 20px;

    padding: 4px 8px;

    font-size: 10px;
}


/* RESPONSIVO */

@media (max-width: 991px) {

    .dv-stats {
        grid-template-columns: 1fr;
    }

    .dv-native-panels {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 767px) {

    .dv-dashboard {
        padding-top: 0;
    }

    .dv-welcome {
        flex-direction: column;

        align-items: flex-start;

        padding: 24px;
    }

    .dv-welcome h1 {
        font-size: 23px;
    }

    .dv-welcome-actions,
    .dv-welcome-actions .dv-btn {
        width: 100%;
    }

    .dv-quick-grid {
        grid-template-columns: 1fr;
    }

    .dv-stat-card {
        min-height: 110px;
    }

}

/* Logo DataVirtua */
.navbar-brand .dv-logo {
    display: block;
    width: auto;
    height: 38px;
    max-width: 190px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .navbar-brand .dv-logo {
        height: 32px;
        max-width: 160px;
    }
}

/* ==========================================================
   DATAVIRTUA - FOOTER MAIS COMPACTO
   ========================================================== */

#footer.footer {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    min-height: auto !important;
}

#footer.footer .container {
    position: relative;
}

/* Remove margens verticais enormes do tema */
#footer.footer ul {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

#footer.footer .nav-link {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

#footer.footer .copyright {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Idioma/moeda */
#footer.footer .list-inline {
    margin-bottom: 8px !important;
}

#footer.footer .list-inline .btn {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Mobile */
@media (max-width: 991px) {
    #footer.footer {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    #footer.footer ul,
    #footer.footer .list-inline {
        margin-bottom: 6px !important;
    }

    #footer.footer .copyright {
        margin-top: 6px !important;
        text-align: center;
    }
}


/* ==========================================================
   DATAVIRTUA - CLOUD SIDEBAR
   ========================================================== */

.dv-cloud-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 12px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.dv-cloud-sidebar-title {
    padding: 4px 12px 9px;
    color: #9ca3af;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
}

.dv-cloud-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dv-cloud-nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 7px;
    color: #4b5563 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
}

.dv-cloud-nav-item i {
    width: 18px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.dv-cloud-nav-item:hover {
    background: #f3f4f6;
    color: #111827 !important;
}

.dv-cloud-nav-item:hover i {
    color: #111827;
}

.dv-cloud-nav-item.active {
    background: #111827;
    color: #ffffff !important;
    font-weight: 600;
}

.dv-cloud-nav-item.active i {
    color: #ffffff;
}

.dv-cloud-sidebar-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 16px 8px;
}

@media (max-width: 991px) {
    .dv-cloud-sidebar {
        margin-bottom: 20px;
    }
}

/* ==========================================================
   DATAVIRTUA - AREA PRINCIPAL
   ========================================================== */

#main-body {
    padding-top: 26px;
}

@media (max-width: 991px) {
    #main-body {
        padding-top: 18px;
    }
}


/* ==========================================================
   DATAVIRTUA - MEUS SERVICOS / CLOUD
   ========================================================== */

.dv-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.dv-page-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
}

.dv-page-heading h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.dv-page-heading p {
    margin: 7px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.dv-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dv-service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 22px 24px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    color: inherit !important;
    text-decoration: none !important;

    box-shadow: 0 1px 2px rgba(17,24,39,.03);

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.dv-service-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 5px 18px rgba(17,24,39,.07);
    transform: translateY(-1px);
}

.dv-service-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.dv-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    min-width: 46px;

    background: #f3f4f6;
    border-radius: 9px;

    color: #111827;
    font-size: 17px;
}

.dv-service-info {
    min-width: 0;
    flex: 1;
}

.dv-service-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dv-service-title-row h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.dv-service-host {
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dv-service-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 4px 8px;

    background: #f3f4f6;
    border-radius: 20px;

    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.dv-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9ca3af;
}

/* Somente serviço ativo fica verde */
.dv-status-active {
    background: #ecfdf5;
    color: #166534;
}

.dv-status-active .dv-status-dot {
    background: #22c55e;
}

.dv-service-meta {
    display: flex;
    align-items: center;
    gap: 34px;
}

.dv-service-meta-item {
    min-width: 115px;
}

.dv-service-meta-item span {
    display: block;
    margin-bottom: 4px;

    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.dv-service-meta-item strong {
    display: inline-block;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.dv-service-meta-item small {
    display: block;
    margin-top: 2px;
    color: #9ca3af;
    font-size: 11px;
}

.dv-service-action {
    display: flex;
    align-items: center;
    gap: 9px;

    padding-left: 5px;

    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.dv-service-action i {
    color: #9ca3af;
    font-size: 10px;
}

.dv-service-card:hover .dv-service-action i {
    color: #111827;
}

/* EMPTY STATE */

.dv-empty-state {
    padding: 60px 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
}

.dv-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    margin: 0 auto 18px;

    background: #f3f4f6;
    border-radius: 12px;

    color: #111827;
    font-size: 20px;
}

.dv-empty-state h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
}

.dv-empty-state p {
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 14px;
}

/* MOBILE */

@media (max-width: 991px) {

    .dv-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .dv-service-card {
        align-items: stretch;
        flex-direction: column;
    }

    .dv-service-meta {
        padding-top: 16px;
        border-top: 1px solid #f3f4f6;
    }
}

@media (max-width: 600px) {

    .dv-service-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .dv-service-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .dv-service-action {
        grid-column: 1 / -1;
        padding: 12px 0 0;
    }
}


/* ==========================================================
   DATAVIRTUA - FILTRO DE SERVICOS
   ========================================================== */

.dv-service-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.dv-service-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 13px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;

    color: #6b7280;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.dv-service-filter:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.dv-service-filter.active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.dv-filter-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.dv-service-filter.active .dv-filter-dot {
    background: #4ade80;
}


/* ==========================================================
   DATAVIRTUA - FINANCEIRO / FATURAS
   ========================================================== */

.dv-invoice-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.dv-invoice-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 13px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;

    color: #6b7280;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.dv-invoice-filter:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.dv-invoice-filter.active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.dv-invoices-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dv-invoice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 19px 22px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    color: inherit !important;
    text-decoration: none !important;

    box-shadow: 0 1px 2px rgba(17,24,39,.03);

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.dv-invoice-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 5px 18px rgba(17,24,39,.07);
    transform: translateY(-1px);
}

.dv-invoice-primary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 210px;
}

.dv-invoice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    min-width: 44px;

    background: #f3f4f6;
    border-radius: 9px;

    color: #111827;
    font-size: 16px;
}

.dv-invoice-identification {
    min-width: 0;
}

.dv-invoice-label {
    display: block;

    margin-bottom: 1px;

    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.dv-invoice-identification h3 {
    margin: 0;

    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.dv-invoice-identification small {
    display: block;

    margin-top: 4px;

    color: #9ca3af;
    font-size: 11px;
}

.dv-invoice-data {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    flex: 1;
}

.dv-invoice-data-item {
    min-width: 105px;
}

.dv-invoice-data-item span {
    display: block;

    margin-bottom: 3px;

    color: #9ca3af;
    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .03em;
}

.dv-invoice-data-item strong {
    color: #111827;
    font-size: 13px;
    font-weight: 600;
}

.dv-invoice-total strong {
    font-size: 15px;
    font-weight: 700;
}

.dv-invoice-status-area {
    min-width: 100px;
    text-align: center;
}

.dv-invoice-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 9px;

    background: #f3f4f6;
    border-radius: 20px;

    color: #6b7280;
    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    white-space: nowrap;
}

.dv-invoice-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9ca3af;
}

/* Paga = verde */

.dv-invoice-status-paid {
    background: #ecfdf5;
    color: #166534;
}

.dv-invoice-status-paid .dv-invoice-status-dot {
    background: #22c55e;
}

/* Em aberto */

.dv-invoice-status-unpaid,
.dv-invoice-status-overdue,
.dv-invoice-status-paymentpending,
.dv-invoice-status-collections {
    background: #f3f4f6;
    color: #374151;
}

.dv-invoice-status-unpaid .dv-invoice-status-dot,
.dv-invoice-status-overdue .dv-invoice-status-dot,
.dv-invoice-status-paymentpending .dv-invoice-status-dot,
.dv-invoice-status-collections .dv-invoice-status-dot {
    background: #6b7280;
}

.dv-invoice-action {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 82px;

    color: #111827;
    font-size: 12px;
    font-weight: 700;
}

.dv-invoice-action i {
    color: #9ca3af;
    font-size: 9px;
}

.dv-invoice-card:hover .dv-invoice-action i {
    color: #111827;
}

/* Nenhum resultado no filtro */

.dv-invoice-no-results {
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-top: 10px;
    padding: 45px 25px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    text-align: center;
}

.dv-invoice-no-results i {
    margin-bottom: 12px;
    color: #9ca3af;
    font-size: 24px;
}

.dv-invoice-no-results strong {
    color: #111827;
    font-size: 14px;
}

.dv-invoice-no-results span {
    margin-top: 4px;
    color: #9ca3af;
    font-size: 12px;
}


/* MOBILE */

@media (max-width: 991px) {

    .dv-invoice-card {
        align-items: stretch;
        flex-direction: column;
    }

    .dv-invoice-data {
        justify-content: flex-start;

        padding-top: 15px;

        border-top: 1px solid #f3f4f6;
    }
}

@media (max-width: 650px) {

    .dv-invoice-filters {
        flex-wrap: wrap;
    }

    .dv-invoice-data {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .dv-invoice-status-area {
        min-width: 0;
        text-align: left;
    }

    .dv-invoice-action {
        justify-content: flex-end;
    }
}


/* ==========================================================
   DATAVIRTUA - CENTRAL DE SUPORTE
   ========================================================== */

.dv-ticket-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.dv-ticket-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 13px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;

    color: #6b7280;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.dv-ticket-filter:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.dv-ticket-filter.active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}


/* LISTA */

.dv-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dv-ticket-card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 20px 22px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    color: inherit !important;
    text-decoration: none !important;

    box-shadow: 0 1px 2px rgba(17,24,39,.03);

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.dv-ticket-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 5px 18px rgba(17,24,39,.07);
    transform: translateY(-1px);
}


/* NÃO LIDO */

.dv-ticket-unread {
    border-left: 3px solid #111827;
}


/* PRINCIPAL */

.dv-ticket-main {
    display: flex;
    align-items: center;
    gap: 15px;

    min-width: 0;
    flex: 1;
}

.dv-ticket-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    min-width: 46px;

    background: #f3f4f6;
    border-radius: 9px;

    color: #111827;
    font-size: 17px;
}

.dv-ticket-info {
    min-width: 0;
}

.dv-ticket-number {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 4px;

    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

.dv-ticket-new {
    display: inline-flex;

    padding: 3px 6px;

    background: #111827;
    border-radius: 4px;

    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
}

.dv-ticket-info h3 {
    margin: 0;

    color: #111827;
    font-size: 15px;
    font-weight: 700;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dv-ticket-department {
    margin-top: 6px;

    color: #9ca3af;
    font-size: 11px;
}

.dv-ticket-department i {
    margin-right: 4px;
}


/* META */

.dv-ticket-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.dv-ticket-updated {
    min-width: 125px;
}

.dv-ticket-updated span {
    display: block;

    margin-bottom: 3px;

    color: #9ca3af;
    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
}

.dv-ticket-updated strong {
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}


/* STATUS */

.dv-ticket-status-area {
    min-width: 110px;
    text-align: center;
}

.dv-ticket-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 9px;

    background: #f3f4f6;
    border-radius: 20px;

    color: #4b5563;
    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    white-space: nowrap;
}

.dv-ticket-status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #9ca3af;
}


/* FECHADO */

.dv-ticket-status-closed {
    color: #6b7280;
    background: #f3f4f6;
}


/* ABERTO / RESPONDIDO */

.dv-ticket-status-open .dv-ticket-status-dot,
.dv-ticket-status-customer-reply .dv-ticket-status-dot,
.dv-ticket-status-answered .dv-ticket-status-dot {
    background: #22c55e;
}

.dv-ticket-status-open,
.dv-ticket-status-customer-reply,
.dv-ticket-status-answered {
    background: #ecfdf5;
    color: #166534;
}


/* AÇÃO */

.dv-ticket-action {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 100px;

    color: #111827;
    font-size: 12px;
    font-weight: 700;
}

.dv-ticket-action i {
    color: #9ca3af;
    font-size: 9px;
}

.dv-ticket-card:hover .dv-ticket-action i {
    color: #111827;
}


/* SEM RESULTADOS */

.dv-ticket-no-results {
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 45px 25px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    text-align: center;
}

.dv-ticket-no-results i {
    margin-bottom: 12px;

    color: #9ca3af;
    font-size: 25px;
}

.dv-ticket-no-results strong {
    color: #111827;
    font-size: 14px;
}

.dv-ticket-no-results span {
    margin-top: 4px;

    color: #9ca3af;
    font-size: 12px;
}


/* MOBILE */

@media (max-width: 991px) {

    .dv-ticket-card {
        align-items: stretch;
        flex-direction: column;
    }

    .dv-ticket-meta {
        justify-content: flex-start;

        padding-top: 15px;

        border-top: 1px solid #f3f4f6;
    }
}

@media (max-width: 650px) {

    .dv-ticket-filters {
        flex-wrap: wrap;
    }

    .dv-ticket-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 17px;
    }

    .dv-ticket-status-area {
        min-width: 0;
        text-align: left;
    }

    .dv-ticket-action {
        justify-content: flex-end;
    }

}


/* ==========================================================
   DATAVIRTUA - VISUALIZACAO DO CHAMADO
   ========================================================== */

.dv-ticket-view {
    width: 100%;
}

.dv-ticket-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 22px;

    color: #6b7280 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

.dv-ticket-back i {
    font-size: 10px;
}

.dv-ticket-back:hover {
    color: #111827 !important;
}


/* HEADER */

.dv-ticket-view-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 25px;
}

.dv-ticket-view-heading {
    min-width: 0;
}

.dv-ticket-view-heading h1 {
    margin: 0;

    color: #111827;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.02em;
}

.dv-ticket-view-heading p {
    margin: 7px 0 0;

    color: #6b7280;
    font-size: 13px;
}

.dv-ticket-view-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dv-ticket-reply-button,
.dv-ticket-close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    height: 38px;
    padding: 0 14px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.dv-ticket-reply-button {
    background: #111827;
    border: 1px solid #111827;
    color: #ffffff;
}

.dv-ticket-close-button {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
}

.dv-ticket-close-button:hover {
    background: #f9fafb;
    color: #111827;
}

.dv-ticket-closed-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 11px;

    background: #f3f4f6;
    border-radius: 7px;

    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
}


/* CONVERSA */

.dv-ticket-conversation {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-bottom: 25px;
}

.dv-message {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.dv-message-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    min-width: 38px;

    margin-top: 3px;

    border-radius: 50%;

    font-size: 13px;
}

.dv-message-client .dv-message-avatar {
    background: #f3f4f6;
    color: #6b7280;
}

.dv-message-staff .dv-message-avatar {
    background: #111827;
    color: #ffffff;
}

.dv-message-content {
    width: 100%;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 1px 2px rgba(17,24,39,.03);
}

.dv-message-staff .dv-message-content {
    border-left: 3px solid #111827;
}


/* CABECALHO DA MENSAGEM */

.dv-message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 13px 16px;

    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

.dv-message-role {
    display: block;

    margin-bottom: 2px;

    color: #9ca3af;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
}

.dv-message-header strong {
    color: #111827;
    font-size: 12px;
    font-weight: 700;
}

.dv-message-header time {
    color: #9ca3af;
    font-size: 10px;
    white-space: nowrap;
}


/* CORPO */

.dv-message-body {
    padding: 18px;

    color: #374151;
    font-size: 13px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

.dv-message-body p:last-child {
    margin-bottom: 0;
}

.dv-message-body pre {
    max-width: 100%;

    padding: 13px;

    background: #111827;
    border-radius: 7px;

    color: #f9fafb;

    overflow-x: auto;
}

.dv-message-body code {
    overflow-wrap: anywhere;
}

.dv-message-ip {
    margin-top: 15px;
    padding-top: 10px;

    border-top: 1px solid #f3f4f6;

    color: #9ca3af;
    font-size: 10px;
}


/* ANEXOS */

.dv-message-attachments {
    padding: 0 18px 17px;
}

.dv-attachments-title {
    margin-bottom: 8px;

    color: #6b7280;
    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.dv-attachments-title i {
    margin-right: 5px;
}

.dv-attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.dv-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    max-width: 100%;

    padding: 8px 10px;

    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;

    color: #374151 !important;
    font-size: 11px;
    text-decoration: none !important;
}

.dv-attachment span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dv-attachment-download {
    color: #9ca3af;
    font-size: 9px;
}

.dv-attachment:hover {
    background: #f3f4f6;
}

.dv-attachment-removed {
    opacity: .6;
}


/* AVALIACAO */

.dv-message-rating {
    padding: 12px 18px;

    border-top: 1px solid #f3f4f6;

    background: #fafafa;
}

.dv-rating-label {
    display: block;

    margin-bottom: 5px;

    color: #9ca3af;
    font-size: 10px;
}


/* RESPOSTA */

.dv-ticket-reply-box {
    margin-top: 25px;
    padding: 22px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    box-shadow: 0 1px 2px rgba(17,24,39,.03);
}

.dv-ticket-reply-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.dv-ticket-reply-heading h2 {
    margin: 0;

    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.dv-ticket-reply-heading > i {
    color: #d1d5db;
    font-size: 22px;
}

.dv-ticket-reply-box label {
    color: #374151;
    font-size: 11px;
    font-weight: 700;
}

.dv-ticket-reply-box .form-control {
    border-color: #e5e7eb;
    border-radius: 7px;

    color: #111827;
    font-size: 13px;

    box-shadow: none;
}

.dv-ticket-reply-box .form-control:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(17,24,39,.05);
}

.dv-ticket-reply-box textarea.form-control {
    min-height: 180px;
    padding: 14px;
}

.dv-ticket-attachment-area {
    margin-top: 18px;
}

.dv-ticket-attachment-area > label {
    display: block;
    margin-bottom: 7px;
}

.dv-upload-help {
    margin-top: 6px;

    color: #9ca3af;
    font-size: 10px;
}

.dv-ticket-submit {
    display: flex;
    justify-content: flex-end;

    margin-top: 20px;
}


/* MOBILE */

@media (max-width: 767px) {

    .dv-ticket-view-header {
        flex-direction: column;
    }

    .dv-ticket-view-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .dv-ticket-view-heading h1 {
        font-size: 21px;
    }

    .dv-message {
        gap: 8px;
    }

    .dv-message-avatar {
        width: 32px;
        height: 32px;
        min-width: 32px;

        font-size: 11px;
    }

    .dv-message-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .dv-message-body {
        padding: 14px;
    }

    .dv-ticket-reply-box {
        padding: 17px;
    }

    .dv-ticket-submit .dv-btn {
        width: 100%;
        justify-content: center;
    }

}


/* ==========================================================
   DATAVIRTUA - AVALIACAO DO ATENDIMENTO
   ========================================================== */

.dv-message-rating {
    display: block !important;
    padding: 14px 18px !important;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.dv-message-rating .dv-rating-label {
    display: block !important;
    margin-bottom: 8px;

    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
}

.dv-message-rating .rating {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;

    min-height: 24px;
}

.dv-message-rating .rating .star {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;

    cursor: pointer;
}

.dv-message-rating .rating-done {
    display: block !important;
}


/* ==========================================================
   DATAVIRTUA - ESTRELAS DE AVALIACAO
   ========================================================== */

.dv-message-rating .rating {
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 3px;
}

.dv-message-rating .rating .star {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 27px !important;
    height: 27px !important;

    background: none !important;
    background-image: none !important;

    color: #d1d5db !important;

    cursor: pointer;

    opacity: 1 !important;
    visibility: visible !important;

    font-size: 17px;
    line-height: 1;
}

.dv-message-rating .rating .star i {
    display: block !important;
    pointer-events: none;
}

/* Hover da estrela e de todas anteriores */

.dv-message-rating .rating .star:hover,
.dv-message-rating .rating .star:hover ~ .star {
    color: #111827 !important;
}


/* ==========================================================
   DATAVIRTUA - CONFETE AVALIACAO 5 ESTRELAS
   ========================================================== */

.dv-confetti {
    position: fixed;

    top: -20px;
    z-index: 999999;

    color: #111827;

    pointer-events: none;

    animation-name: dv-confetti-fall;
    animation-timing-function: cubic-bezier(.25,.46,.45,.94);
    animation-fill-mode: forwards;
}

.dv-confetti:nth-child(3n) {
    color: #22c55e;
}

.dv-confetti:nth-child(4n) {
    color: #9ca3af;
}

.dv-confetti:nth-child(5n) {
    color: #d1d5db;
}

@keyframes dv-confetti-fall {

    0% {
        transform:
            translateY(-30px)
            rotate(0deg);

        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        transform:
            translateY(105vh)
            rotate(720deg);

        opacity: 0;
    }

}

@media (prefers-reduced-motion: reduce) {

    .dv-confetti {
        display: none !important;
    }

}


/* ==========================================================
   DATAVIRTUA - RATING WHMCS / FIX FINAL
   Mantem o HTML original para o JavaScript do WHMCS
   ========================================================== */

.dv-message-rating .rating .star {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 27px !important;
    height: 27px !important;

    background: none !important;
    background-image: none !important;

    visibility: visible !important;
    opacity: 1 !important;

    color: #d1d5db !important;

    cursor: pointer;
    font-size: 0 !important;
}

.dv-message-rating .rating .star::before {
    content: "\2605";

    display: block;

    color: inherit;

    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1;

    pointer-events: none;
}

.dv-message-rating .rating .star:hover,
.dv-message-rating .rating .star:hover ~ .star {
    color: #111827 !important;
}



/* ==========================================================
   DATAVIRTUA - DETALHES DO SERVIÇO
   ========================================================== */

.dv-product-overview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 26px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .04);
}

.dv-product-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px 24px;
}

.dv-product-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.dv-product-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dv-product-title-row h1 {
    margin: 0;
    color: #111827;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.dv-product-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #f9fafb;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.dv-product-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9ca3af;
}

.dv-product-status-active {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.dv-product-status-active .dv-product-status-dot {
    background: #22c55e;
}

.dv-product-host {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    color: #6b7280;
    font-size: 14px;
}

.dv-product-host i {
    color: #9ca3af;
}

.dv-product-head-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.dv-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: .15s ease;
}

.dv-product-btn-primary {
    background: #111827;
    border: 1px solid #111827;
    color: #fff !important;
}

.dv-product-btn-primary:hover {
    background: #1f2937;
    border-color: #1f2937;
}

.dv-product-btn-secondary {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151 !important;
}

.dv-product-btn-secondary:hover {
    background: #f9fafb;
}

.dv-product-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.dv-product-stat {
    min-width: 0;
    padding: 20px 24px;
    border-right: 1px solid #e5e7eb;
}

.dv-product-stat:last-child {
    border-right: 0;
}

.dv-product-stat span,
.dv-product-meta-item span {
    display: block;
    margin-bottom: 5px;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dv-product-stat strong {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dv-product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 40px;
    padding: 19px 30px;
}

.dv-product-meta-item strong {
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.dv-product-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 30px 20px;
    padding: 13px 15px;
    border: 1px solid #fde68a;
    border-radius: 8px;
    background: #fffbeb;
    color: #92400e;
}

.dv-product-warning div {
    display: flex;
    flex-direction: column;
}

.dv-product-warning span {
    font-size: 12px;
}

.dv-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 30px;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 12px;
}

.dv-product-cancel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6b7280 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

.dv-product-cancel:hover {
    color: #dc2626 !important;
}

.dv-product-cancel.disabled {
    pointer-events: none;
    opacity: .6;
}


/* Abas dos detalhes do serviço */

.dv-product-overview + div + .nav-tabs,
.dv-product-overview ~ .nav-tabs {
    border-bottom-color: #e5e7eb;
}

.product-details-tab-container {
    border-color: #e5e7eb !important;
}


/* Responsivo */

@media (max-width: 991px) {

    .dv-product-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dv-product-stat:nth-child(2) {
        border-right: 0;
    }

    .dv-product-stat:nth-child(-n+2) {
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 767px) {

    .dv-product-head {
        flex-direction: column;
        padding: 22px 20px;
    }

    .dv-product-head-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .dv-product-stats {
        grid-template-columns: 1fr;
    }

    .dv-product-stat {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .dv-product-stat:last-child {
        border-bottom: 0;
    }

    .dv-product-meta {
        padding: 18px 20px;
    }

    .dv-product-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px 20px;
    }

    .dv-product-warning {
        margin-left: 20px;
        margin-right: 20px;
    }
}



/* ==========================================================
   DATAVIRTUA - ABAS / INFORMAÇÕES DO SERVIÇO
   ========================================================== */

/* Navegação das abas */

#tabOverview > .nav-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px 0;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
}

#tabOverview > .nav-tabs .nav-item {
    margin: 0;
}

#tabOverview > .nav-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 10px 14px;
    border: 0 !important;
    border-radius: 7px;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    transition: all .15s ease;
}

#tabOverview > .nav-tabs .nav-link i {
    color: #9ca3af;
    font-size: 12px;
}

#tabOverview > .nav-tabs .nav-link:hover {
    background: #fff;
    color: #111827;
}

#tabOverview > .nav-tabs .nav-link.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .10);
}

#tabOverview > .nav-tabs .nav-link.active i {
    color: #111827;
}


/* Remove aparência antiga do conector das tabs */

#tabOverview > .responsive-tabs-sm-connector {
    display: none !important;
}


/* Container principal das informações */

#tabOverview > .product-details-tab-container {
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .04);
}


/* Conteúdo das abas */

#tabOverview > .product-details-tab-container > .tab-pane {
    padding: 26px 28px;
}


/* ==========================================================
   INFORMAÇÕES DO SERVIDOR
   ========================================================== */

#tabOverview #domain > .row {
    display: grid;
    grid-template-columns: minmax(180px, 32%) 1fr;
    align-items: start;
    margin: 0 !important;
    padding: 14px 4px;
    border-bottom: 1px solid #f0f2f5;
    text-align: left;
}

#tabOverview #domain > .row:last-of-type {
    border-bottom: 0;
}

#tabOverview #domain > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0 12px;
    text-align: left !important;
    flex: none;
}

#tabOverview #domain > .row > div:first-child strong {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

#tabOverview #domain > .row > div:last-child {
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}


/* IPs ficam mais legíveis */

#tabOverview #domain > .row > div:last-child {
    line-height: 1.7;
}


/* Botões antigos dentro das informações */

#tabOverview #domain .btn-default {
    padding: 8px 13px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    background: #fff;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    box-shadow: none;
}

#tabOverview #domain .btn-default:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #111827;
}


/* ==========================================================
   OPÇÕES CONFIGURÁVEIS
   ========================================================== */

#tabOverview #configoptions {
    text-align: left !important;
}

#tabOverview #configoptions > .row {
    display: grid;
    grid-template-columns: minmax(200px, 40%) 1fr;
    align-items: center;
    margin: 0;
    padding: 14px 4px;
    border-bottom: 1px solid #f0f2f5;
}

#tabOverview #configoptions > .row:last-child {
    border-bottom: 0;
}

#tabOverview #configoptions > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0 12px;
    text-align: left !important;
    flex: none;
}

#tabOverview #configoptions strong {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

#tabOverview #configoptions .col-sm-7 {
    color: #111827;
    font-size: 13px;
    font-weight: 600;
}


/* ==========================================================
   INFORMAÇÕES ADICIONAIS
   ========================================================== */

#tabOverview #additionalinfo {
    text-align: left !important;
}

#tabOverview #additionalinfo > .row {
    display: grid;
    grid-template-columns: minmax(200px, 40%) 1fr;
    align-items: center;
    margin: 0;
    padding: 14px 4px;
    border-bottom: 1px solid #f0f2f5;
}

#tabOverview #additionalinfo > .row:last-child {
    border-bottom: 0;
}

#tabOverview #additionalinfo > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0 12px;
    text-align: left !important;
    flex: none;
}

#tabOverview #additionalinfo strong {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

#tabOverview #additionalinfo .col-sm-7 {
    color: #111827;
    font-size: 13px;
    font-weight: 600;
}


/* ==========================================================
   VIRTUALIZOR
   Não altera os elementos internos do módulo.
   ========================================================== */

#tabOverview .module-client-area {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    #tabOverview > .nav-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    #tabOverview > .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

    #tabOverview > .nav-tabs .nav-link {
        white-space: nowrap;
    }

    #tabOverview > .product-details-tab-container > .tab-pane {
        padding: 20px 16px;
    }

    #tabOverview #domain > .row,
    #tabOverview #configoptions > .row,
    #tabOverview #additionalinfo > .row {
        display: block;
        padding: 13px 0;
    }

    #tabOverview #domain > .row > div:first-child,
    #tabOverview #configoptions > .row > div:first-child,
    #tabOverview #additionalinfo > .row > div:first-child {
        margin-bottom: 4px;
    }

}



/* ==========================================================
   DATAVIRTUA - BUSCA DE SERVIÇOS
   ========================================================== */

.dv-service-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
}

.dv-service-search-box {
    position: relative;
    width: 100%;
    max-width: 620px;
}

.dv-service-search-box > i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #9ca3af;
    font-size: 13px;
    pointer-events: none;
    transform: translateY(-50%);
}

.dv-service-search-box input {
    width: 100%;
    height: 46px;
    padding: 0 46px 0 43px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #111827;
    font-size: 13px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.dv-service-search-box input::placeholder {
    color: #9ca3af;
}

.dv-service-search-box input:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .05);
}

.dv-service-search-clear {
    position: absolute;
    top: 50%;
    right: 10px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transform: translateY(-50%);
}

.dv-service-search-clear:hover {
    background: #f3f4f6;
    color: #111827;
}

.dv-service-search-count {
    flex: 0 0 auto;
    color: #9ca3af;
    font-size: 12px;
    white-space: nowrap;
}

.dv-service-search-count strong {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.dv-service-search-empty {
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 16px;
    padding: 50px 20px;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    text-align: center;
}

.dv-service-search-empty i {
    margin-bottom: 13px;
    color: #9ca3af;
    font-size: 22px;
}

.dv-service-search-empty strong {
    margin-bottom: 4px;
    color: #111827;
    font-size: 14px;
}

.dv-service-search-empty span {
    color: #9ca3af;
    font-size: 12px;
}

@media (max-width: 767px) {

    .dv-service-search {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .dv-service-search-box {
        max-width: none;
    }

    .dv-service-search-count {
        text-align: right;
    }

}

