body {
    font-family: Arial, sans-serif;
    background-image: url('https://7system.com.br/img/fundo_midiavet.jpg');
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    color: #333;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #080a59;
}

h2 {
    margin-top: 30px;
    color: #0056B3;
    text-align: center;
}

form {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.date-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adiciona espaço entre os elementos */
}

.date-container > div {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o conteúdo horizontalmente */
    justify-content: center; /* Centraliza o conteúdo verticalmente */
    width: 48%;
}

.flatpickr-calendar {
    width: 100%;
    margin: 10px 0;
}

.select-programacao {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    font-size: 18px;
    color: #333;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.select-programacao:focus {
    border-color: #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    outline: none;
}

.asset-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.asset-item {
    width: 23%;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
}

.asset-item img, .asset-item video {
    max-width: 100%;
    max-height: 100px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.asset-filename {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
    text-align: center;
    word-wrap: break-word;
}

.asset-item input[type="checkbox"] {
    margin-top: 10px;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.success {
    color: green;
    font-weight: bold;
    text-align: center;
}

.error {
    color: red;
    font-weight: bold;
    text-align: center;
}

button[name="create_schedule"] {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button[name="create_schedule"]:hover {
    background-color: #0056b3;
}

form[action="index.php"][method="post"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

button[name="upload"] {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button[name="upload"]:hover {
    background-color: #0056b3;
}

#data_inicial, #data_final {
    display: block;
    margin: 0 auto;
    background-color: white;
    color: red;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-size: 16px;
}

#data_inicial:focus, #data_final:focus {
    border-color: #ff0000;
    outline: none;
}

#cliente_id {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    font-size: 18px;
    color: #333;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#cliente_id:focus {
    border-color: #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    outline: none;
}

#cliente_id option {
    padding: 10px;
    background-color: #fff;
    color: #333;
}

#cliente_id:disabled {
    background-color: #e9ecef;
    color: #6c757d;
}

.flatpickr-calendar {
    transform: scale(0.9);
    transform-origin: top left;
}

.flatpickr-input {
    font-size: 14px;
    padding: 8px;
}

.flatpickr-day {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}

.flatpickr-month {
    font-size: 16px;
}

.flatpickr-prev-month, .flatpickr-next-month {
    font-size: 12px;
    width: 20px;
    height: 20px;
}

.numInputWrapper {
    font-size: 14px;
}

.flatpickr-calendar .flatpickr-months {
    margin-bottom: 5px;
}
