/**
 * Estilos do Frontend - Bluee Commerce v2.6.4
 * Design Moderno e Responsivo com Sidebar
 *
 * VERSAO 2.6.4 - DESIGN MODERNIZADO (2026-03-18)
 * - Gradientes suaves e elegantes
 * - Sombras em multiplas camadas
 * - Animacoes smooth (cubic-bezier)
 * - Responsive design completo
 *
 * INSTRUCOES PARA VER AS ALTERACOES:
 * 1. Desativar e reativar o plugin
 * 2. Limpar cache do navegador (Ctrl+F5)
 * 3. Limpar cache do WordPress (se aplicavel)
 */

:root {
    --primary-color: #0073aa;
    --primary-dark: #005177;
    --success-color: #46b450;
    --danger-color: #dc3232;
    --warning-color: #ff9800;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
    --text-dark: #333;
    --text-light: #666;
    --sidebar-width: 320px;
}

.delta-photo-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ==================== INDICADOR DE PASSOS ==================== */
.delta-photo-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.delta-photo-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border-color);
    z-index: 0;
    transform: translateY(-50%);
}

.delta-photo-steps .step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s;
}

.delta-photo-steps .step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border-color);
    color: var(--text-light);
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.delta-photo-steps .step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    transform: scale(1.1);
}

.delta-photo-steps .step.completed .step-number {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.delta-photo-steps .step-title {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.delta-photo-steps .step.active .step-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==================== LAYOUT PRINCIPAL COM SIDEBAR ==================== */
.delta-photo-main-container {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 30px;
    align-items: start;
}

.delta-photo-content {
    min-height: 500px;
}

/* ==================== CONTEUDO DOS PASSOS ==================== */
.delta-photo-step-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    min-height: 400px;
}

.delta-photo-step-content h2 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.delta-photo-step-content > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ==================== NÚMEROS DE FOTOS ==================== */
.photo-number-input-area {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.photo-number-input-area .form-group {
    margin-bottom: 20px;
}

.photo-number-input-area label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.photo-number-input-area textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s;
    background: white; /* Fundo branco para melhor contraste */
}

.photo-number-input-area textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0,115,170,0.15);
    background: white;
}

.photo-number-input-area .form-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Botão Adicionar Fotos - destaque maior */
#add-photo-numbers {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

#add-photo-numbers:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,115,170,0.4);
}

#add-photo-numbers:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,115,170,0.3);
}

/* Texto de instrução adicional */
.photo-input-instruction {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    color: #1565c0;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.delta-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.delta-toast {
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    animation: slideInRight 0.3s ease-out;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.delta-toast.hiding {
    animation: slideOutRight 0.3s ease-in forwards;
}

.delta-toast-icon {
    font-size: 17px;
    flex-shrink: 0;
}

.delta-toast-message {
    flex: 1;
    color: #333;
}

.delta-toast-close {
    background: none;
    border: none;
    font-size: 17px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delta-toast-close:hover {
    opacity: 1;
}

/* Toast types */
.delta-toast.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
}

.delta-toast.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid #dc3545;
}

.delta-toast.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
}

.delta-toast.info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left: 4px solid #17a2b8;
}

/* Lista de fotos selecionadas */
.selected-photos-list {
    margin: 30px 0;
}

