/* -------- DÍAS Y HORARIOS -------- */
.pn-working-days-section {
    margin-top: 25px;
    padding: 20px;
    background: #fcfcfc;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

/* -------- SWITCH -------- */
.pn-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.pn-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pn-slider {
    position: absolute;
    cursor: pointer;
    background-color: grey;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .3s;
}

.pn-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}

.pn-switch input:checked + .pn-slider {
    background-color: #00b800;
}

.pn-switch input:checked + .pn-slider:before {
    transform: translateX(22px);
}

/* -------- LAYOUT -------- */

.pn-day-row {
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.pn-day-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pn-range-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.pn-range-row input {
    border-radius: 10px;
}

.pn-day-name {
    font-size: 16px;
    width: 80px;
}

.pn-add-range {
    margin-top: 10px;
    font-size: 14px;
}

.pn-remove-range {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

input[type="time"] {
    padding: 5px;
    width: 120px;
}

/* -------- ERRORES -------- */

.pn-error {
    border: 1px solid #ff4d4d !important;
    padding: 10px;
    border-radius: 6px;
}

.pn-error-msg {
    background: #ff4d4d;
    color: white;
    padding: 6px 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 13px;
}

/* -------- DAYS OFF (existing) -------- */

.pn-days-off-section {
    margin-top: 25px;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
}

.pn-day-off-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dedede;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pn-dayoff-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* -------- WORKING DAYS -------- */

.pn-special-days-section {
    margin-top: 25px;
    padding: 20px;
    background: #fcfcfc;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.pn-special-day-row {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.pn-special-day-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pn-special-name {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    width: 220px;
}

.pn-working-schedule-wrapper {
    padding-left: 4px;
}

.pn-working-schedule-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pn-working-schedule-row input[type="time"] {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    width: 110px;
}

.pn-add-working-schedule,
.pn-add-working-day,
.pn-add-dayoff,
.pn-add-range {
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.pn-remove-working-day,
.pn-remove-working-schedule,
.pn-remove-dayoff {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
}


/* -------- ANTICIPACION MINIMA -------- */

.pn-anticipacion-minima-section {
    margin-top: 25px;
    padding: 20px;
    background: #fcfcfc;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.pn-anticipacion-minima-section select {
    width: fit-content;
}


/* -------- ANTICIPACION MAXIMA -------- */

.pn-anticipacion-maxima-section {
    margin-top: 25px;
    padding: 20px;
    background: #fcfcfc;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.pn-anticipacion-maxima-section select {
    width: fit-content;
}
