/**
 * EccoHost Cart - Tema oscuro para order form
 * Integración con eccohost.net
 */

:root {
    --eh-bg-dark: #0a0e14;
    --eh-bg-card: #151b24;
    --eh-bg-elevated: #1c2430;
    --eh-accent: #00d4aa;
    --eh-accent-hover: #00f5c4;
    --eh-accent-dim: rgba(0, 212, 170, 0.15);
    --eh-text: #e6edf3;
    --eh-text-muted: #8b949e;
    --eh-border: #30363d;
    --eh-radius: 12px;
}

/* Solo aplicar cuando el body tiene eccohost-theme */
body.eccohost-theme #order-standard_cart label,
.eccohost-theme #order-standard_cart label {
    color: var(--eh-text-muted) !important;
}

.eccohost-theme #order-standard_cart .categories-collapsed {
    background-color: var(--eh-bg-card) !important;
    border: 1px solid var(--eh-border);
}
.eccohost-theme #order-standard_cart .categories-collapsed select {
    color: var(--eh-text) !important;
    background: var(--eh-bg-dark);
    border-color: var(--eh-border);
}

.eccohost-theme #order-standard_cart .sub-heading {
    border-top-color: var(--eh-border);
}
.eccohost-theme #order-standard_cart .sub-heading span,
.eccohost-theme #order-standard_cart .sub-heading-borderless span {
    color: var(--eh-accent) !important;
    background-color: var(--eh-bg-dark) !important;
}

/* Productos */
.eccohost-theme #order-standard_cart .products .product {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border) !important;
}
.eccohost-theme #order-standard_cart .products .product header {
    background: var(--eh-bg-elevated) !important;
}
.eccohost-theme #order-standard_cart .products .product header span {
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .products .product header .qty {
    color: var(--eh-text-muted) !important;
}
.eccohost-theme #order-standard_cart .products .product .product-desc {
    color: var(--eh-text-muted);
}
.eccohost-theme #order-standard_cart .products .product .product-pricing span.price {
    color: var(--eh-accent) !important;
}

/* Sidebar categorías */
.eccohost-theme #order-standard_cart .sidebar .panel {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border) !important;
}
.eccohost-theme #order-standard_cart .sidebar .panel-heading {
    background: var(--eh-bg-elevated) !important;
    border-color: var(--eh-border) !important;
    color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .sidebar .list-group-item {
    background: transparent !important;
    border-color: var(--eh-border) !important;
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .sidebar .list-group-item:hover,
.eccohost-theme #order-standard_cart .sidebar .list-group-item.active {
    background: var(--eh-accent-dim) !important;
    color: var(--eh-accent) !important;
}

/* View Cart */
.eccohost-theme #order-standard_cart .view-cart-items-header {
    background-color: var(--eh-accent) !important;
    color: var(--eh-bg-dark) !important;
}
.eccohost-theme #order-standard_cart .view-cart-items {
    border-bottom-color: var(--eh-border) !important;
}
.eccohost-theme #order-standard_cart .view-cart-items .item {
    background-color: var(--eh-bg-card) !important;
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .view-cart-items .item:nth-child(even) {
    background-color: var(--eh-bg-elevated) !important;
}
.eccohost-theme #order-standard_cart .view-cart-items .item-domain {
    color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .view-cart-items .item-price span {
    color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .view-cart-items .item-price .cycle {
    color: var(--eh-text-muted);
}
.eccohost-theme #order-standard_cart .btn-remove-from-cart {
    color: var(--eh-text-muted) !important;
}
.eccohost-theme #order-standard_cart .btn-remove-from-cart:hover {
    color: #f85149 !important;
}
.eccohost-theme #order-standard_cart .empty-cart .btn {
    background-color: var(--eh-accent) !important;
    color: var(--eh-bg-dark) !important;
}
.eccohost-theme #order-standard_cart .empty-cart .btn:hover {
    background-color: var(--eh-accent-hover) !important;
}