.selected-photos-list h3 {
    font-size: 12px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

#selected-photos-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.empty-list {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}

.photo-number-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.photo-number-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.photo-number-item .photo-icon {
    font-size: 17px;
}

.photo-number-item .photo-label {
    flex: 1;
    font-weight: 600;
    color: var(--primary-color);
}

.photo-number-item .remove-photo {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.photo-item .remove-photo:hover {
    background: #c32323;
    transform: scale(1.1);
}

.photo-item .photo-name {
    font-size: 12px;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-light);
}

/* ==================== SELEÇÃO DE PRODUTOS ==================== */
.product-selection-item {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-selection-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

/* Linha 1: Label da fotografia */
.psi-photo-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f7fafc;
    background: linear-gradient(to right, #f0f8ff, transparent);
    margin: -20px -24px 16px -24px;
    padding: 16px 24px;
    border-radius: 16px 16px 0 0;
}

.psi-photo-icon {
    font-size: 17px;
    filter: drop-shadow(0 2px 4px rgba(0, 115, 170, 0.2));
}

.psi-photo-number {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #0084c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* Linha 2: Controlos horizontais */
.psi-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.psi-category-select {
    padding: 2px 14px !important;
    border: 3px solid #0073aa !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    flex: 1 1 auto;
    min-width: 240px !important;
    width: auto !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white !important;
    color: #1a202c !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2) !important;
    cursor: pointer !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    line-height: 1.5 !important;
    display: block !important;
}

.psi-category-select option {
    color: #1a202c !important;
    font-weight: 500 !important;
    padding: 10px !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.psi-category-select option:first-child {
    color: #718096 !important;
    font-style: italic !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

.psi-category-select:hover {
    border-color: #005177;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    transform: translateY(-1px);
}

.psi-category-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1), 0 2px 8px rgba(0, 115, 170, 0.15);
}

.psi-qty {
    padding: 12px 8px;
    border: 2px solid #cbd5e0;
    border-radius: 10px;
    font-size: 14px;
    width: 65px;
    max-width: 65px;
    flex-shrink: 0;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2d3748;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.psi-qty:hover:not(:disabled) {
    border-color: #a0aec0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.psi-qty:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1), 0 2px 8px rgba(0, 115, 170, 0.15);
}

.psi-qty:disabled {
    background: #f7fafc;
    cursor: not-allowed;
    opacity: 0.6;
}

.psi-add-btn {
    background: linear-gradient(135deg, var(--primary-color), #005a8d);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.25);
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.psi-add-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.35);
    background: linear-gradient(135deg, #0084c7, #004d6f);
}

.psi-add-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

.psi-add-btn:disabled {
    background: linear-gradient(135deg, #cbd5e0, #a0aec0);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

/* Opcao Preto e Branco */
.psi-bw-option {
    margin: 12px 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.psi-bw-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.psi-bw-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.psi-bw-text {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.psi-bw-label:hover .psi-bw-text {
    color: var(--primary-color);
}

/* Badge P&B no carrinho */
.bw-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4a5568, #2d3748);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

/* Hint de seleção de produto */
.psi-product-grid-hint {
    margin: 16px 0;
    animation: fadeInDown 0.4s ease-out;
}

.psi-hint {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    border-left: 4px solid #fb923c;
    padding: 12px 16px;
    border-radius: 8px;
    color: #9a3412;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grelha de produtos com imagens */
.psi-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
    padding: 20px;
    background: linear-gradient(to bottom, #fafafa, #ffffff);
    border-radius: 12px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
}

.psi-product-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.psi-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #0084c7);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.psi-product-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, #ffffff, #f0f8ff);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 115, 170, 0.15);
}

.psi-product-card:hover::before {
    transform: scaleX(1);
}

.psi-product-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e8f4fb, #f0f8ff);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2), 0 8px 24px rgba(0, 115, 170, 0.2);
    transform: translateY(-4px);
}

.psi-product-card.selected::before {
    transform: scaleX(1);
}

.psi-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.psi-product-card:hover .psi-card-img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

.psi-card-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 32px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.psi-card-name {
    font-size: 12px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
    line-height: 1.4;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psi-card-price {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, var(--primary-color), #0084c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.psi-no-products {
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    margin: 0;
    grid-column: 1 / -1;
}

/* Lista de produtos adicionados */
.selected-products {
    margin-top: 8px;
}

.selected-product-item {
    background: var(--bg-light);
    padding: 8px 12px;
    margin-top: 6px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid var(--primary-color);
    font-size: 12px;
}

.remove-product-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.remove-product-btn:hover {
    background: #c32323;
}

/* Responsivo: 2 colunas em ecrãs pequenos */
@media (max-width: 600px) {
    .psi-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .psi-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .psi-qty {
        width: 100%;
    }
}

/* ==================== SIDEBAR COM CARRINHO ==================== */
.delta-photo-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 20px;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
}

.sidebar-sticky h3 {
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-size: 17px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

#sidebar-cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

#sidebar-cart-items::-webkit-scrollbar {
    width: 6px;
}

#sidebar-cart-items::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

#sidebar-cart-items::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.cart-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.cart-item-photo-id {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 4px;
    font-size: 12px;
    line-height: 1;
}

.cart-item-product {
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cart-item-details {
    font-size: 12px;
    color: var(--text-light);
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 6px;
    display: block;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    padding: 40px 20px;
}

.sidebar-totals {
    border-top: 2px solid var(--bg-light);
    padding-top: 16px;
    margin-top: 16px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.total-row.total-amount {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--bg-light);
}

/* ==================== RESUMO ==================== */
#order-summary {
    margin: 20px 0;
}

.summary-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 100px;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 16px;
}

.summary-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Badge de ícone de foto no resumo */
.photo-icon-badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    font-size: 36px;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.order-total {
    text-align: right;
    font-size: 22px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 24px;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

/* ==================== FORMULÁRIO ==================== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 12px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.15), 0 1px 3px rgba(0,0,0,0.1);
    background: #f8fafc;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== NAVEGAÇÃO ==================== */
.step-navigation {
    margin-top: 40px;
    text-align: right;
    padding-top: 24px;
    border-top: 2px solid var(--bg-light);
}

.button {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 12px;
    transition: all 0.3s;
    font-weight: 600;
}

.button-primary {
    background: var(--primary-color);
    color: white;
}

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.button:not(.button-primary) {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.button:not(.button-primary):hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ==================== LOADING ==================== */
#delta-photo-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.loading-spinner {
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== PAGAMENTO ==================== */
.payment-details {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border: 2px solid var(--border-color);
}

.payment-details h3,
.payment-details h4 {
    color: var(--primary-color);
    margin-top: 0;
}

.payment-reference {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: var(--primary-color);
    letter-spacing: 4px;
    margin: 24px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 3px dashed var(--primary-color);
}

/* ==================== ESTADO DA ENCOMENDA ==================== */
.delta-photo-order-status {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.delta-photo-order-status h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 17px;
}

.order-info p {
    margin: 16px 0;
    font-size: 14px;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 1024px) {
    .delta-photo-main-container {
        grid-template-columns: 1fr;
    }

    .delta-photo-sidebar {
        order: -1;
        margin-bottom: 30px;
    }

    .sidebar-sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .delta-photo-wrapper {
        padding: 12px;
    }

    .delta-photo-steps .step-title {
        display: none;
    }

    .delta-photo-steps .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }

    .delta-photo-step-content {
        padding: 24px;
    }

    .delta-photo-step-content h2 {
        font-size: 22px;
    }

    .product-selection-item {
        grid-template-columns: 1fr;
    }

    .summary-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-navigation {
        text-align: center;
    }

    .button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    #selected-photos-content {
        grid-template-columns: 1fr;
    }

    /* Responsive para product selection */
    .psi-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .psi-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .psi-category-select {
        min-width: 100%;
    }

    .psi-qty {
        width: 100%;
    }

    .psi-add-btn {
        width: 100%;
        padding: 14px 20px;
    }

    .product-selection-item {
        padding: 16px;
    }

    .psi-photo-label {
        margin: -16px -16px 12px -16px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .delta-photo-steps::before {
        display: none;
    }

    .photo-number-input-area {
        padding: 20px;
    }

    .sidebar-sticky {
        padding: 16px;
    }

    .payment-reference {
        font-size: 22px;
        letter-spacing: 2px;
    }

    /* Mobile: product grid em 1 coluna */
    .psi-product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .product-selection-item {
        padding: 12px;
        border-radius: 12px;
    }

    .psi-photo-label {
        margin: -12px -12px 12px -12px;
        padding: 10px 12px;
        border-radius: 12px 12px 0 0;
    }

    .psi-photo-number {
        font-size: 14px;
    }

    .psi-photo-icon {
        font-size: 17px;
    }

    .psi-card-name {
        font-size: 12px;
        min-height: 32px;
    }

    .psi-card-price {
        font-size: 14px;
    }

    .psi-hint {
        font-size: 12px;
        padding: 10px 14px;
    }
}

/* ==================== CONSULTA DE ENCOMENDA ==================== */
.delta-order-status-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.order-status-search-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 30px;
}

.order-status-search-card h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.order-status-search-card p {
    color: #666;
    margin-bottom: 30px;
}

.order-search-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.order-search-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

.order-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0,115,170,0.1);
}

.order-search-btn {
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.order-search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,115,170,0.4);
}

/* Card de Resultado */
.order-status-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-status-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.order-status-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.order-status-label {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.order-status-message {
    font-size: 14px;
    color: #666;
}

/* Cores por estado */
.status-success .order-status-label {
    color: var(--success-color);
}

.status-warning .order-status-label {
    color: #ff9800;
}

.status-error .order-status-label {
    color: var(--danger-color);
}

.status-info .order-status-label {
    color: var(--primary-color);
}

/* Detalhes da encomenda */
.order-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.order-detail-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.order-detail-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.order-detail-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Dados de pagamento Multibanco */
.payment-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.payment-info-card h3 {
    font-size: 12px;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}

.payment-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.payment-info-item {
    text-align: center;
}

.payment-info-item-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-info-item-value {
    font-size: 17px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Card de erro */
.order-error-card {
    background: #fff5f5;
    border: 2px solid #feb2b2;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    animation: slideDown 0.4s ease-out;
}

.order-error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.order-error-message {
    font-size: 12px;
    color: var(--danger-color);
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 768px) {
    .order-search-form {
        flex-direction: column;
    }

    .order-search-btn {
        width: 100%;
    }

    .payment-info-grid {
        grid-template-columns: 1fr;
    }

    .order-details-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== ÁREA DE CLIENTE ==================== */

/* Login/Register Forms */
.bluee-customer-auth {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.bluee-auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
}

.bluee-auth-tab {
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.bluee-auth-tab.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.bluee-auth-tab:hover {
    background: white;
    color: var(--primary-color);
}

.bluee-auth-form {
    display: none;
    padding: 40px;
}

.bluee-auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bluee-auth-form h3 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: 17px;
}

.bluee-auth-form > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.bluee-form-group {
    margin-bottom: 20px;
}

.bluee-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.bluee-form-group input[type="text"],
.bluee-form-group input[type="email"],
.bluee-form-group input[type="tel"],
.bluee-form-group input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 3px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    color: #1a202c;
    font-weight: 500;
}

.bluee-form-group input:hover {
    border-color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.bluee-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0,115,170,0.15), 0 2px 8px rgba(0,115,170,0.2);
    background: #f8fafc;
    transform: translateY(-1px);
}

.bluee-form-group small {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 4px;
}

.bluee-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.bluee-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.bluee-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,115,170,0.4);
}

.bluee-btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.bluee-btn-secondary:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.bluee-btn-small {
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
}

.bluee-forgot-password {
    text-align: center;
    margin-top: 16px;
}

.bluee-forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.bluee-forgot-password a:hover {
    text-decoration: underline;
}

/* Customer Dashboard */
.bluee-customer-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar */
.bluee-dashboard-sidebar {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.bluee-customer-welcome {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--bg-light);
    margin-bottom: 24px;
}

.bluee-customer-avatar {
    margin-bottom: 16px;
}

.bluee-customer-avatar img {
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.bluee-customer-welcome h3 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.bluee-customer-welcome p {
    margin: 0;
    color: var(--text-light);
    font-size: 12px;
    word-break: break-all;
}

.bluee-dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 13px;
}

.bluee-dashboard-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(4px);
}

.bluee-dashboard-nav a.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

/* Dashboard Content */
.bluee-dashboard-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 500px;
}

