/* ── cc.excel.css ── Estilos para o componente enableExcel ── */

.cc-excel-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    border: 2px dashed #b0b0b0;
    border-radius: 8px;
    background: #fafafa;
    cursor: default;
    transition: border-color .2s, background .2s;
}

.cc-excel-dropzone-hover {
    border-color: #1d6f42;
    background: #e8f5e9;
}

.cc-excel-dropzone-inner {
    text-align: center;
    color: #666;
    pointer-events: none;
}

.cc-excel-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cc-excel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    background: #f1f1f1;
    border-bottom: 1px solid #ccc;
    flex-shrink: 0;
}

.cc-excel-tabs {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    flex: 1;
}

.cc-excel-tab {
    padding: 4px 14px;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #e8e8e8;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
    outline: none;
}

.cc-excel-tab:hover {
    background: #ddd;
}

.cc-excel-tab.active {
    background: #fff;
    font-weight: 600;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.cc-excel-actions {
    display: flex;
    gap: 6px;
    margin-left: 10px;
    flex-shrink: 0;
}

.cc-excel-btn {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.cc-excel-btn:hover {
    background: #e0e0e0;
}

.cc-excel-sheet {
    flex: 1;
    overflow: auto;
}

/* Linhas com altura legível */
.cc-excel-sheet .jexcel tbody td {
    height: 24px !important;
    min-height: 24px !important;
    padding: 2px 6px !important;
    font-size: 13px;
    line-height: 20px !important;
}

.cc-excel-sheet .jexcel thead td {
    height: 26px !important;
    font-size: 13px;
    line-height: 22px !important;
}
