/* ===== Reset básico ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f6fa;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== Cabeçalho ===== */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #1f3b57;
}

.header p {
    font-size: 14px;
    color: #666;
}

/* ===== Card ===== */
.card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f3b57;
}

/* ===== Formulários ===== */
.form-group {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group-vincular {
    justify-content: space-between;
}

.form-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 160px;
}

label {
    font-weight: 500;
    font-size: 13px;
    color: #444;
    margin-bottom: 4px;
}

/* Inputs e selects */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
.btn {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

input:focus,
select:focus {
    border-color: #1f3b57;
    box-shadow: 0 0 0 2px rgba(31,59,87,0.2);
}

.bg-light-adm {
    background-color: #EBEBEB;
}
    /* ===== Botões ===== */
.btn {
    cursor: pointer;
    font-weight: 600;
    /* color: #fff; */
    border: none;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-adicionar {
    background-color: #009688;
}
.btn-adicionar:hover {
    background-color: #00796b;
}

.btn-vincular {
    background-color: #ff6f00;
}
.btn-vincular:hover {
    background-color: #e65100;
}

.btn-horario {
    background-color: #673ab7;
}
.btn-horario:hover {
    background-color: #512da8;
}

/* ===== Seção de horários ===== */
.horarios-dia {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-top: 20px;
}

.horarios-dia h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f3b57;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .form-field {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