.bluee-dashboard-content h2 {
    margin: 0 0 30px 0;
    color: var(--primary-color);
    font-size: 22px;
}

/* Orders View */
.bluee-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.bluee-empty-state p:first-child {
    font-size: 48px;
    margin-bottom: 16px;
}

.bluee-orders-list {
    display: grid;
    gap: 20px;
}

.bluee-order-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
    background: white;
}

.bluee-order-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.bluee-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

.bluee-order-header h4 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: 17px;
}

.bluee-order-date {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

.bluee-order-total strong {
    font-size: 17px;
    color: var(--primary-color);
}

.bluee-order-status {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.bluee-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bluee-badge-success {
    background: #d4edda;
    color: #155724;
}

.bluee-badge-warning {
    background: #fff3cd;
    color: #856404;
}

.bluee-badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.bluee-badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.bluee-badge-primary {
    background: #cfe2ff;
    color: #084298;
}

.bluee-order-actions {
    display: flex;
    gap: 12px;
}

/* Order Details View */
.bluee-order-details {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.bluee-order-details-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.bluee-order-details-header h2 {
    margin: 0;
    color: var(--text-dark);
}

.bluee-order-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.bluee-order-info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.bluee-order-info-card h3 {
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

.bluee-order-info-table {
    width: 100%;
    border-collapse: collapse;
}

.bluee-order-info-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bluee-order-info-table tr:last-child {
    border-bottom: none;
}

.bluee-order-info-table th {
    text-align: left;
    padding: 10px 10px 10px 0;
    color: var(--text-light);
    font-weight: 500;
    width: 40%;
    font-size: 12px;
}

.bluee-order-info-table td {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 13px;
}

.bluee-order-items-section {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.bluee-order-items-section h3 {
    margin: 0 0 20px 0;
    color: var(--text-dark);
    font-size: 12px;
}

.bluee-order-items-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border-collapse: collapse;
}

.bluee-order-items-table thead {
    background: var(--primary-color);
    color: white;
}

.bluee-order-items-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.bluee-order-items-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.bluee-order-items-table tbody tr:last-child td {
    border-bottom: none;
}

.bluee-order-items-table tfoot th,
.bluee-order-items-table tfoot td {
    padding: 16px;
    border-top: 2px solid var(--border-color);
}

.bluee-order-total-row {
    background: var(--bg-light);
}

.bluee-order-total-row th,
.bluee-order-total-row td {
    font-size: 12px;
    color: var(--primary-color);
}

.bluee-order-actions-section {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Profile View */
.bluee-profile-view h3 {
    color: var(--text-dark);
    font-size: 17px;
    margin: 30px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

.bluee-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .bluee-customer-dashboard {
        grid-template-columns: 1fr;
    }

    .bluee-dashboard-sidebar {
        position: relative;
        top: 0;
    }

    .bluee-dashboard-content {
        padding: 24px;
    }

    .bluee-form-row {
        grid-template-columns: 1fr;
    }

    .bluee-order-details {
        padding: 20px;
    }

    .bluee-order-details-grid {
        grid-template-columns: 1fr;
    }

    .bluee-order-items-table {
        font-size: 14px;
    }

    .bluee-order-items-table th,
    .bluee-order-items-table td {
        padding: 12px 8px;
    }

    .bluee-order-actions-section {
        flex-direction: column;
    }

    .bluee-order-header {
        flex-direction: column;
        gap: 12px;
    }

    .bluee-order-actions {
        flex-direction: column;
    }

    .bluee-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bluee-customer-auth {
        margin: 20px;
    }

    .bluee-auth-form {
        padding: 24px;
    }

    .bluee-dashboard-content {
        padding: 16px;
    }

    .bluee-order-card {
        padding: 16px;
    }
}

/* ==================== FIX: REMOVER BORDERS AMARELOS ==================== */
/* Força remoção de todos os borders amarelos das tabelas */

.bluee-order-info-table,
.bluee-order-info-table *,
.bluee-order-info-table th,
.bluee-order-info-table td,
.bluee-order-info-table tr {
    border-color: #e5e7eb !important;
    border-width: 1px !important;
}

.bluee-order-info-card,
.bluee-order-details-grid > div {
    border: 1px solid #e5e7eb !important;
    border-color: #e5e7eb !important;
}

.bluee-order-items-table,
.bluee-order-items-table *,
.bluee-order-items-table th,
.bluee-order-items-table td,
.bluee-order-items-table tr,
.bluee-order-items-table thead,
.bluee-order-items-table tbody,
.bluee-order-items-table tfoot {
    border-color: #e5e7eb !important;
}

/* Remove qualquer background amarelo */
.bluee-order-info-table th,
.bluee-order-info-table td,
.bluee-order-items-table th,
.bluee-order-items-table td {
    background-color: white !important;
}

/* Força border cinza em TODAS as células */
table th,
table td {
    border-color: #e5e7eb !important;
}

/* Remove borders amarelos de qualquer elemento */
* [style*="border"][style*="yellow"],
* [style*="border"][style*="#ffc"],
* [style*="border"][style*="#ff0"] {
    border-color: #e5e7eb !important;
}

/* ==================== TIPOGRAFIA UNIFORME ==================== */
/* Sistema de fontes consistente para área de cliente */

:root {
    --font-title: 14px;        /* Títulos de secções */
    --font-body: 13px;         /* Texto normal */
    --font-small: 12px;        /* Labels, meta-info */
    --font-large: 15px;        /* Destaque */
}

/* Títulos de secções - UNIFORME */
.bluee-order-info-card h3,
.bluee-order-items-section h3,
.bluee-order-details h2,
h3, h4 {
    font-size: var(--font-title) !important;
}

/* Texto normal - UNIFORME */
.bluee-order-info-table td,
.bluee-order-items-table td,
.bluee-order-card p,
body, p, div, span {
    font-size: var(--font-body) !important;
}

/* Labels e texto pequeno - UNIFORME */
.bluee-order-info-table th,
.bluee-order-items-table th,
.bluee-order-date,
small, label {
    font-size: var(--font-small) !important;
}

/* Totais e valores destacados - UNIFORME */
.bluee-order-total,
.bluee-order-total-row td,
.bluee-order-total-row th,
strong {
    font-size: var(--font-title) !important;
    font-weight: 600 !important;
}

/* ==================== FIX: HEADERS DE TABELA ==================== */
/* Garante que headers têm fundo de cor e texto visível */

.bluee-order-items-table thead th,
.bluee-order-items-table thead td {
    background-color: #0073aa !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px !important;
}

/* Alternativa: fundo cinza com texto escuro */
.bluee-order-info-table thead th,
.bluee-order-info-table thead td {
    background-color: #f3f4f6 !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
}

/* Garante que TODOS os th de tabela têm texto visível */
table thead th,
table thead td {
    background-color: #0073aa !important;
    color: white !important;
}

/* Células normais - texto escuro */
table tbody td,
table tbody th {
    color: #1f2937 !important;
    background-color: white !important;
}
