/**
 * Stil CliqHost — inspirat din dashboard modern: navy, card alb, antet albastru-gri,
 * buton coral pentru acțiuni urgente, zebra discretă.
 */
:root {
    --hostie-navy: #2c3e50;
    --hostie-navy-soft: #34495e;
    --hostie-slate: #6b7c8c;
    --hostie-card-head: #e8eef5;
    --hostie-card-border: #dce3ec;
    --hostie-coral: #d9534f;
    --hostie-coral-hover: #c9302c;
    --hostie-shadow: 0 4px 18px rgba(44, 62, 80, 0.07);
    --hostie-shadow-soft: 0 2px 8px rgba(44, 62, 80, 0.05);
    --hostie-dashboard-navy: #1a2b49;
    --hostie-dashboard-zebra: #e7f1ff;
    --hostie-dashboard-green: #5cb85c;
    --hostie-dashboard-gold: #ffc107;
}

/* ========== Card factură restantă / neachitată (în loc de bandă roz) ========== */
.hostie-overdue-invoice-card {
    background: #fff;
    border: 1px solid var(--hostie-card-border);
    border-radius: 10px;
    box-shadow: var(--hostie-shadow);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.hostie-overdue-invoice-card--urgent {
    border-color: #e8d4d4;
}

.hostie-overdue-invoice-card__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    padding: 0.75rem 1.1rem;
    background: linear-gradient(180deg, #eef2f8 0%, #e4eaf3 100%);
    border-radius: 10px;
}

.hostie-overdue-invoice-card--urgent .hostie-overdue-invoice-card__head {
    background: linear-gradient(180deg, #fce8e8 0%, #f5d6d6 100%);
    border-bottom: none;
}

.hostie-overdue-invoice-card__head-msg {
    flex: 1 1 12rem;
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hostie-slate);
}

.hostie-overdue-invoice-card--urgent .hostie-overdue-invoice-card__head-msg {
    color: #6b2d32;
}

.hostie-overdue-invoice-card__head-icon {
    display: flex;
    align-items: center;
    color: var(--hostie-navy-soft);
    font-size: 1.1rem;
}

.hostie-overdue-invoice-card--urgent .hostie-overdue-invoice-card__head-icon {
    color: #b02a37;
}

.hostie-btn-pay-invoice {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.95rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #fff !important;
    background: var(--hostie-coral) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(217, 83, 79, 0.35);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.hostie-btn-pay-invoice:hover,
.hostie-btn-pay-invoice:focus {
    color: #fff !important;
    background: var(--hostie-coral-hover) !important;
    box-shadow: 0 3px 10px rgba(217, 83, 79, 0.4);
    text-decoration: none !important;
}

.hostie-overdue-invoice-card:not(.hostie-overdue-invoice-card--urgent) .hostie-btn-pay-invoice {
    background: var(--hostie-navy-soft) !important;
    box-shadow: 0 2px 6px rgba(52, 73, 94, 0.25);
}

.hostie-overdue-invoice-card:not(.hostie-overdue-invoice-card--urgent) .hostie-btn-pay-invoice:hover,
.hostie-overdue-invoice-card:not(.hostie-overdue-invoice-card--urgent) .hostie-btn-pay-invoice:focus {
    background: var(--hostie-navy) !important;
}

/* Domenii / șabloane vechi cu .float-right */
#alertOverdueInvoice:not(.hostie-overdue-invoice-card),
#alertUnpaidInvoice:not(.hostie-overdue-invoice-card) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.65rem 1rem;
    gap: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid var(--hostie-card-border);
    border-radius: 10px;
    box-shadow: var(--hostie-shadow-soft);
}

#alertOverdueInvoice:not(.hostie-overdue-invoice-card) > .float-right,
#alertUnpaidInvoice:not(.hostie-overdue-invoice-card) > .float-right {
    float: none !important;
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
}

#alertOverdueInvoice:not(.hostie-overdue-invoice-card) .btn,
#alertUnpaidInvoice:not(.hostie-overdue-invoice-card) .btn {
    padding: 0.38rem 0.85rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: var(--hostie-coral) !important;
    border: none !important;
}

/* ========== Panou facturare serviciu ========== */
.hostie-service-billing-panel {
    background: #fff;
    border: 1px solid var(--hostie-card-border);
    border-radius: 10px;
    box-shadow: var(--hostie-shadow);
    overflow: hidden;
    text-align: left;
}

.hostie-billing-card-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.15rem;
    background: linear-gradient(180deg, #eef2f8 0%, #e4eaf3 100%);
    border-bottom: 1px solid var(--hostie-card-border);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hostie-navy);
    letter-spacing: 0.01em;
}

.hostie-billing-card-header i {
    color: var(--hostie-navy-soft);
    font-size: 1rem;
    opacity: 0.9;
}

.hostie-billing-card-body {
    padding: 0.25rem 0;
}

.hostie-billing-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 1.25rem;
    padding: 0.7rem 1.15rem;
}

.hostie-billing-item:nth-child(even) {
    background: var(--hostie-dashboard-zebra, #e7f1ff);
}

.hostie-billing-item:nth-child(odd) {
    background: #fff;
}

.hostie-billing-item:not(:last-child) {
    border-bottom: 1px solid #edf1f6;
}

.hostie-billing-label {
    font-size: 0.8125rem;
    color: var(--hostie-slate);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 1 auto;
    max-width: 58%;
    line-height: 1.4;
}

.hostie-billing-label i {
    color: var(--hostie-navy-soft);
    width: 1.15rem;
    text-align: center;
    opacity: 0.85;
}

.hostie-billing-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hostie-navy);
    text-align: right;
    line-height: 1.4;
    word-break: break-word;
}

