/* Dual Currency Styling */
.eur-price {
    color: #666;
    font-size: 0.9em;
    font-weight: normal;
    display: block;
    margin-top: 2px;
}

/* Secondary price styling (for when EUR is primary) */
.secondary-price {
    color: #666;
    font-size: 0.9em;
    font-weight: normal;
    display: block;
    margin-top: 2px;
}

/* Currency display mode specific styling */
.currency-mode-bgn-only .eur-price,
.currency-mode-bgn-only .secondary-price {
    display: none !important;
}

.currency-mode-eur-only .secondary-price {
    display: none !important;
}

/* Primary currency emphasis */
.currency-primary-eur .eur-price {
    color: #333;
    font-size: 1em;
    font-weight: bold;
}

.currency-primary-eur .secondary-price {
    color: #666;
    font-size: 0.9em;
    font-weight: normal;
}

.price-current .eur-price,
.price-prev .eur-price,
.price-current .secondary-price,
.price-prev .secondary-price {
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
    margin-top: 3px;
}

.cart_total .eur-price,
.cart_total .secondary-price {
    color: #555;
    font-size: 0.9em;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .eur-price,
    .secondary-price {
        font-size: 0.8em;
    }
    
    .price-current .eur-price,
    .price-prev .eur-price,
    .price-current .secondary-price,
    .price-prev .secondary-price {
        font-size: 0.75em;
    }
}

/* Cart specific styling */
.cart-item .price .eur-price,
.cart-item .price .secondary-price {
    color: #777;
    font-size: 0.85em;
    margin-top: 1px;
}

/* Header cart styling */
#cart_total .eur-price {
    display: inline;
    margin-left: 5px;
}

/* Product grid styling */
.product-item .prices .eur-price {
    color: #666;
    font-size: 0.8em;
    line-height: 1.2;
}

/* Sidebar product list styling */
.sidebar-product-list-item .price .eur-price {
    font-size: 0.75em;
    color: #777;
}

/* Order status page styling */
.main-orders .price_total {
    font-size: 1.1em;
    color: #2c5aa0;
    font-weight: bold;
}

.main-orders .price_total .eur-price {
    color: #666;
    font-size: 0.85em;
    font-weight: normal;
    display: block;
    margin-top: 3px;
}

.main-orders table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.main-orders table th {
    background-color: #f8f9fa;
    padding: 12px 8px;
    border: 1px solid #dee2e6;
    font-weight: bold;
    text-align: left;
}

.main-orders table td {
    padding: 10px 8px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.main-orders .main_order:hover {
    background-color: #f8f9fa;
}

.main-orders .o_status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
}

.main-orders .o_status.wait {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.main-orders .o_status.processing {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.main-orders .o_status.sended {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.main-orders .o_status.deny {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.main-orders .o_status.inprogress {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* Order info grid specific styling */
.main-orders .grid.tablesorter {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.main-orders .expand-child td {
    background-color: #f8f9fa;
}

.main-orders .order_row td {
    background-color: #ffffff;
}

.main-orders .clientNames {
    font-size: 1.1em;
    font-weight: bold;
    color: #2c5aa0;
    text-decoration: none;
}

.main-orders .clientNames:hover {
    color: #1a365d;
    text-decoration: underline;
}

.main-orders .phone {
    color: #28a745;
    font-weight: bold;
}

.main-orders .factura {
    background-color: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    margin: 4px 0;
}

.main-orders .order_num {
    font-size: 1.2em;
    font-weight: bold;
    padding: 8px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    width: 120px;
}

.main-orders .order_note {
    width: 100%;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    resize: vertical;
}

/* Orders grid price total styling */
.main-orders .pr_total {
    font-size: 1.1em;
    font-weight: bold;
    color: #2c5aa0;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #dee2e6;
    display: inline-block;
    margin-top: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.main-orders .pr_total:hover {
    background-color: #e9ecef;
    border-color: #2c5aa0;
}

/* Process button styling */
.main-orders .process {
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
    transition: background-color 0.2s;
}

.main-orders .process:hover {
    background-color: #218838;
    color: white;
    text-decoration: none;
}

/* Order number styling improvements */
.main-orders tr td strong {
    color: #2c5aa0;
}

/* Days counter styling */
.main-orders tr td strong[style*="font-size: 20px"] {
    background-color: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    color: #495057;
}

/* Status badges improvements */
.main-orders .wait {
    background-color: #fff3cd;
    color: #856404;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ffeaa7;
}

.main-orders .processing {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #bee5eb;
}

.main-orders .sended {
    background-color: #d4edda;
    color: #155724;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.main-orders .deny {
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

.main-orders .inprogress {
    background-color: #e2e3e5;
    color: #383d41;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d6d8db;
}

/* Responsive improvements for order status */
@media (max-width: 768px) {
    .main-orders table {
        font-size: 0.9em;
    }
    
    .main-orders .price_total {
        font-size: 1em;
    }
    
    .main-orders .price_total .eur-price {
        font-size: 0.8em;
    }
    
    .main-orders .pr_total {
        font-size: 1em;
        padding: 6px 10px;
    }
    
    .main-orders .order_num {
        font-size: 1em;
        width: 100px;
    }
    
    .main-orders .process {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}