@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#alert{
    display: block;
    position: fixed;
    right: 10px;
    border: 5px solid rgb(255, 0, 0);
    top: 50px;
    padding: 20px 10px; 
    border-radius: 10px;
    background: #ff8f00;
    color: #fff;
    font-size: 15px;
    width: 250px;
    font-weight: 600;
    z-index:999999;
}

#alert-display{
    display: block;
}

#alert-hidden{
    display: none;
}


a:focus, input:focus, select:focus{
	/*box-shadow: 0 0 0 2px #2271b1;*/
	box-shadow: initial !important;
}

.zap-loading {
    animation: rotation 2s infinite linear;
}

.planilha-menu {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ccc;
}

.planilha-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.planilha-menu li {
    padding: 10px 20px;
    cursor: pointer;
    border-right: 1px solid #aaa;
	margin-bottom: 0px;
	border-radius: 10px 10px 0 0;
	background-color: #ccc;
	transition: .2s;
}

.planilha-menu li:first-child {
    margin-left:20px;
}

.planilha-menu li:last-child {
    border-right: none;
}

.planilha-menu li a {
    text-decoration: none;
    color: #333;
}

.planilha-menu li.active{
	background-color: #fff;
	border: 1px solid #ccc;
	border-bottom: 0px;
	top: 1px;
	position: relative;
	margin-top: -5px;
	box-shadow: 2px -2px 2px #dddddd20;
	transition: .2s;
}


.content_active{
	display:block;
	transition: .2s;

}

.content_hidden{
	display: none;
}

.table-control{border: 0px solid #c3c4c7 !important;}
.column-values{padding: 10px 10px !important}
.column-id_zap{width:5%;}
.column-zap{width:10%;}
.column-name{width:20%;}
.column-status{width:5%;}
.column-ordenator{width:8%;}
.column-date_register{width:15%;}
.column-date_register{width:12%;}
.column-obs{width:15%;}
.column-edit{width:10%;}
.icon-padding{padding: 0px 5px !important; cursor:pointer;}
.icon-del{color:red;}
.icon-edit{color:blue;}
.icon-save{color:green;}
.icon-add{color:green; padding-top: 6px !important; display: block; position: absolute;}
.icon-cancel{color: red;}

.column-id_message{width: 10%;}
.column-year{width: 4%;}
.column-week{width: 4%;}
.column-sequence{width: 9%;}
.column-message{width: 40%;}
.column-date_register{width: 15%;}
.column-status{width: 7%;}
.column-obs{width: 12%;}
.column-type{width: 10%;}
.column-message-edit{width: 10%;}

.hidden_edit{
    display: none;
}

.show_data{
    display: contents;
}

.input-edit{
    margin: 0 !important;
    width: 100%;
    padding: 8px !important;
}

#add-member{display:none;}
.add-member{background-color: #FFE !important;}
#add-message{display:none;}

.column-cb{
    line-height: 2.4em !important;
}

.column-id_config{width:7%;}
.column-instance{width:15%;}
.column-token{width:15%;}
.column-signature{width:38%;}
.column-greeting{width:25%;}

.hidden_message{
    display: none;
}

.disabled-status{
	color:silver !important;
	background-color: #fdf8e85c
}

/* Navegação */
.whatsapp-nav {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.nav-header {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.nav-header h2 {
    margin: 0;
    color: #1a202c;
    font-size: 1.5rem;
}

.nav-subtitle {
    color: #718096;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.nav-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nav-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    background: #f7fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a5568;
    min-width: 180px;
    flex: 1;
    max-width: 200px;
}

.nav-tab:hover {
    background: #edf2f7;
    transform: translateY(-1px);
}

.nav-tab.active {
    background: #4299e1;
    color: white;
    box-shadow: 0 2px 4px rgba(66, 153, 225, 0.3);
}

.nav-tab .material-symbols-outlined {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.nav-tab .material-symbols-outlined.whatsapp {
    font-size: 1.6rem;
    margin-right: 2px;
}

.tab-label {
    font-weight: 500;
    white-space: nowrap;
}

/* Conteúdo das Tabs */
.tab-content {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

tr:nth-child(even) {
    background-color: #f0f0f0 !important;
  }

/* Responsividade */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tab {
        width: 100%;
        max-width: none;
    }
}

.content-container {
    background: #ffffff;
    padding: 2rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Estilos para as tabelas */
.wp-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.wp-list-table th {
    text-align: left;
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.wp-list-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.wp-list-table tr:hover {
    background: #f8fafc;
}

/* Estilos para os inputs */
.input-edit {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin: 0.25rem 0;
}

.input-edit:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}

/* Estilos para Legenda de Status e Exportação */
.export-controls-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.status-legend {
    flex: 1;
    min-width: 300px;
}

.status-legend h3 {
    margin: 0 0 1rem 0;
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-legend-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.status-legend-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.status-legend-table tr:last-child {
    border-bottom: none;
}

.status-legend-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.status-legend-table td:first-child {
    width: 180px;
    font-weight: 600;
    text-align: center;
}

.status-negative {
    background-color: #fed7d7;
    color: #c53030;
}

.status-zero {
    background-color: #feebc8;
    color: #c05621;
}

.status-positive {
    background-color: #c6f6d5;
    color: #22543d;
}

.export-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(66, 153, 225, 0.3);
}

.export-btn:hover {
    background: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.4);
}

.export-btn:active {
    transform: translateY(0);
}

.export-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .export-controls-container {
        flex-direction: column;
    }
    
    .status-legend {
        width: 100%;
    }
    
    .export-button-container {
        width: 100%;
    }
    
    .export-btn {
        width: 100%;
        justify-content: center;
    }
}


