/* Stili pubblici per il plugin Appointments Core */
:root {
    --appointments-primary-color: #1b743e;
}

.appointments-form,
.appointments-selector {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.appointments-form label {
    display: block;
    margin: 0.5rem 0 0.3rem;
    font-weight: bold;
}

.appointments-form input,
.appointments-form select,
.appointments-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

.appointments-form .btn {
    background: var(--appointments-primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.appointments-form .btn:hover {
    opacity: 0.9;
}

.appointments-error {
    color: #c62828;
    background: #ffebee;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.appointments-info {
    color: #1b5e20;
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.appointments-success {
    color: #2e7d32;
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    display: none;
}

.appointments-loader {
    display: none;
    margin: 1rem 0;
    color: var(--appointments-primary-color);
}

.appointments-dates,
.appointments-slots {
    margin: 1rem 0;
}

.appointments-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.appointments-slot {
    padding: 0.5rem 1rem;
    background: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    min-width: 60px;
    text-align: center;
}

.appointments-slot.selected {
    background: var(--appointments-primary-color);
    color: white;
}

.appointments-slot.unavailable {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Selettore tipi */
.appointments-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.appointments-type-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.appointments-type-card h3 {
    margin-top: 0;
}

.appointments-type-card .btn {
    margin-top: 1rem;
    display: inline-block;
}