.hostie-billing-item--warn {
    background: #fdf5f5 !important;
    border-bottom: 0 !important;
}

.hostie-billing-item--warn .hostie-billing-label,
.hostie-billing-item--warn .hostie-billing-label i {
    color: #a71d2a;
}

.hostie-billing-item--warn .hostie-billing-value {
    color: #721c24;
}

.hostie-product-overview-row {
    min-height: 0;
}

@media (max-width: 767.98px) {
    .hostie-billing-value {
        max-width: 52%;
    }
}

/* ========== Client Home: „Active Products/Services” (ca în referință) ========== */
div[menuitemname="Active Products/Services"].card,
div[menuItemName="Active Products/Services"].card {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 43, 73, 0.07);
    overflow: hidden;
    background: #fff;
}

div[menuitemname="Active Products/Services"] .card-header,
div[menuItemName="Active Products/Services"] .card-header {
    background: linear-gradient(180deg, #eef4fb 0%, #e2eaf5 100%);
    border-bottom: 1px solid #d0dae8;
    padding: 0.75rem 1.15rem;
}

div[menuitemname="Active Products/Services"] .card-header .card-title,
div[menuItemName="Active Products/Services"] .card-header .card-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 0.5rem 0.75rem;
    color: var(--hostie-dashboard-navy);
    font-weight: 700;
    font-size: 1rem;
}

div[menuitemname="Active Products/Services"] .card-header .card-title > .float-right,
div[menuItemName="Active Products/Services"] .card-header .card-title > .float-right {
    float: none !important;
    margin-left: auto;
    order: 99;
    display: flex;
    align-items: center;
}

div[menuitemname="Active Products/Services"] .card-header .card-title i,
div[menuItemName="Active Products/Services"] .card-header .card-title i {
    color: var(--hostie-dashboard-navy);
    opacity: 0.9;
}

/* Buton „My Services” — galben */
div[menuitemname="Active Products/Services"] .card-header .btn,
div[menuItemName="Active Products/Services"] .card-header .btn {
    background: var(--hostie-dashboard-gold) !important;
    color: #1a1a1a !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    padding: 0.42rem 0.95rem !important;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.35);
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
}

div[menuitemname="Active Products/Services"] .card-header .btn:hover,
div[menuItemName="Active Products/Services"] .card-header .btn:hover {
    background: #e0a800 !important;
    color: #111 !important;
}

div[menuitemname="Active Products/Services"] .card-body,
div[menuItemName="Active Products/Services"] .card-body {
    padding: 0 !important;
}

/* Rânduri servicii: zebra albastru deschis, conținut centrat pe verticală */
div[menuitemname="Active Products/Services"] .div-service-item,
div[menuItemName="Active Products/Services"] .div-service-item {
    padding: 0.95rem 1.15rem;
    align-items: center;
    min-height: 4.25rem;
    border-bottom: 1px solid #e4ebf3;
}

div[menuitemname="Active Products/Services"] .div-service-item:nth-child(odd),
div[menuItemName="Active Products/Services"] .div-service-item:nth-child(odd) {
    background: #fff;
}

div[menuitemname="Active Products/Services"] .div-service-item:nth-child(even),
div[menuItemName="Active Products/Services"] .div-service-item:nth-child(even) {
    background: var(--hostie-dashboard-zebra);
}

div[menuitemname="Active Products/Services"] .div-service-item:last-child,
div[menuItemName="Active Products/Services"] .div-service-item:last-child {
    border-bottom: none;
}

div[menuitemname="Active Products/Services"] .div-service-name .font-weight-bold,
div[menuItemName="Active Products/Services"] .div-service-name .font-weight-bold {
    color: #2c3d56;
    font-size: 0.9rem;
}

div[menuitemname="Active Products/Services"] .div-service-name .text-domain,
div[menuItemName="Active Products/Services"] .div-service-name .text-domain {
    color: #6b7785;
    font-size: 0.8125rem;
    margin-top: 0.15rem;
}

/* Badge Active — verde ca în referință */
div[menuitemname="Active Products/Services"] .div-service-status .label.label-success,
div[menuItemName="Active Products/Services"] .div-service-status .label.label-success {
    background-color: var(--hostie-dashboard-green) !important;
    border-radius: 5px;
    padding: 0.38em 0.65em;
    font-size: 0.72rem;
    font-weight: 600;
}

/* View Details — alb, bordură discretă */
div[menuitemname="Active Products/Services"] .btn-view-details,
div[menuItemName="Active Products/Services"] .btn-view-details {
    background: #fff !important;
    color: var(--hostie-dashboard-navy) !important;
    border: 1px solid #cfd8e3 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    padding: 0.38rem 0.8rem !important;
    box-shadow: 0 1px 2px rgba(26, 43, 73, 0.04);
}

div[menuitemname="Active Products/Services"] .btn-view-details:hover,
div[menuItemName="Active Products/Services"] .btn-view-details:hover {
    background: #f8fafc !important;
    border-color: #b8c5d6 !important;
    color: var(--hostie-dashboard-navy) !important;
}

div[menuitemname="Active Products/Services"] .card-footer,
div[menuItemName="Active Products/Services"] .card-footer {
    background: #f6f9fc;
    border-top: 1px solid #e4ebf3;
    padding: 0.65rem 1.15rem !important;
    text-align: right;
}

div[menuitemname="Active Products/Services"] .btn-view-more:not(.disabled),
div[menuItemName="Active Products/Services"] .btn-view-more:not(.disabled) {
    color: #2563eb !important;
    font-weight: 600;
    font-size: 0.8125rem !important;
}

/* ========== Product details (clientarea.php?action=productdetails) ========== */
.hostie-pd-overview-section {
    margin-bottom: 1.5rem;
}

