.barber-form input, .barber-form select {
    border: 1px solid #4b5563;
    transition: border-color 0.2s;
}
.barber-form input:focus, .barber-form select:focus {
    border-color: #f97316; /* Retro orange */
    outline: none;
}
.barber-form label input[type="checkbox"] {
    accent-color: #f97316; /* Retro orange for checkbox */
    width: 1.25rem;
    height: 1.25rem;
}
.barber-form .barber-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 50%;
}
@media (max-width: 640px) {
    .barber-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    .barber-form h2 {
        font-size: 1.75rem;
    }
    .barber-form input, .barber-form select {
        padding: 0.75rem;
        font-size: 1rem;
    }
    .barber-form button {
        padding: 0.75rem;
        font-size: 1.1rem;
    }
}


.appointment-item {
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
    background-color: #1f2937; /* tamna pozadina */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.appointment-item:hover {
    border-color: #f97316; /* retro narandžasta */
    box-shadow: 0 6px 12px rgba(249, 115, 22, 0.5);
    transform: scale(1.02);
}

#appointments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

@media (max-width: 640px) {
    .appointment-item {
        width: 100%;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .appointment-item {
        width: 48%;
    }
}

@media (min-width: 1024px) {
    .appointment-item {
        width: 31%;
    }
}

/* Ispravi opacity koji dolazi od .ui-state-disabled */
.ui-datepicker td.red-day.ui-state-disabled {
    opacity: 1 !important;
    filter: none !important;
}


.ui-datepicker td.red-day span.ui-state-default {
    background-color: #ffe5e5 !important;
    color: #cc0000 !important;
    font-weight: bold;
    border-radius: 4px;
    cursor: not-allowed;
    opacity: 1 !important;
    filter: none !important;
}



/* ZELENI dani (dostupni) */
.ui-datepicker td.green-day a {
    background-color: #e0ffe0 !important;
    color: #007000 !important;
    font-weight: bold;
    border-radius: 4px;
}

/* Glatki prijelazi */
.ui-datepicker td a {
    transition: background-color 0.3s, color 0.3s;
}





