 body {
       font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background: linear-gradient(135deg, #ff6600 0%, #0066cc 100%);
        }
        h1, h2 {
            text-align: center;
            color: #333;
        }
        
        .time-control {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: 8px;
    }
    
    .tecosfinalizada {
        color:#0066cc;
    }
    .time-control button {
        width: 25px;
        height: 25px;
        border: none;
        border-radius: 50%;
        background-color: #3498db;
        color: white;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .time-control button:hover {
        background-color: #2980b9;
    }
    
    .time-input {
        width: 60px;
        text-align: center;
        padding: 3px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    .completed-os-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #eee;
        transition: background-color 0.3s;
    }
    
    .completed-os-item:hover {
        background-color: #f9f9f9;
    }
    
    .os-info {
        flex: 1;
    }
    
    .os-delete-btn {
        background-color: #e74c3c;
        color: white;
        border: none;
        border-radius: 4px;
        padding: 5px 10px;
        cursor: pointer;
        margin-left: 10px;
        transition: background-color 0.3s;
    }
    
    .os-delete-btn:hover {
        background-color: #c0392b;
    }
        
         #toast {
    visibility: hidden;
    min-width: 350px;
    background: rgb(from #f06d06 r g b / 50%);
    color: #fff;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 20%;
    top: 230px;
    font-size: 22px;
  }

  #toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }

  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }

  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }

  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }

  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
        
        
            /* Menu Vertical */
    .side-menu {
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px 10px;
        background-color: #f8f9fa;
        border-radius: 0 8px 8px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 0;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .menu-btn i {
        font-size: 20px;
    }
    
    .menu-btn:hover {
        transform: scale(1.1);
        font-size: 12px;
        width: auto;
        padding: 0 15px;
        border-radius: 25px;
    }
    
    .menu-btn:hover span {
        display: inline;
        margin-left: 8px;
    }
    
    .menu-btn span {
        display: none;
    }
    
    /* Cores dos bot천es */
    .btn-add {
        background-color: #ff6600;
    }
    
    .btn-completed {
        background-color: #0066cc;
    }
    
    .btn-report {
        background-color: #2ecc71;
    }
    
    /* INICIO Popups */
    
  /* Estilos para o modal */
  /* Garantir que o modal está acima de tudo */
.modal-overlay {
    z-index: 9999;
    /* ... outros estilos anteriores ... */
}

/* Loader e mensagens de erro */
.loader, .error-message {
    text-align: center;
    padding: 50px;
    font-size: 18px;
}

.error-message button {
    margin-top: 20px;
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    display: flex;
}

.modal-container {
    background-color: white;
    border-radius: 8px;
    width: 80%;
    max-width: 900px;
    max-height: 99vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

.modal-content {
    padding: 0;
}

/* Se precisar de um loader enquanto o conteúdo carrega */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
/* FIM popups modal */

.technicians-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 10px;
        }
       .technician {
        background-color: #fff;
        border-radius: 8px;
        padding: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        margin-bottom: 5px;
    }
        .technician h3 {
            margin-top: 0;
            color: #2c3e50;
            border-bottom: 2px solid #0066cc;
            padding-bottom: 5px;
        }
        .os-container {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        padding: 10px;
    }
       .os-card {
        flex: 2 1 calc(50% - 15px); /* 2 cards por linha com gap */
        min-width: 150px;
        max-width: 250px;
        padding: 10px;
         margin-left: 10px;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
        box-sizing: border-box;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
        .os-card.green {
            background-color: #d5f5e3;
            border-left: 5px solid #2ecc71;
        }
        .os-card.orange {
            background-color: #fdebd0;
            border-left: 5px solid #f39c12;
        }
        .os-card.red {
            background-color: #fadbd8;
            border-left: 5px solid #e74c3c;
        }
        .os-card.completed {
            background-color: #e8f8f5;
            border-left: 5px solid #1abc9c;
            opacity: 0.7;
        }
        .os-card.paused {
            background-color: #ebedef;
            border-left: 5px solid #7f8c8d;
        }
        .os-title {
            font-weight: bold;
            margin-bottom: 5px;
        }
        .os-type {
            font-size: 0.9em;
            color: #555;
            margin-bottom: 5px;
        }
        .os-time {
            font-size: 1.2em;
            margin-bottom: 5px;
        }
        .os-schedule {
            font-size: 0.9em;
            color: #555;
        }
        .os-actions {
            margin-top: 10px;
            display: flex;
            gap: 8px;
        }
        button {
            padding: 5px 10px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.8em;
        }
        .pause-btn {
            background-color: #3498db;
            color: white;
        }
        .complete-btn {
            background-color: #1abc9c;
            color: white;
        }
        .resume-btn {
            background-color: #2ecc71;
            color: white;
        }
        .add-os-form {
            background:#eee;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            margin-bottom: 5px;
        }
        .form-group {
 
            margin-bottom: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            padding: 5px;
        }
        label {
            margin-left:20%;
            display: block;
            margin-bottom: 2px;
            font-weight: bold;
            padding: 5px;
        }
        input, select {
            margin-left:20%;
            margin-bottom:10px;
            width: 60%;
            padding: 5px;
            border: 2px solid #0066cc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        .submit-btn {
            margin-top:10px;
           margin-left:25%;
          background:#0066cc;
            color: #ff6600;
            padding: 10px 15px;
            font-size: 1em;
            font-weight: bold;
             border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        }
        
        .submit-btn:hover {
          background:#ff6600;
            color: #0066cc;
        
        }
        
        .completed-os-container {
           background:#eee;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            margin-top: 30px;
        }
        
         /* Adicione este estilo no seu CSS */
    .completed-os-container .os-title {
        color: #ff6600;
        font-weight: bold;
    }
    
    /* Mantenha o estilo existente para os outros elementos */
    .completed-os-container .completed-os-item {
        padding: 10px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
    }
    
    /* Estilo para o estado vazio */
    .completed-os-container .empty-state {
        text-align: center;
        color: #7f8c8d;
        padding: 20px;
    }
        
        
        .completed-os-container h2 {
          color:#000;
          text-shadow: 0.1em 0.1em 0.15em rgb(255, 140, 0)
        }
        
        .completed-os-list {
            background-color: #fff;
            margin-top: 15px;
            border-radius: 6px;
      
        }
        .completed-os-item {
            padding: 10px;
            display: flex;
            justify-content: space-between;
            transition: all 0.3s ease;
        box-sizing: border-box;
        box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2);
        }
        .report-container {
            background:#eee;
            padding: 20px;
            border-radius: 8px;
           box-shadow: 0 5px 15px rgba(0,0,0,0.2);
           margin-top: 30px;
        }
        
        .modal-oddos{
            position:center;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            margin: 20px;
            justify-content: space-between;
            width:60%;
            height:auto;
        }
        
        .report-container h2 {
          color:#000;
          text-shadow: 0.1em 0.1em 0.15em rgb(255, 140, 0)
        }
        
      .report-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }
    
    .report-table th, .report-table td {
        padding: 12px 8px;
        border: 1px solid #ff6600;
        text-align: left;
    }
    
    .report-table th {
        background-color: #f2f2f2;
        font-weight: bold;
    }
    
    .highlight-column {
        background-color: #fff8e1; /* Fundo amarelo claro para destacar */
        font-weight: bold;
    }
    
    .report-table tfoot {
        background-color: #f5f5f5;
    }
    
    .report-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    
    .empty-state {
        text-align: center;
        color: #757575;
        padding: 20px;
    }
    
        .actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        .clear-btn {
            background-color: #e74c3c;
            color: white;
        }
        .generate-report-btn {
            background-color: #3498db;
            color: white;
        }
        .generate-pdf-btn {
            background-color: #9b59b6;
            color: white;
        }
        .empty-state {
            text-align: center;
            color: #7f8c8d;
            padding: 20px;
        }
        
        .data{
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            background-color: #000;
            border-radius:10px;
            position:relative;
            display: flex;
            float:left;
            width:150px;
            color: #ff6600;
            font-size: 1.5em;
            justify-content: center
        }
        .header{
            width:100%;
            margin-top:-6%;
            padding-top:-30px;
            z-index:999;
            display: flex; justify-content: center;
        }
         .header img{
            position:absolute;
            float:right;
            margin-right:-75%;
            margin-top:-4%;
        }
         .header h1{
             color:#fff;
          text-shadow: 0.1em 0.1em 0.15em rgb(255, 140, 0)
        }
        
@media (max-width: 768px) {
        .header h1 {
            font-size: 1.5em;
            margin-left:-50px;
            margin-top:40px;
        }
    }
    
@media (max-width: 768px) {
        .os-card {
            flex: 2 1 50%; /* 1 card por linha em telas pequenas */
            min-width: 100px;
        max-width: 250px;
        }
    }
        
@media (max-width: 768px) {
            .actions button {
                flex: 1 1 100%;
            }
        }
        
     .dashboard-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .chart-container {
        background-color: #fff;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    @media (max-width: 768px) {
        .dashboard-container {
            grid-template-columns: 1fr;
        }
    }