.hostie-pd-service-card {
    background: #fff;
    border: 1px solid #d0dae8;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 43, 73, 0.07);
    overflow: hidden;
}

.hostie-pd-service-card__header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.15rem;
    background: linear-gradient(180deg, #eef4fb 0%, #e2eaf5 100%);
    border-bottom: 1px solid #d0dae8;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hostie-dashboard-navy);
}

.hostie-pd-service-card__header i {
    color: var(--hostie-dashboard-navy);
    opacity: 0.88;
}

.hostie-pd-service-card__body {
    padding: 1.25rem 1.15rem 1.35rem;
}

/* Status: zonă icon albastră-deschisă, badge colorat jos */
.hostie-pd-service-card .hostie-pd-status.product-status {
    background: transparent !important;
    padding: 0;
    border-radius: 0;
}

.hostie-pd-service-card .hostie-pd-status .product-icon {
    background: #f0f4fa !important;
    border-radius: 10px;
    padding: 1.75rem 1.25rem !important;
    margin: 0 !important;
}

.hostie-pd-icon-ring {
    color: #d4dee8 !important;
}

.hostie-pd-icon-symbol {
    color: var(--hostie-dashboard-navy) !important;
}

.hostie-pd-product-name {
    color: var(--hostie-dashboard-navy);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.85rem;
    margin-bottom: 0.25rem;
}

.hostie-pd-group-name {
    color: #6b7785;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
}

.hostie-pd-status-badge {
    margin-top: 0.75rem !important;
    padding: 0.55rem 1rem !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.04em;
}

.hostie-pd-status.product-status-active .hostie-pd-status-badge {
    background: var(--hostie-dashboard-green) !important;
    color: #fff !important;
}

.hostie-pd-status.product-status-pending .hostie-pd-status-badge {
    background: #f0ad4e !important;
    color: #fff !important;
}

.hostie-pd-status.product-status-suspended .hostie-pd-status-badge {
    background: #337ab7 !important;
    color: #fff !important;
}

.hostie-pd-status.product-status-terminated .hostie-pd-status-badge,
.hostie-pd-status.product-status-cancelled .hostie-pd-status-badge {
    background: #6c757d !important;
    color: #fff !important;
}

.hostie-pd-status.product-status-fraud .hostie-pd-status-badge {
    background: #1a1a1a !important;
    color: #fff !important;
}

/* Butoane acțiuni */
.hostie-pd-actions .hostie-pd-btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 0.55rem 1rem !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(26, 43, 73, 0.08);
}

.hostie-pd-btn--gold {
    background: var(--hostie-dashboard-gold) !important;
    color: #1a1a1a !important;
}

.hostie-pd-btn--gold:hover {
    background: #e0a800 !important;
    color: #111 !important;
}

.hostie-pd-btn--green {
    background: var(--hostie-dashboard-green) !important;
    color: #fff !important;
}

.hostie-pd-btn--green:hover {
    background: #4cae4c !important;
    color: #fff !important;
}

.hostie-pd-btn--outline-danger {
    background: #fff !important;
    color: #c9302c !important;
    border: 1px solid #e8b4b4 !important;
    box-shadow: none !important;
}

.hostie-pd-btn--outline-danger:hover {
    background: #fdf5f5 !important;
    color: #a02622 !important;
}

.hostie-pd-overview-section .hostie-service-billing-panel {
    border-color: #d0dae8;
}

.hostie-product-details-scope .responsive-tabs-sm-connector .bottom-border {
    border-color: #d0dae8;
}

/* Tab-uri & conținut */
.hostie-product-details-scope .nav-tabs.responsive-tabs-sm {
    border-bottom: 1px solid #d0dae8;
    gap: 0.15rem;
    flex-wrap: wrap;
}

.hostie-product-details-scope .nav-tabs .nav-link {
    border: none !important;
    border-radius: 8px 8px 0 0 !important;
    color: #6b7785;
    font-weight: 500;
    padding: 0.55rem 0.9rem;
    margin-bottom: -1px;
}

.hostie-product-details-scope .nav-tabs .nav-link:hover {
    color: var(--hostie-dashboard-navy);
    background: #f4f7fb;
}

.hostie-product-details-scope .nav-tabs .nav-link.active {
    background: linear-gradient(180deg, #eef4fb 0%, #e8f0f8 100%) !important;
    color: var(--hostie-dashboard-navy) !important;
    font-weight: 700;
    border: 1px solid #d0dae8 !important;
    border-bottom-color: #fff !important;
}

.hostie-product-details-scope .product-details-tab-container {
    border: 1px solid #d0dae8 !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 4px 18px rgba(26, 43, 73, 0.06);
    padding: 1.25rem 1.1rem !important;
    background: #fff !important;
}

.hostie-product-details-scope .product-details-tab-container .row {
    padding: 0.55rem 0.65rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 6px;
    align-items: center;
}

.hostie-product-details-scope .product-details-tab-container .row:nth-child(even) {
    background: var(--hostie-dashboard-zebra);
}

.hostie-product-details-scope .product-details-tab-container .row .text-right strong {
    color: #5a6570;
    font-size: 0.875rem;
}

.hostie-product-details-scope .product-details-tab-container .tab-pane .btn-default {
    border-radius: 8px;
    border: 1px solid #cfd8e3;
    color: var(--hostie-dashboard-navy);
    font-weight: 600;
}

/* Tab Downloads / Addons — carduri */
.hostie-product-details-scope #tabDownloads .card,
.hostie-product-details-scope #tabAddons .card.bg-default {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(26, 43, 73, 0.05);
    overflow: hidden;
}

.hostie-product-details-scope #tabAddons .card-header {
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%);
    border-bottom: 1px solid #d0dae8;
    color: var(--hostie-dashboard-navy);
    font-weight: 700;
}

