body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f7f6;
    padding: 5px;
}

.menu {
    display: flex;
    background: #fff;
    padding: 5px 15px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    align-items: center;

    span {
        font-size: 24px;
        font-weight: 600;
        color: #000000;
        cursor: default;
    }

    ul {
        display: flex;
        gap: 20px;
        list-style: none;

        li {
            a {
                text-decoration: none;
                color: #333;
                font-weight: 600;
                font-size: 18px;
                padding: 8px 12px;
                border-radius: 8px;
                transition: background-color 0.3s, color 0.3s;

                &:hover {
                    background-color: #0d6efd;
                    color: white;
                }

                &.active {
                    background-color: #0d6efd;
                    color: white;
                }
            }
        }
    }
}

.container {
    display: none;
    margin-top: 1%;
    max-width: 100%;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

#container-transmitir {
    .item-envio {
        border: 1px solid #e0e0e0;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
        position: relative;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 10px;
    }

    label {
        display: block;
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 8px;
    }

    input,
    select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .btn-add {
        background: #6c757d;
        color: white;
        border: none;
        padding: 12px 20px;
        cursor: pointer;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .btn-enviar {
        background: #0d6efd;
        color: white;
        border: none;
        padding: 18px;
        cursor: pointer;
        border-radius: 8px;
        font-size: 16px;
        width: 100%;
        font-weight: bold;
    }

    .btn-zip {
        background: #198754;
        color: white;
        border: none;
        padding: 18px;
        cursor: pointer;
        border-radius: 8px;
        font-size: 16px;
        width: 100%;
        font-weight: bold;
        margin-top: 15px;
        display: none;
    }

    .btn-remove {
        background: #ff4d4d;
        color: white;
        border: none;
        padding: 6px 12px;
        cursor: pointer;
        border-radius: 6px;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    #status {
        margin-top: 25px;
        padding: 15px;
        display: none;
        border-radius: 8px;
        text-align: center;
    }

    .alert-info {
        background-color: #e7f3ff;
        color: #0c5460;
    }

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

    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 30px;
        background: white;
    }

    th,
    td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

    .status-ok {
        color: #198754;
        font-weight: bold;
    }

    .status-erro {
        color: #dc3545;
        font-weight: bold;
    }

    #tabela-resultados {
        display: none;
    }
}

#container-inutilizacao {
    .item-envio {
        border: 1px solid #e0e0e0;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
        position: relative;
        background: #fff;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 10px;
    }

    h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    label {
        display: block;
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 8px;
        color: #555;
    }

    input,
    select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-sizing: border-box;
        font-size: 14px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    input:focus,
    select:focus {
        outline: none;
        border-color: #0d6efd;
        box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
    }

    .btn-add {
        background: #6c757d;
        color: white;
        border: none;
        padding: 12px 20px;
        cursor: pointer;
        border-radius: 8px;
        margin-top: 15px;
        transition: 0.2s;
    }

    .btn-add:hover {
        background: #5a6268;
    }

    .btn-enviar {
        background: #0d6efd;
        color: white;
        border: none;
        padding: 18px;
        cursor: pointer;
        border-radius: 8px;
        font-size: 16px;
        width: 100%;
        font-weight: bold;
        margin-top: 20px;
        transition: 0.2s;
    }

    .btn-enviar:hover {
        background: #0b5ed7;
    }

    .btn-remove {
        background: #dc3545;
        color: white;
        border: none;
        padding: 6px 10px;
        cursor: pointer;
        border-radius: 6px;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 12px;
        transition: 0.2s;
    }

    .btn-remove:hover {
        background: #bb2d3b;
    }

    #status-inutilizacao {
        margin-top: 25px;
        padding: 15px;
        display: none;
        border-radius: 8px;
        text-align: center;
        font-size: 14px;
    }

    .alert-info {
        background-color: #e7f3ff;
        color: #0c5460;
    }

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

    input.erro,
    select.erro {
        border-color: #dc3545;
        box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
    }

    #resultado-inutilizacao {
        display: none;
        margin-top: 25px;
    }

    #resultado-inutilizacao table {
        width: 100%;
        border-collapse: collapse;
        background: white;
    }

    #resultado-inutilizacao th,
    #resultado-inutilizacao td {
        padding: 12px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

    .status-ok {
        color: #198754;
        font-weight: bold;
    }

    .status-erro {
        color: #dc3545;
        font-weight: bold;
    }

    .btn-download {
        background: #198754;
        color: white;
        border: none;
        padding: 6px 10px;
        border-radius: 6px;
        cursor: pointer;
    }

    .progress-container {
        width: 100%;
        background: #e9ecef;
        border-radius: 6px;
        overflow: hidden;
        height: 10px;
        margin-top: 5px;
    }

    .progress-bar {
        height: 100%;
        width: 0%;
        background: #0d6efd;
        transition: width 0.3s ease;
    }

    .progress-ok {
        background: #198754 !important;
    }

    .progress-erro {
        background: #dc3545 !important;
    }

}

#container-cancelamento {
    .item-envio {
        border: 1px solid #e0e0e0;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
        position: relative;
        background: #fff;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 10px;
    }

    label {
        display: block;
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 8px;
        color: #555;
    }

    input,
    select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-sizing: border-box;
        font-size: 14px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    input:focus,
    select:focus {
        outline: none;
        border-color: #0d6efd;
        box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
    }

    /* BOTÃO PRINCIPAL */
    .btn-enviar {
        background: #0d6efd;
        color: white;
        border: none;
        padding: 18px;
        cursor: pointer;
        border-radius: 8px;
        font-size: 16px;
        width: 100%;
        font-weight: bold;
        margin-top: 20px;
        transition: 0.2s;
    }

    .btn-enviar:hover {
        background: #0b5ed7;
    }

    /* BOTÃO DOWNLOAD */
    .btn-download {
        background: #198754;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13px;
        transition: 0.2s;
    }

    .btn-download:hover {
        background: #157347;
    }

    /* STATUS ALERTAS */
    #status-cancelamento {
        margin-top: 25px;
        padding: 15px;
        display: none;
        border-radius: 8px;
        text-align: center;
        font-size: 14px;
    }

    .alert-info {
        background-color: #e7f3ff;
        color: #0c5460;
    }

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

    /* TABELA RESULTADO */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 30px;
        background: white;
        display: none;
    }

    th,
    td {
        padding: 14px;
        text-align: left;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

    th {
        background: #f8f9fa;
        font-weight: 600;
    }

    .status-ok {
        color: #198754;
        font-weight: bold;
    }

    .status-erro {
        color: #dc3545;
        font-weight: bold;
    }

    /* PROGRESS BAR */
    .progress-container {
        width: 100%;
        height: 8px;
        background: #e9ecef;
        border-radius: 6px;
        overflow: hidden;
    }

    .progress-bar {
        height: 100%;
        width: 0%;
        background: #0d6efd;
        transition: width 0.3s ease;
    }

    /* INPUT ERRO */
    .erro {
        border-color: #dc3545 !important;
        background: #fff5f5;
    }

    .status-ok {
        animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}