/* Order Summary */
.eccohost-theme #order-standard_cart .order-summary {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border) !important;
    border-bottom-color: var(--eh-border) !important;
}
.eccohost-theme #order-standard_cart .order-summary h2 {
    color: var(--eh-text) !important;
    background: var(--eh-bg-elevated) !important;
    border-bottom: 1px solid var(--eh-border);
}
.eccohost-theme #order-standard_cart .summary-container {
    background-color: var(--eh-bg-elevated) !important;
    color: var(--eh-text);
    border-radius: 0 0 var(--eh-radius) var(--eh-radius);
}
.eccohost-theme #order-standard_cart .order-summary .product-name,
.eccohost-theme #order-standard_cart .order-summary .product-group {
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .order-summary .summary-totals {
    border-top-color: var(--eh-border) !important;
    border-bottom-color: var(--eh-border) !important;
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .order-summary .subtotal {
    border-bottom-color: var(--eh-border) !important;
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .order-summary .bordered-totals {
    border-bottom-color: var(--eh-border) !important;
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .order-summary .recurring-totals {
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .order-summary .recurring-charges {
    color: var(--eh-text-muted) !important;
}
.eccohost-theme #order-standard_cart .order-summary .total-due-today .amt {
    color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .order-summary .loader {
    color: var(--eh-text-muted) !important;
}
.eccohost-theme #order-standard_cart .btn-checkout {
    background-color: var(--eh-accent) !important;
    border-color: var(--eh-accent) !important;
    color: var(--eh-bg-dark) !important;
}
.eccohost-theme #order-standard_cart .btn-checkout:hover:not(.disabled) {
    background-color: var(--eh-accent-hover) !important;
    border-color: var(--eh-accent-hover) !important;
    color: var(--eh-bg-dark) !important;
}
.eccohost-theme #order-standard_cart .btn-continue-shopping {
    color: var(--eh-accent) !important;
}

/* Tabs promo */
.eccohost-theme #order-standard_cart .view-cart-tabs .nav-tabs {
    border-color: var(--eh-border);
}
.eccohost-theme #order-standard_cart .view-cart-tabs .nav-tabs > li > a {
    color: var(--eh-text-muted);
}
.eccohost-theme #order-standard_cart .view-cart-tabs .nav-tabs > li.active > a {
    background-color: var(--eh-bg-card) !important;
    border-color: var(--eh-border);
    color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .view-cart-tabs .tab-content {
    background-color: var(--eh-bg-card) !important;
    border-color: var(--eh-border);
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .view-cart-promotion-code {
    background-color: var(--eh-bg-elevated) !important;
    border-color: var(--eh-border);
}
.eccohost-theme #order-standard_cart .view-cart-gateway-checkout {
    background-color: var(--eh-bg-elevated) !important;
    border: 1px solid var(--eh-border);
}
.eccohost-theme #order-standard_cart .view-cart-empty {
    color: var(--eh-text-muted);
}

/* Formularios */
.eccohost-theme #order-standard_cart .form-control,
.eccohost-theme #order-standard_cart .field {
    background-color: var(--eh-bg-dark) !important;
    border-color: var(--eh-border) !important;
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .form-control:focus {
    border-color: var(--eh-accent);
    box-shadow: 0 0 0 2px var(--eh-accent-dim);
}
.eccohost-theme #order-standard_cart .prepend-icon .field-icon i {
    color: var(--eh-text-muted);
}

/* Panels y addons */
.eccohost-theme #order-standard_cart .panel-addon {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border) !important;
}
.eccohost-theme #order-standard_cart .panel-addon:hover {
    border-color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .panel-addon-selected {
    border-color: var(--eh-accent) !important;
    background: var(--eh-accent-dim) !important;
}
.eccohost-theme #order-standard_cart .panel-addon .panel-price {
    color: var(--eh-accent) !important;
}

/* Header lined */
.eccohost-theme #order-standard_cart .header-lined h1 {
    color: var(--eh-text) !important;
}