.hostie-product-details-scope #tabChangepw .card {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(26, 43, 73, 0.06);
}

/* ========== Plesk / modul hosting — overview (Package, Usage, Shortcuts, Billing) ========== */
.hostie-product-details-scope #tabOverview .panel.card {
    border: 1px solid #d0dae8 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(26, 43, 73, 0.07) !important;
    overflow: hidden;
    margin-bottom: 1.25rem !important;
    background: #fff !important;
}

.hostie-product-details-scope #tabOverview .panel.card > .card-header,
.hostie-product-details-scope #tabOverview .panel.card > .panel-heading.card-header {
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%) !important;
    border-bottom: 1px solid #d0dae8 !important;
    text-align: center;
    padding: 0.75rem 1rem !important;
}

.hostie-product-details-scope #tabOverview .panel.card .card-title,
.hostie-product-details-scope #tabOverview .panel.card .panel-title {
    color: var(--hostie-dashboard-navy) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.hostie-product-details-scope #tabOverview .plesk-package-details em {
    color: #6b7785;
    font-size: 0.9rem;
}

.hostie-product-details-scope #tabOverview .plesk-package-details h4 {
    color: var(--hostie-dashboard-navy);
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 0.35rem !important;
}

.hostie-product-details-scope #tabOverview .plesk-package-details a {
    color: #2563eb;
    font-weight: 600;
}

.hostie-product-details-scope #tabOverview .plesk-package-details + p .btn-default {
    border-radius: 8px;
    border: 1px solid #cfd8e3 !important;
    color: var(--hostie-dashboard-navy) !important;
    font-weight: 600;
    background: #fff !important;
}

.hostie-product-details-scope #tabOverview .plesk-package-details + p .btn-success {
    background: var(--hostie-navy-soft) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(52, 73, 94, 0.25);
}

.hostie-product-details-scope #tabOverview .plesk-package-details + p .btn-success:hover {
    background: var(--hostie-dashboard-navy) !important;
    color: #fff !important;
}

.hostie-product-details-scope #tabOverview .plesk-usage-stats {
    padding: 1.25rem 1rem !important;
}

.hostie-product-details-scope #tabOverview .plesk-usage-stats strong {
    color: var(--hostie-dashboard-navy);
    font-size: 0.875rem;
}

.hostie-product-details-scope #tabOverview .plesk-feature-row a.d-block {
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
    transition: background 0.15s ease;
    color: var(--hostie-dashboard-navy);
    font-weight: 600;
    font-size: 0.875rem;
}

.hostie-product-details-scope #tabOverview .plesk-feature-row a.d-block:hover {
    background: var(--hostie-dashboard-zebra);
    text-decoration: none;
}

/* Billing overview + opțiuni — rânduri zebra */
.hostie-product-details-scope #tabOverview .panel.card:has(#billingCycle) .card-body > .row > [class*="col-"] > .row,
.hostie-product-details-scope #tabOverview #PleskConfigurableOptionsPanel .card-body > .row,
.hostie-product-details-scope #tabOverview #PleskAdditionalInfoPanel .card-body > .row {
    padding: 0.5rem 0.65rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 6px;
    align-items: center;
}

.hostie-product-details-scope #tabOverview .panel.card:has(#billingCycle) .card-body > .row > [class*="col-"] > .row:nth-child(even),
.hostie-product-details-scope #tabOverview #PleskConfigurableOptionsPanel .card-body > .row:nth-child(even),
.hostie-product-details-scope #tabOverview #PleskAdditionalInfoPanel .card-body > .row:nth-child(even) {
    background: var(--hostie-dashboard-zebra);
}

.hostie-product-details-scope #tabOverview .panel.card:has(#billingCycle) .text-right {
    color: #5a6570;
    font-weight: 600;
    font-size: 0.875rem;
}

.hostie-product-details-scope #tabOverview #pleskWordPress > .card-header {
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%) !important;
    border-bottom: 1px solid #d0dae8 !important;
}

.hostie-product-details-scope #tabOverview #pleskWordPress .btn-default {
    border-radius: 8px;
    border: 1px solid #cfd8e3;
    font-weight: 600;
    color: var(--hostie-dashboard-navy);
}

/* ========== Pagina Afiliați / Referral ========== */
.hostie-affiliates {
    padding-bottom: 2rem;
}

.hostie-affiliates__alert {
    border-radius: 10px;
    border: none;
    box-shadow: var(--hostie-shadow-soft);
}

/* Rândul Clicks / Signups / Conversions — grup centrat, aceeași lățime per card ca ~col-md-4 */
.hostie-aff-stats-centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem 1.25rem;
    margin-bottom: 0.5rem;
}

.hostie-aff-stats-centered__item {
    flex: 0 0 auto;
    width: 100%;
    /* ~egal cu 1/3 din zonă, max 360px → grup centrat pe ecrane late */
    max-width: min(360px, calc((100% - 2.5rem) / 3));
}

@media (max-width: 575.98px) {
    .hostie-aff-stats-centered__item {
        max-width: 100%;
    }
}

.hostie-aff-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(26, 43, 73, 0.06);
    min-height: 7.5rem;
    height: 100%;
}

.hostie-aff-stat__icon {
    flex-shrink: 0;
    font-size: 3rem;
    line-height: 1;
    opacity: 0.92;
}

.hostie-aff-stat__body {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.hostie-aff-stat__value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hostie-aff-stat__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.35rem;
    opacity: 0.95;
}

.hostie-aff-stat--clicks {
    background: #fcf8e3;
    color: #8a6d3b;
}

.hostie-aff-stat--clicks .hostie-aff-stat__icon {
    color: #c4a035;
}

.hostie-aff-stat--signups {
    background: #d9edf7;
    color: #245269;
}

