/**
 * MUDcal Public Base Styles
 * Layout, modals, notices, buttons
 */

/* Main Wrapper */
.mudcal-public-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Section Base */
.mudcal-subscription-section,
.mudcal-my-bookings-section,
.mudcal-public-calendar,
.mudcal-responsive-calendar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mudcal-subscription-section h2,
.mudcal-my-bookings-section h2,
.mudcal-public-calendar h2,
.mudcal-responsive-calendar h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    padding-bottom: 10px;
}

/* Date Range Selector */
.mudcal-date-range-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    flex-wrap: nowrap;
    margin-bottom: 0;
    order: 4;
}

.mudcal-date-range-selector label {
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.mudcal-date-label-single {
    display: none;
}

.mudcal-date-input {
    height: 36px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 150px;
}

.mudcal-load-range-btn {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
}





.mudcal-status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

/* Notices */
.mudcal-notice {
    padding: 12px 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.mudcal-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mudcal-notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mudcal-notice-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.mudcal-coworking-notice {
    padding: 10px;
    background: #e7f3ff;
    border-left: 4px solid #2196F3;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.mudcal-coworking-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #1976D2;
}

.mudcal-login-notice {
    text-align: center;
    padding: 40px 20px;
    background: #f7f7f7;
    border-radius: 8px;
    margin-bottom: 30px;
}

.mudcal-login-notice p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

/* Loading State */
.mudcal-loading {
    text-align: center;
    padding: 20px;
    color: #777;
    font-style: italic;
}

/* Buttons */
.mudcal-prev-week,
.mudcal-next-week,
.mudcal-prev-range,
.mudcal-next-range,
.mudcal-prev-day,
.mudcal-next-day {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.mudcal-prev-week:hover,
.mudcal-next-week:hover,
.mudcal-prev-range:hover,
.mudcal-next-range:hover,
.mudcal-prev-day:hover,
.mudcal-next-day:hover {
    background: #135e96;
}

.mudcal-bookings-table .button-small {
    background: #2271b1;
    color: #fff;
    border: 1px solid #2271b1;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 4px 8px;
    min-width: 32px;
    text-align: center;
    cursor: pointer;
}

.mudcal-bookings-table .button-small:hover {
    background: #135e96;
    border-color: #135e96;
}

.mudcal-bookings-table .button-small .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    vertical-align: middle;
    margin: 0;
}

