/* ===== BANNER DE FUNDO ===== */
.draccu-my-account-banner {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
    position: relative;
}

.nav-food-draccu-express{
    position: absolute; 
    width: 100%; 
    max-width: 700px; 
    display: flex; 
    justify-content: end; 
    gap: 10px;
}

.nav-food-draccu-express a{
    background-color: #000000a1; 
    color: #fff; 
    padding: 7px 12px; 
    border-radius: 50%; 
    margin-top: 10px; 
    font-size: .8em;
}

.nav-food-draccu-express a:hover{
    background-color: #000000c5; 
}

/* ===== CONTAINER PRINCIPAL ===== */
.draccu-my-account-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    position: relative;
    min-height: 500px;
    background: #ffffff;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    border: 1px solid #e9e9e9;
    margin-top: -70px;
}

/* ===== TABS ===== */
.draccu-my-account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.draccu-tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: .6em;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.draccu-tab-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Cor dinâmica para tabs ativas - usando variável CSS */
.draccu-tab-btn.active {
    background: var(--tab-color, #58bc42);
    color: #ffffff;
}

.draccu-tab-btn i {
    font-size: 18px;
}

.draccu-tab-badge {
    background: #ef4444;
    color: white;
    border-radius: 7px;
    padding: 2px 8px;
    font-size: .8em;
    font-weight: 600;
    margin-left: 5px;
}

.draccu-tab-content {
    display: none;
    animation: draccuFadeIn 0.3s ease;
}

.draccu-tab-content.active {
    display: block;
}

@keyframes draccuFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SEÇÕES ===== */
.draccu-profile-section,
.draccu-orders-section {
    background: #ffffff;
    border-radius: 10px;
    margin-top: -10px;
}

.draccu-profile-section h3,
.draccu-orders-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.draccu-profile-section h3 i,
.draccu-orders-section h3 i {
    color: var(--section-icon-color, #58bc42);
}

/* ===== FORMULÁRIO DE PERFIL ===== */
.draccu-profile-form .draccu-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.draccu-profile-form .draccu-form-group.full-width {
    grid-column: 1 / -1;
}

.draccu-profile-form .draccu-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: #374151;
}

.draccu-profile-form .draccu-form-group input,
.draccu-profile-form .draccu-form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.draccu-profile-form .draccu-form-group input:focus,
.draccu-profile-form .draccu-form-group select:focus {
    border-color: var(--input-focus-color, #58bc42);
    outline: none;
    box-shadow: 0 0 0 3px rgba(88, 188, 66, 0.1);
}

.draccu-profile-form .draccu-form-group input::placeholder {
    color: #9ca3af;
}

/* ===== BOTÃO ATUALIZAR ===== */
.draccu-btn-success {
    background: var(--button-color, #22c55e);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.draccu-btn-success:hover {
    background: var(--button-hover-color, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* ===== TABELA DE PEDIDOS ===== */
.draccu-orders-table-wrapper {
    overflow-x: auto;
    margin-top: -10px;
}

.draccu-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .6em;
}

.draccu-orders-table thead th {
    background: #ffffff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.draccu-orders-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.draccu-orders-table tbody tr:hover {
    background: #f9fafb;
}

.draccu-orders-table tbody td {
    padding: 12px 0;
    vertical-align: middle;
    font-weight: 500;
}

.draccu-orders-table tbody td strong {
    color: #1a1a1a;
}

/* ===== STATUS DOS PEDIDOS ===== */
.draccu-order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .95em;
    font-weight: 600;
}

.draccu-order-status.new {
    background: #dbeafe;
    color: #1e40af;
}

.draccu-order-status.preparing {
    background: #fef3c7;
    color: #92400e;
}

.draccu-order-status.delivering {
    background: #e0e7ff;
    color: #3730a3;
}

.draccu-order-status.delivered {
    background: #dcfce7;
    color: #166534;
}

.draccu-order-status.pending {
    background: #fef2f2;
    color: #991b1b;
}

.draccu-order-status.processing {
    background: #fef3c7;
    color: #92400e;
}

.draccu-order-status.completed {
    background: #dcfce7;
    color: #166534;
}

.draccu-order-status.cancelled {
    background: #f3f4f6;
    color: #6b7280;
}

.draccu-order-status.refunded {
    background: #fef2f2;
    color: #991b1b;
}

.draccu-order-status.default {
    background: #f3f4f6;
    color: #6b7280;
}

/* ===== BOTÃO VER DETALHES ===== */
.draccu-btn-view-order {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background: var(--view-btn-color, #58bc42);
    color: white;
    font-size: .6em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.draccu-btn-view-order:hover {
    background: var(--view-btn-hover-color, #4aa83a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 188, 66, 0.3);
}

.draccu-btn-view-order i {
    font-size: 14px;
}

/* ===== BOTÕES GERAIS ===== */
.draccu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: .6em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* ===== MENSAGENS ===== */
.draccu-form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.draccu-form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.draccu-form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.draccu-form-message i {
    font-size: 20px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .draccu-profile-form .draccu-form-row {
        grid-template-columns: 1fr;
    }

    
    .draccu-order-info-grid {
        grid-template-columns: 1fr;
    }
    
    .draccu-orders-table {
        font-size: 12px;
    }
    
    .draccu-orders-table thead th,
    .draccu-orders-table tbody td {
        padding: 8px 10px;
    }
    
    .draccu-modal-content {
        padding: 20px;
        width: 98%;
        max-height: 95vh;
    }
    
    .draccu-my-account-banner {
        height: 200px;
    }

    .nav-food-draccu-express a:last-child{
        margin-right: 10px;
    }

    .nav-food-draccu-express a{
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .draccu-orders-table thead th:nth-child(2),
    .draccu-orders-table tbody td:nth-child(2) {
        display: none;
    }
    
    .draccu-modal-content {
        padding: 15px;
    }
    
    .draccu-modal-header h3 {
        font-size: 17px;
    }
    
    .draccu-order-info-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .draccu-my-account-banner {
        height: 200px;
    }

    .nav-food-draccu-express a:last-child{
        margin-right: 10px;
    }

    .nav-food-draccu-express a{
        font-size: 1em;
    }


.nav-food-draccu-express a{
    font-size: .8em;
}

.draccu-tab-btn {

    font-size: .75em;
}

.draccu-tab-badge {
    font-size: .8em;
}

.draccu-orders-table {
    font-size: .75em;
}

/* ===== BOTÃO VER DETALHES ===== */
.draccu-btn-view-order {
    font-size: .75em;
}

/* ===== BOTÕES GERAIS ===== */
.draccu-btn {
    font-size: .75em;
}

}