.hostie-aff-stat--signups .hostie-aff-stat__icon {
    color: #31708f;
}

.hostie-aff-stat--conversions {
    background: #dff0d8;
    color: #2d5a32;
}

.hostie-aff-stat--conversions .hostie-aff-stat__icon {
    color: #3c763d;
}

@media (max-width: 767.98px) {
    .hostie-aff-stat {
        min-height: auto;
    }
    .hostie-aff-stat__value {
        font-size: 1.65rem;
    }
    .hostie-aff-stat__icon {
        font-size: 2.5rem;
    }
}

.hostie-affiliates__referral-card {
    border: 1px solid #d0dae8 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(26, 43, 73, 0.07) !important;
    overflow: hidden;
}

.hostie-affiliates__referral-card .card-body {
    padding: 1.35rem 1.5rem !important;
}

.hostie-affiliates__referral-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hostie-dashboard-navy);
    margin-bottom: 0.85rem !important;
}

.hostie-affiliates__referral-input {
    background: #f4f6f9 !important;
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    font-size: 0.9rem;
    color: #3d4f63;
    padding: 0.65rem 1rem !important;
}

.hostie-aff-commission-table {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26, 43, 73, 0.05);
    background: #fff;
}

.hostie-aff-commission-table td {
    border: none !important;
    padding: 0.85rem 1.15rem !important;
    vertical-align: middle !important;
    font-size: 0.9375rem;
}

.hostie-aff-commission-table tr:nth-child(odd) td {
    background: #eef2f7;
}

.hostie-aff-commission-table tr:nth-child(even) td {
    background: #fff;
}

.hostie-aff-commission-table td.text-right {
    color: #5a6570;
    font-weight: 600;
    width: 52%;
}

.hostie-aff-commission-table td:last-child {
    color: var(--hostie-dashboard-navy);
}

.hostie-aff-withdraw-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border: none !important;
    color: #fff !important;
    background: linear-gradient(180deg, #e9717a 0%, #d9534f 100%) !important;
    box-shadow: 0 4px 14px rgba(217, 83, 79, 0.35);
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hostie-aff-withdraw-btn:hover:not(:disabled) {
    color: #fff !important;
    background: linear-gradient(180deg, #df5a64 0%, #c9302c 100%) !important;
    box-shadow: 0 6px 18px rgba(217, 83, 79, 0.4);
    transform: translateY(-1px);
}

.hostie-aff-withdraw-btn:disabled,
.hostie-aff-withdraw-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hostie-affiliates__withdraw-hint {
    max-width: 36rem;
    margin: 1rem auto 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.hostie-affiliates__section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--hostie-dashboard-navy);
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e4ebf3;
}

.hostie-affiliates__section-title--spaced {
    margin-top: 2.5rem;
}

.hostie-affiliates__referrals-table {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(26, 43, 73, 0.06);
    background: #fff;
    padding: 0;
}

.hostie-affiliates__referrals-table .dataTables_wrapper {
    padding: 0.75rem 1rem 1rem;
}

.hostie-affiliates #tableAffiliatesList thead th,
.hostie-affiliates .dataTables_wrapper thead th {
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%) !important;
    color: var(--hostie-dashboard-navy) !important;
    font-weight: 700 !important;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #d0dae8 !important;
    padding: 0.75rem 0.65rem !important;
}

.hostie-affiliates #tableAffiliatesList tbody tr:nth-child(even),
.hostie-affiliates .dataTables_wrapper tbody tr:nth-child(even) {
    background: var(--hostie-dashboard-zebra) !important;
}

.hostie-affiliates #tableAffiliatesList tbody tr:nth-child(odd),
.hostie-affiliates .dataTables_wrapper tbody tr:nth-child(odd) {
    background: #fff !important;
}

.hostie-affiliates #tableAffiliatesList tbody td,
.hostie-affiliates .dataTables_wrapper tbody td {
    border-color: #e8edf3 !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.9rem;
}

.hostie-affiliates__link-code {
    padding: 1rem;
    border: 1px solid #d0dae8;
    border-radius: 10px;
    background: #fafbfc;
}

/* ========== Add Funds (clientareaaddfunds) ========== */
.hostie-addfunds {
    padding-bottom: 2rem;
}

.hostie-addfunds__card {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 43, 73, 0.07);
    background: #fff;
}