/* Modales */
.eccohost-theme #order-standard_cart .modal-content {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border);
}
.eccohost-theme #order-standard_cart .modal-header {
    background: var(--eh-bg-elevated) !important;
    border-color: var(--eh-border);
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .modal-body {
    background: var(--eh-bg-card) !important;
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .modal-footer {
    background: var(--eh-bg-elevated) !important;
    border-color: var(--eh-border);
}
.eccohost-theme #order-standard_cart .modal .btn-primary {
    background: var(--eh-accent) !important;
    border-color: var(--eh-accent) !important;
    color: var(--eh-bg-dark) !important;
}
.eccohost-theme #order-standard_cart .modal .btn-default {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border);
    color: var(--eh-text) !important;
}

/* Alerts */
.eccohost-theme #order-standard_cart .alert-success {
    background: var(--eh-accent-dim) !important;
    border-color: var(--eh-accent);
    color: var(--eh-accent);
}
.eccohost-theme #order-standard_cart .alert-danger {
    background: rgba(248, 81, 73, 0.15) !important;
    border-color: #f85149;
    color: #f85149;
}
.eccohost-theme #order-standard_cart .alert-info {
    background: var(--eh-accent-dim) !important;
    border-color: var(--eh-accent);
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .alert-warning {
    background: rgba(210, 153, 34, 0.15) !important;
    border-color: #d29922;
    color: #d29922;
}

/* Botones generales */
.eccohost-theme #order-standard_cart .btn-success {
    background: var(--eh-accent) !important;
    border-color: var(--eh-accent) !important;
    color: var(--eh-bg-dark) !important;
}
.eccohost-theme #order-standard_cart .btn-success:hover {
    background: var(--eh-accent-hover) !important;
    border-color: var(--eh-accent-hover) !important;
    color: var(--eh-bg-dark) !important;
}
.eccohost-theme #order-standard_cart .btn-default {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border) !important;
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .btn-default:hover {
    background: var(--eh-bg-elevated) !important;
    border-color: var(--eh-accent);
    color: var(--eh-accent) !important;
}

/* Dropdown */
.eccohost-theme #order-standard_cart .dropdown-menu {
    background: var(--eh-bg-card) !important;
    border-color: var(--eh-border);
}
.eccohost-theme #order-standard_cart .dropdown-menu li a {
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .dropdown-menu li a:hover {
    background: var(--eh-accent-dim) !important;
    color: var(--eh-accent) !important;
}

/* Selección de dominio - opciones con fondo oscuro */
.eccohost-theme #order-standard_cart .domain-selection-options .option {
    background-color: var(--eh-bg-card) !important;
    border: 1px solid var(--eh-border);
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .domain-selection-options .option:hover {
    border-color: var(--eh-accent);
}
.eccohost-theme #order-standard_cart .domain-selection-options .option-selected {
    background-color: var(--eh-bg-elevated) !important;
    border-color: var(--eh-accent);
}
.eccohost-theme #order-standard_cart .domain-selection-options .option-selected label {
    color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .domain-selection-options .option label {
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .domain-input-group {
    background: transparent !important;
}
.eccohost-theme #order-standard_cart .domains-row {
    background: transparent !important;
}
.eccohost-theme #order-standard_cart .input-group-addon {
    background-color: var(--eh-bg-elevated) !important;
    border-color: var(--eh-border) !important;
    color: var(--eh-text-muted) !important;
}
.eccohost-theme #order-standard_cart .form-control-static {
    color: var(--eh-text-muted) !important;
}
.eccohost-theme #order-standard_cart .product-info {
    background-color: var(--eh-bg-card) !important;
    border-color: var(--eh-border) !important;
    color: var(--eh-text);
}
.eccohost-theme #order-standard_cart .product-info .product-title {
    color: var(--eh-text) !important;
}
.eccohost-theme #order-standard_cart .transfer-eligible {
    background-color: var(--eh-accent-dim) !important;
    border-color: var(--eh-accent);
    color: var(--eh-accent);
}
.eccohost-theme #order-standard_cart .transfer-not-eligible {
    background-color: var(--eh-bg-card) !important;
    border-color: var(--eh-border);
    color: var(--eh-text-muted);
}
.eccohost-theme #order-standard_cart .domain-checker-available {
    color: var(--eh-accent) !important;
}
.eccohost-theme #order-standard_cart .domain-checker-unavailable,
.eccohost-theme #order-standard_cart .domain-checker-invalid {
    color: #f85149 !important;
}
