/*
Theme Name: WOO WHINCBD / FLOWERMED
Description: Tema customizado para WHINCBD com iframe fullscreen
Version: 1.0
Author: Herick Correa
*/

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.iframe-container {
    width: 100%;
    height: 100vh;
    border: none;
}

hr,
#header,
p.woocommerce-store-notice {display: none !important;}

/* STATUS DE ENTREGA */

/* Ajusta o tamanho das colunas para caber melhor */
.column-export_status {
    width: 120px !important;
    min-width: 120px !important;
}

.column-delivery_status {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 250px !important;
}

.delivery-status {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border-left: 4px solid #ccc;
    margin: 2px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    word-break: break-word;
}

.delivery-status strong {
    color: #333;
    font-weight: 600;
}

/* Cores para diferentes status */
.delivery-status.status-em_transito_internacional {
    border-left-color: #f0ad4e;
    background-color: #fcf8e3;
}

.delivery-status.status-em_transito_internacional strong {
    color: #8a6d3b;
}

.delivery-status.status-entregue {
    border-left-color: #5cb85c;
    background-color: #dff0d8;
}

.delivery-status.status-entregue strong {
    color: #3c763d;
}

.delivery-status.status-pendente {
    border-left-color: #d9534f;
    background-color: #f2dede;
}

.delivery-status.status-pendente strong {
    color: #a94442;
}

.delivery-status.status-processando {
    border-left-color: #5bc0de;
    background-color: #d9edf7;
}

.delivery-status.status-processando strong {
    color: #31708f;
}

/* Ícones */
.dashicons-calendar-alt,
.dashicons-clock {
    margin-right: 4px;
    opacity: 0.7;
    font-size: 12px !important;
}

.post-type-shop_order .wp-list-table thead th.woe_export_status,
.post-type-shop_order .wp-list-table tbody td.woe_export_status
 {display: none;}

/* Responsividade */
@media screen and (max-width: 1400px) {
    .column-delivery_status {
        width: 180px !important;
    }
    
    .column-export_status {
        width: 100px !important;
    }
}

@media screen and (max-width: 1200px) {
    .column-delivery_status {
        width: 160px !important;
    }
}