.hostie-addfunds__card-head {
    background: linear-gradient(180deg, #2a4570 0%, #1a2b49 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.25rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.hostie-addfunds-limits {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.hostie-addfunds-limits td {
    padding: 0.9rem 1.25rem !important;
    border: none !important;
    font-size: 0.9375rem;
    vertical-align: middle !important;
}

.hostie-addfunds-limits tr:nth-child(odd) td {
    background: #eef2f7;
}

.hostie-addfunds-limits tr:nth-child(even) td {
    background: #fff;
}

.hostie-addfunds-limits__label {
    color: #5a6570;
    width: 55%;
}

.hostie-addfunds-limits__value {
    text-align: right !important;
    font-weight: 700;
    color: var(--hostie-dashboard-navy);
}

.hostie-addfunds__body {
    padding: 1.35rem 1.5rem 1.5rem;
}

.hostie-addfunds__label {
    display: block;
    font-weight: 600;
    color: var(--hostie-dashboard-navy);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.hostie-addfunds__input {
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    padding: 0.6rem 0.85rem !important;
    background: #f8fafc !important;
    font-size: 0.95rem;
    line-height: 1.45;
}

/* Select: înălțime fixă Bootstrap + padding nostru taie textul pe verticală */
.hostie-addfunds select.hostie-addfunds__input,
.hostie-addfunds select.form-control.custom-select.hostie-addfunds__input,
.hostie-addfunds .custom-select.hostie-addfunds__input {
    min-height: 3rem !important;
    height: auto !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    padding-left: 0.85rem !important;
    padding-right: 2.25rem !important;
    line-height: 1.5 !important;
    vertical-align: middle;
    box-sizing: border-box !important;
}

.hostie-addfunds__input:focus {
    background: #fff !important;
    border-color: #a8bdd4 !important;
    box-shadow: 0 0 0 3px rgba(26, 43, 73, 0.08);
}

.hostie-addfunds__field {
    margin-bottom: 1.15rem !important;
}

.hostie-addfunds__submit {
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: linear-gradient(180deg, #2a4570 0%, #1a2b49 100%) !important;
    box-shadow: 0 4px 14px rgba(26, 43, 73, 0.28);
    transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.hostie-addfunds__submit:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #1f3558 0%, #152238 100%) !important;
    box-shadow: 0 6px 18px rgba(26, 43, 73, 0.35);
    transform: translateY(-1px);
}

.hostie-addfunds__footer {
    padding: 0.85rem 1.25rem 1.1rem;
    background: #f4f6f9;
    border-top: 1px solid #e4eaf0;
    text-align: center;
}

.hostie-addfunds__footer small {
    color: #6b7785;
    font-size: 0.8125rem;
    line-height: 1.45;
}

/* ========== Lista tichete support — coloane centrate ========== */
.hostie-tickets-table-centered table.dataTable thead th,
.hostie-tickets-table-centered table.dataTable tbody td,
.hostie-tickets-table-centered .dataTables_wrapper table thead th,
.hostie-tickets-table-centered .dataTables_wrapper table tbody td {
    text-align: center !important;
    vertical-align: middle !important;
}

.hostie-tickets-table-centered .hostie-ticket-subject-link {
    display: inline-block;
    border-left: none !important;
    padding-left: 0 !important;
    text-align: center;
}

.hostie-tickets-table-centered .hostie-ticket-subject-link .ticket-number {
    margin-right: 0.35rem;
}

/* ========== Coș / Choose domain — buton Use/Check aliniat pe verticală cu câmpurile ========== */
#order-standard_cart .domain-input-group > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#order-standard_cart .domain-input-group > .row > .col-sm-2 {
    display: flex;
    align-items: center;
    justify-content: stretch;
    align-self: center;
    margin-top: 0 !important;
}

#order-standard_cart .domain-input-group > .row > .col-sm-2 .btn {
    width: 100%;
    align-self: center;
}

/* ========== Înregistrare cont (register.php) — carduri dashboard (design original) ========== */
#registration .card {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 18px rgba(26, 43, 73, 0.07);
    background: #fff;
}

#registration .intl-tel-input .country-list,
#registration .intl-tel-input .iti__country-list {
    z-index: 10050 !important;
    max-height: 260px !important;
    margin-top: 6px !important;
    margin-left: 0 !important;
    border-radius: 8px !important;
    border: 1px solid #dce3ec !important;
    background: #fff !important;
    box-shadow:
        0 10px 32px rgba(26, 43, 73, 0.14),
        0 4px 12px rgba(26, 43, 73, 0.07) !important;
    padding: 6px 0 !important;
    font-size: 0.9375rem !important;
    color: #1a2b49 !important;
    box-sizing: border-box !important;
}

#registration .intl-tel-input .country-list .divider,
#registration .intl-tel-input .iti__divider {
    border-bottom: 1px solid #e4ebf3 !important;
    margin: 6px 0 !important;
    padding: 0 !important;
}

#registration .intl-tel-input .country-list .country,
#registration .intl-tel-input .iti__country-list .iti__country {
    padding: 9px 14px !important;
}

#registration .intl-tel-input .country-list .country .dial-code,
#registration .intl-tel-input .iti__country-list .iti__dial-code {
    color: #5a6570 !important;
}

#registration .intl-tel-input .country-list .country.highlight,
#registration .intl-tel-input .country-list .country:hover,
#registration .intl-tel-input .iti__country-list .iti__country.iti__highlight,
#registration .intl-tel-input .iti__country-list .iti__country:hover {
    background: #eef4fb !important;
    color: #1a2b49 !important;
}

#registration .card .card-body {
    padding: 1.35rem 1.5rem !important;
    padding-top: 0 !important;
}

#registration .card .card-title {
    margin: 0 -1.5rem 1.25rem -1.5rem;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%);
    border-bottom: 1px solid #d0dae8;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #1a2b49;
    line-height: 1.35;
}

#registration .card .card-title small,
#registration .card .card-title i {
    font-weight: 500;
    font-size: 0.8rem;
    color: #5a6570;
}

#registration .field,
#registration .form-control,
#registration select.form-control {
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    min-height: 44px;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    padding-right: 0.85rem !important;
    padding-left: 0.85rem !important;
    font-size: 0.9375rem;
    box-shadow: none !important;
}

/* Icon stânga — doar câmpuri direct după .field-icon (nu telefonul din intl-tel-input) */
#registration .prepend-icon > .field-icon ~ input:not([type="tel"]),
#registration .prepend-icon > .field-icon ~ select.form-control {
    padding-left: 2.5rem !important;
}

#registration .intl-tel-input,
#registration .prepend-icon .intl-tel-input {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Telefon: păstrăm padding-left pentru prefix țară (+373 etc.) — altfel se suprapune placeholderul */
#registration .intl-tel-input.allow-dropdown:not(.separate-dial-code) input,
#registration .intl-tel-input.allow-dropdown:not(.separate-dial-code) input[type="tel"] {
    padding-left: 52px !important;
}

#registration .intl-tel-input.separate-dial-code.iti-sdc-2 input,
#registration .intl-tel-input.separate-dial-code.iti-sdc-2 input[type="tel"] {
    padding-left: 66px !important;
}

