.mm-appointment {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mm-appointment-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6b7280;
}

.mm-appointment-empty p {
    margin: 0.5rem 0;
}

.mm-appointment-form .mm-field {
    margin-bottom: 1rem;
}

.mm-appointment-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.mm-appointment-form input,
.mm-appointment-form select,
.mm-appointment-form textarea,
.mm-appointment-form button {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
}

.mm-appointment-form input[type="radio"] {
    width: auto;
    margin-right: 0.35rem;
}

.mm-timezone-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #374151;
}

.mm-timezone-icon {
    font-size: 1.1rem;
}

.mm-timezone-label {
    font-weight: 500;
}

.mm-slot-picker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .mm-slot-picker {
        flex-direction: row;
    }
}

.mm-calendar-wrapper {
    flex: 1;
    min-width: 320px;
    max-width: 100%;
}

.mm-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.mm-calendar-month {
    font-weight: 500;
    font-size: 1.125rem;
    text-align: center;
    flex: 1;
    color: #111827;
}

.mm-calendar-nav {
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #6b7280;
    transition: background 0.2s, color 0.2s;
}

.mm-calendar-nav:hover:not(.is-disabled) {
    background: #f3f4f6;
    color: #111827;
}

.mm-calendar-nav.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.mm-calendar-weekdays,
.mm-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.mm-calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    padding: 0.5rem 0;
}

.mm-calendar-day {
    padding: 0.75rem 0.5rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-align: center;
    min-height: 44px;
    width: 44px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #111827;
}

.mm-calendar-day.has-slots:hover {
    background: #f3f4f6;
}

.mm-calendar-day.is-selected {
    background: #4b5563;
    color: #fff;
}

.mm-calendar-day.has-slots {
    position: relative;
}

.mm-calendar-day.has-slots::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #4b5563;
    border-radius: 50%;
}

.mm-calendar-day.is-selected.has-slots::after {
    background: #fff;
}

.mm-calendar-day.is-disabled,
.mm-calendar-day.is-empty {
    background: transparent;
    cursor: not-allowed;
    color: #d1d5db;
}

.mm-calendar-day.is-empty {
    visibility: hidden;
}

.mm-slot-times {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mm-slot-selected-date {
    font-weight: 600;
    color: #2d3748;
}

.mm-slot-times-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.mm-slot-time-button {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
}

.mm-slot-time-button:hover {
    background: #f9fafb;
    border-color: #4b5563;
}

.mm-slot-time-button.is-selected {
    background: #4b5563;
    border-color: #4b5563;
    color: #fff;
}

.mm-slot-message {
    min-height: 1.25rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.mm-slot-message.is-error {
    color: #c53030;
}

.mm-appointment-notice {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.mm-appointment-success {
    background: #e6fffa;
    border: 1px solid #2c7a7b;
    color: #285e61;
}

.mm-appointment-error {
    background: #fff5f5;
    border: 1px solid #c53030;
    color: #822727;
}

.mm-submit {
    display: inline-block;
    background: #1a73e8;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.mm-submit:hover {
    background: #0f5ed7;
}
