    .swal2-popup {
        font-size: 1.4rem !important;
        min-width: 40em !important;
    }

    .swal2-title {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }

    .swal2-html-container {
        font-size: 1.5rem !important;
        line-height: 1.6 !important;
    }

    .swal2-confirm {
        font-size: 1.3rem !important;
        padding: 0.8em 2em !important;
    }

    /* --- ESTILO MODERNO --- */
    body {
        font-family: 'Roboto', sans-serif;
        background-color: #f4f7f6;
        color: #555;
    }

    /* Header */
    .app-header {
        background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
        color: white;
        padding: 20px 0;
        margin-bottom: 30px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .app-title {
        margin: 0;
        font-weight: 300;
    }

    .app-subtitle {
        opacity: 0.8;
        font-size: 14px;
    }

    /* Status Badge */
    .server-status-pill {
        background: rgba(255, 255, 255, 0.2);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 13px;
        display: inline-block;
        margin-top: 10px;
    }

    .status-dot {
        height: 10px;
        width: 10px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 5px;
    }

    .dot-green {
        background-color: #00e676;
        box-shadow: 0 0 8px #00e676;
    }

    .dot-red {
        background-color: #ff1744;
        box-shadow: 0 0 8px #ff1744;
    }

    /* Upload Card */
    .upload-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 30px;
        text-align: center;
    }

    .drop-zone {
        border: 2px dashed #ccc;
        border-radius: 8px;
        padding: 40px 20px;
        background: #fafafa;
        transition: all 0.2s;
        cursor: pointer;
        position: relative;
        margin-bottom: 20px;
    }

    .drop-zone:hover {
        border-color: #00695c;
        background: #e0f2f1;
    }

    .drop-zone.dragover {
        border-color: #00695c;
        background: #e0f2f1;
    }

    .drop-zone i {
        font-size: 48px;
        color: #00695c;
        margin-bottom: 15px;
    }

    .drop-zone h4 {
        margin: 0;
        font-weight: 500;
    }

    .drop-zone p {
        color: #888;
        margin: 5px 0 0;
    }

    #input-lote {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 10;
    }

    /* Buttons */
    .btn-action {
        background-color: #00695c;
        color: white;
        font-weight: 500;
        padding: 12px 30px;
        border-radius: 50px;
        border: none;
        box-shadow: 0 4px 6px rgba(0, 105, 92, 0.3);
        transition: all 0.3s;
        width: 100%;
        display: block;
        position: relative;
        z-index: 20;
    }

    .btn-action:hover {
        background-color: #004d40;
        color: white;
        transform: scale(1.02);
        text-decoration: none;
    }

    .btn-action:disabled {
        background-color: #bdc3c7;
        transform: none;
        box-shadow: none;
        cursor: not-allowed;
    }

    /* Offline Alert */
    .offline-alert-box {
        background-color: #ffebee;
        border-left: 5px solid #c62828;
        border-radius: 4px;
        padding: 15px;
        margin: 15px 0;
        text-align: left;
        display: none;
        position: relative;
        z-index: 1000;
    }

    .offline-title {
        color: #c62828;
        font-weight: bold;
        font-size: 16px;
        display: block;
        margin-bottom: 8px;
    }

    .offline-step {
        display: block;
        color: #333;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .btn-authorize {
        background-color: #c62828;
        color: white;
        font-size: 12px;
        padding: 8px 15px;
        border-radius: 4px;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
        transition: 0.3s;
        font-weight: 500;
    }

    .btn-authorize:hover {
        background-color: #b71c1c;
        color: white;
        text-decoration: none;
    }

    /* Table Card */
    .table-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .card-header-custom {
        padding: 15px 20px;
        background-color: #fff;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .card-title {
        margin: 0;
        font-size: 18px;
        font-weight: 500;
        color: #00695c;
    }

    .header-buttons {
        display: flex;
        gap: 10px;
    }

    .btn-header {
        border: none;
        padding: 6px 15px;
        border-radius: 4px;
        font-size: 13px;
        display: none;
        transition: all 0.3s;
        color: white;
    }

    .btn-header:hover {
        color: white;
        text-decoration: none;
        opacity: 0.9;
    }

    .btn-download-all {
        background-color: #34495e;
    }

    .btn-new-sign {
        background-color: #f39c12;
    }

    .table {
        margin-bottom: 0;
    }

    .table thead th {
        border-bottom: 2px solid #eee;
        color: #888;
        font-weight: 500;
        font-size: 13px;
        text-transform: uppercase;
    }

    .table td {
        vertical-align: middle !important;
        padding: 15px;
    }

    .st-icon {
        margin-right: 8px;
        width: 20px;
        text-align: center;
        display: inline-block;
    }

    .st-pendente {
        color: #f39c12;
    }

    .st-lendo {
        color: #3498db;
    }

    .st-sucesso {
        color: #27ae60;
    }

    .st-erro {
        color: #e74c3c;
    }

    .legado-oculto {
        display: none;
    }

    .spin {
        animation: spin 2s linear infinite;
    }

    @keyframes spin {
        100% {
            transform: rotate(360deg);
        }
    }

    .cert-hint {
        font-size: 12px;
        color: #7f8c8d;
        margin-top: 10px;
        display: none;
    }