#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input,
#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="tel"] {
    padding-left: 76px !important;
}

#registration .intl-tel-input.separate-dial-code.iti-sdc-3 input,
#registration .intl-tel-input.separate-dial-code.iti-sdc-3 input[type="tel"] {
    padding-left: 74px !important;
}

#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input,
#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="tel"] {
    padding-left: 84px !important;
}

#registration .intl-tel-input.separate-dial-code.iti-sdc-4 input,
#registration .intl-tel-input.separate-dial-code.iti-sdc-4 input[type="tel"] {
    padding-left: 82px !important;
}

#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input,
#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="tel"] {
    padding-left: 92px !important;
}

#registration .intl-tel-input.separate-dial-code.iti-sdc-5 input,
#registration .intl-tel-input.separate-dial-code.iti-sdc-5 input[type="tel"] {
    padding-left: 90px !important;
}

#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input,
#registration .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="tel"] {
    padding-left: 100px !important;
}

#registration .field:focus,
#registration .form-control:focus {
    background: #fff !important;
    border-color: #a8bdd4 !important;
    box-shadow: 0 0 0 3px rgba(26, 43, 73, 0.08) !important;
}

#registration .form-group label:not(.field-icon) {
    font-weight: 600;
    color: #3d4f63;
    font-size: 0.875rem;
}

#registration .btn-primary,
#registration input.btn-primary[type="submit"] {
    background: linear-gradient(180deg, #2a4570 0%, #1a2b49 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700;
    padding: 0.75rem 2rem !important;
    box-shadow: 0 4px 14px rgba(26, 43, 73, 0.28);
}

#registration .btn-primary:hover,
#registration input.btn-primary[type="submit"]:hover {
    background: linear-gradient(180deg, #1f3558 0%, #152238 100%) !important;
    color: #fff !important;
}

#registration .btn-default,
#registration .generate-password {
    background: #fff !important;
    border: 1px solid #cfd8e3 !important;
    color: #1a2b49 !important;
    border-radius: 8px !important;
    font-weight: 600;
}

/*
 * Modal Generate Password — același limbaj ca cardul „Billing Address”
 * (antet albastru-gri, titlu centrat navy, câmpuri albe rotunjite)
 */
#modalGeneratePassword .modal-content {
    border-radius: 10px !important;
    border: 1px solid #d0dae8 !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(26, 43, 73, 0.12), 0 12px 40px rgba(26, 43, 73, 0.08) !important;
}

#modalGeneratePassword .modal-header {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%) !important;
    border-bottom: 1px solid #d0dae8 !important;
    padding: 0.9rem 2.75rem 0.9rem 1.25rem !important;
}

#modalGeneratePassword .modal-header .modal-title,
#modalGeneratePassword .modal-header h4.modal-title {
    flex: 0 1 auto;
    margin: 0 auto !important;
    width: 100%;
    text-align: center !important;
    color: #1a2b49 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

#modalGeneratePassword .modal-header .close {
    position: absolute !important;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    padding: 0.35rem !important;
    color: #5a6570 !important;
    opacity: 0.85;
    text-shadow: none;
    font-size: 1.5rem;
    line-height: 1;
}

#modalGeneratePassword .modal-header .close:hover {
    color: #1a2b49 !important;
    opacity: 1;
}

#modalGeneratePassword .modal-body {
    padding: 1.35rem 1.5rem !important;
    background: #fff;
}

#modalGeneratePassword .modal-body .col-form-label {
    color: #3d4f63 !important;
    font-weight: 600;
    font-size: 0.875rem;
}

#modalGeneratePassword .modal-body .form-control,
#modalGeneratePassword .modal-body input.form-control {
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    min-height: 44px;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.9375rem;
    color: #1a2b49;
}

#modalGeneratePassword .modal-body .form-control::placeholder {
    color: #8b9aab;
}

#modalGeneratePassword .modal-body .form-control:focus {
    border-color: #a8bdd4 !important;
    box-shadow: 0 0 0 3px rgba(26, 43, 73, 0.08) !important;
    background: #fff !important;
}

#modalGeneratePassword .modal-body .form-group {
    margin-bottom: 1rem;
}

/* Icon stânga — ca Billing Address */
#modalGeneratePassword .hostie-gp-prepend.prepend-icon {
    position: relative;
    margin-bottom: 0;
}

#modalGeneratePassword .hostie-gp-prepend .field-icon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    z-index: 2;
    pointer-events: none;
    color: #9aa8b5;
    font-size: 0.95rem;
}

#modalGeneratePassword .hostie-gp-prepend .field-icon i {
    color: #9aa8b5;
}

#modalGeneratePassword .hostie-gp-prepend input.form-control {
    padding-left: 2.5rem !important;
}

#modalGeneratePassword .modal-body .btn-default {
    background: #fff !important;
    border: 1px solid #cfd8e3 !important;
    color: #1a2b49 !important;
    border-radius: 8px !important;
    font-weight: 600;
    min-height: 38px;
}

#modalGeneratePassword .modal-body .btn-default:hover {
    background: #f8fafc !important;
    border-color: #c5d0dc !important;
    color: #1a2b49 !important;
}

#modalGeneratePassword .modal-footer {
    background: #fff !important;
    border-top: 1px solid #d0dae8 !important;
    padding: 1rem 1.5rem !important;
}

#modalGeneratePassword .modal-footer .btn-default {
    background: #fff !important;
    border: 1px solid #cfd8e3 !important;
    color: #1a2b49 !important;
    border-radius: 8px !important;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
}

#modalGeneratePassword .modal-footer .btn-primary {
    background: linear-gradient(180deg, #2a4570 0%, #1a2b49 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700;
    padding: 0.55rem 1.25rem !important;
    box-shadow: 0 4px 12px rgba(26, 43, 73, 0.22);
}

