﻿body {
    font-family: arial;
    background: #F0F2F1;
    overflow-x: hidden;
    padding: 20px;
}

.hide {
    display: none;
}

.trigger-custom {
    padding: 10px 20px;
    border-radius: 3px;
    border: 0;
    background: #ccc;
    font-size: 14px;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
}

    .trigger-custom:hover {
        background: #d5d5d5;
    }

/* Estilos comuns para todos os modais */
.iziModal-content header {
    background: #eee;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
    width: 100%;
}

    .iziModal-content header a {
        display: block;
        float: left;
        width: 50%;
        padding: 0;
        text-align: center;
        background: #ddd;
        color: #999;
        height: 73px;
        vertical-align: middle;
        line-height: 73px;
    }

        .iziModal-content header a.active {
            background: #fff;
            color: #777;
        }

.iziModal-content section {
    padding: 30px;
}

    /* ----------------------------- */
    /* ESTILO DOS CAMPOS (INPUT / SELECT / TEXTAREA) */
    /* ----------------------------- */
    .iziModal-content section input:not([type="checkbox"]),
    .iziModal-content section select,
    .iziModal-content section textarea {
        width: 100%;
        border-radius: 3px;
        border: 1px solid #ddd;
        margin-bottom: 26px;
        padding: 12px 15px;
        font-size: 14px;
        box-sizing: border-box;
        line-height: 1.4;
        min-height: auto;
        height: auto;
    }

    /* ALTURA BASE PARA TEXTAREA */
    .iziModal-content section textarea {
        min-height: 90px;
        resize: vertical;
    }

    /* ----------------------------- */
    /* SELECT - ajustes adicionais */
    /* ----------------------------- */
    .iziModal-content section select {
        background: white;
        color: #333;
        -webkit-appearance: menulist;
        -moz-appearance: menulist;
        appearance: menulist;
        cursor: pointer;
        padding: 12px 15px;
        line-height: 1.4;
    }

        .iziModal-content section select option {
            font-size: 14px;
            color: #333;
            background: white;
            padding: 10px 12px;
            line-height: 1.4;
            height: auto;
            min-height: auto;
        }

    /* Botões */
    .iziModal-content section button {
        width: 100%;
        border-radius: 3px;
        border: 1px solid #ddd;
        margin-bottom: 26px;
        font-size: 14px;
        height: 46px;
        padding: 0;
        background: #28CA97;
        color: white;
        border: 0;
        cursor: pointer;
        font-weight: bold;
        transition: opacity 0.3s ease;
    }

        .iziModal-content section button:hover {
            opacity: 0.8;
        }

    .iziModal-content section label[for="check"] {
        margin-bottom: 26px;
        font-size: 14px;
        color: #999;
        display: block;
    }

    .iziModal-content section footer {
        overflow: hidden;
        margin-top: 20px;
    }

        .iziModal-content section footer button {
            width: 50%;
            float: left;
            margin: 0;
            height: 46px;
        }

            .iziModal-content section footer button:nth-child(1) {
                border-radius: 3px 0 0 3px;
                background: #aaa;
            }

            .iziModal-content section footer button:nth-child(2) {
                border-radius: 0 3px 3px 0;
                background: #28CA97;
            }

.iziModal-content .icon-close {
    background: #FFF;
    margin-bottom: 10px;
    position: absolute;
    right: -8px;
    top: -8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    color: #a9a9a9;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .iziModal-content .icon-close:hover,
    .iziModal-content .icon-close:focus {
        color: black;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

/* Labels gerais */
.iziModal-content section label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

/* Foco */
.iziModal-content section input:focus,
.iziModal-content section select:focus,
.iziModal-content section textarea:focus {
    border-color: #28CA97;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 202, 151, 0.1);
}

/* Remove estilos específicos */
.iziModal-content section select::-ms-expand {
    display: block;
}

.iziModal-content section select::-webkit-select-placeholder {
    color: #999;
}

.iziModal-content section select::-moz-focus-inner {
    border: 0;
}

.iziModal-content section select option[value=""][disabled] {
    color: #999;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 768px) {
    .iziModal-content section {
        padding: 20px 15px;
    }

        .iziModal-content section input:not([type="checkbox"]),
        .iziModal-content section select,
        .iziModal-content section textarea {
            padding: 10px 12px;
            font-size: 16px;
        }
}

/* Validação */
.iziModal-content section select:invalid {
    border-color: #ff4444;
}

.iziModal-content section select:valid {
    border-color: #28CA97;
}
/* ----------------------------- */
/* ESTILOS PARA DATATABLES */
/* ----------------------------- */

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 10px;
    margin: 2px;
    border-radius: 4px;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background: #28CA97 !important;
        color: #fff !important;
        border: 1px solid #28CA97 !important;
    }

.dataTables_wrapper .dataTables_filter input {
    border-radius: 3px;
    padding: 6px 10px;
    border: 1px solid #ddd;
}

.dataTables_wrapper .dataTables_length select {
    padding: 6px 10px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

table.dataTable thead th {
    background: #28CA97;
    color: white;
    font-weight: bold;
}

table.dataTable tbody tr:hover {
    background: #F0F2F1;
} 