#modalGeneratePassword .modal-footer .btn-primary:hover,
#modalGeneratePassword .modal-footer .btn-primary:focus {
    background: linear-gradient(180deg, #1f3558 0%, #152238 100%) !important;
    color: #fff !important;
}

/* ========== Support ticket (submitticket) — ca înregistrare / Billing ========== */
.hostie-support-ticket .card {
    border: 1px solid #d0dae8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(26, 43, 73, 0.07);
    background: #fff;
    margin-bottom: 1.5rem;
}

.hostie-support-ticket .hostie-st-card-body {
    padding: 0 !important;
}

.hostie-support-ticket .hostie-st-head {
    text-align: center;
    padding: 0.95rem 1.25rem 0.85rem;
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%);
    border-bottom: 1px solid #d0dae8;
}

.hostie-support-ticket .hostie-st-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1a2b49 !important;
    border: none !important;
    background: transparent !important;
}

.hostie-support-ticket .hostie-st-subtitle {
    margin-top: 0.5rem !important;
    font-size: 0.9rem;
    color: #5a6570 !important;
}

.hostie-support-ticket .hostie-st-body {
    padding: 1.35rem 1.5rem 1.5rem;
}

.hostie-support-ticket .hostie-st-body > .row:first-child {
    margin-top: 0;
}

.hostie-support-ticket .hostie-st-body label {
    font-weight: 600;
    color: #3d4f63;
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.hostie-support-ticket .hostie-st-body .form-control,
.hostie-support-ticket .hostie-st-body select.form-control {
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    min-height: 44px;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.9375rem;
    box-shadow: none !important;
}

.hostie-support-ticket .hostie-st-body .form-control:focus,
.hostie-support-ticket .hostie-st-body select.form-control:focus {
    background: #fff !important;
    border-color: #a8bdd4 !important;
    box-shadow: 0 0 0 3px rgba(26, 43, 73, 0.08) !important;
}

.hostie-support-ticket .hostie-st-body .form-control:disabled {
    background: #f0f4f8 !important;
    opacity: 0.9;
}

/* Editor mesaj (markdown) */
.hostie-support-ticket .hostie-st-body .md-editor,
.hostie-support-ticket .hostie-st-body .EasyMDEContainer,
.hostie-support-ticket .hostie-st-body .CodeMirror-wrap {
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: #fff !important;
}

.hostie-support-ticket .hostie-st-body .editor-toolbar {
    border: none !important;
    border-bottom: 1px solid #e4ebf3 !important;
    background: #f8fafc !important;
    border-radius: 8px 8px 0 0 !important;
}

.hostie-support-ticket .hostie-st-body .editor-toolbar button {
    color: #5a6570 !important;
}

.hostie-support-ticket .hostie-st-body .CodeMirror {
    border: none !important;
    min-height: 220px !important;
    background: #fff !important;
}

.hostie-support-ticket .hostie-st-body .attachment-group .custom-file-label,
.hostie-support-ticket .hostie-st-body .custom-file-label {
    border: 1px solid #dce3ec !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    min-height: 44px;
    line-height: 2.2;
    padding-left: 0.85rem;
}

.hostie-support-ticket .hostie-st-body .input-group > .custom-file:first-child .custom-file-label {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.hostie-support-ticket .hostie-st-body .input-group-append .btn {
    border: 1px solid #cfd8e3 !important;
    background: #fff !important;
    color: #1a2b49 !important;
    border-radius: 0 8px 8px 0 !important;
    font-weight: 600;
}

.hostie-support-ticket .hostie-st-actions .btn-primary {
    background: linear-gradient(180deg, #2a4570 0%, #1a2b49 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700;
    padding: 0.65rem 1.75rem !important;
    box-shadow: 0 4px 14px rgba(26, 43, 73, 0.25);
    margin-right: 0.5rem;
}

.hostie-support-ticket .hostie-st-actions .btn-primary:hover {
    background: linear-gradient(180deg, #1f3558 0%, #152238 100%) !important;
    color: #fff !important;
}

.hostie-support-ticket .hostie-st-actions .btn-default,
.hostie-support-ticket .hostie-st-body .btn-default {
    background: #fff !important;
    border: 1px solid #cfd8e3 !important;
    color: #1a2b49 !important;
    border-radius: 8px !important;
    font-weight: 600;
}

/* Pas 1 — alegere departament */
.hostie-support-ticket a.hostie-st-dept-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: 0.75rem;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background: #fff;
    color: #1a2b49 !important;
    text-decoration: none !important;
    transition:
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
    box-shadow: 0 2px 8px rgba(26, 43, 73, 0.04);
}

.hostie-support-ticket a.hostie-st-dept-link:hover {
    border-color: #a8bdd4;
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(26, 43, 73, 0.08);
    color: #1a2b49 !important;
}

.hostie-support-ticket .hostie-st-dept-link__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eef4fb 0%, #e4ebf3 100%);
    border-radius: 8px;
    color: #2a4570;
    font-size: 1rem;
}

.hostie-support-ticket .hostie-st-dept-link__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hostie-support-ticket .hostie-st-dept-link__name {
    font-weight: 700;
    font-size: 1rem;
}

.hostie-support-ticket .hostie-st-dept-link__desc {
    font-size: 0.875rem;
    color: #5a6570;
    font-weight: 400;
    margin-top: 0.2rem;
    line-height: 1.35;
}

.hostie-support-ticket .hostie-st-dept-link__arrow {
    flex-shrink: 0;
    color: #9aa8b5;
    font-size: 0.85rem;
}

.hostie-support-ticket a.hostie-st-dept-link:hover .hostie-st-dept-link__arrow {
    color: #2a4570;
}
