.ect-frontend-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.ect-calendar-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.ect-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ect-month-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.ect-nav-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
}

.ect-nav-btn:hover {
    background: #f9fafb;
    border-color: #3b82f6;
    color: #3b82f6;
}

.ect-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.ect-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 0;
}

.ect-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.ect-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.ect-day:hover {
    background: #f9fafb;
    border-color: #3b82f6;
}

.ect-day.ect-empty {
    cursor: default;
    background: transparent;
    border: none;
}

.ect-day.ect-empty:hover {
    background: transparent;
}

.ect-day.ect-today {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.ect-day.ect-today .ect-day-number {
    color: #fff;
}

.ect-day.ect-has-event {
    background: #eff6ff;
    border-color: #93c5fd;
}

.ect-day.ect-has-event:hover {
    background: #dbeafe;
}

.ect-day-number {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.ect-event-indicator {
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
}

.ect-day.ect-today .ect-event-indicator {
    background: #fff;
}

.ect-events-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.ect-events-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #111827;
}

.ect-event-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ect-event-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.ect-event-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

.ect-event-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #111827;
}

.ect-event-info {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0;
}

.ect-event-price {
    font-size: 18px;
    font-weight: 600;
    color: #3b82f6;
    margin: 12px 0 0 0;
}

.ect-buy-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
    width: 100%;
}

.ect-buy-btn:hover {
    background: #2563eb;
}

.ect-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ect-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ect-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
}

.ect-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
    transition: all 0.2s;
    z-index: 1;
}

.ect-modal-close:hover {
    background: #f9fafb;
    color: #111827;
}

#ect-modal-body {
    padding: 30px;
}

.ect-modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ect-modal-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #111827;
}

.ect-modal-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 20px;
}

.ect-modal-details {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.ect-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.ect-detail-row:last-child {
    border-bottom: none;
}

.ect-detail-label {
    font-weight: 600;
    color: #6b7280;
}

.ect-detail-value {
    color: #111827;
}

.ect-modal-price {
    font-size: 28px;
    font-weight: 600;
    color: #3b82f6;
    margin: 20px 0;
    text-align: center;
}

.ect-quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.ect-quantity-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s;
}

.ect-quantity-btn:hover {
    background: #f9fafb;
    border-color: #3b82f6;
    color: #3b82f6;
}

.ect-quantity-input {
    width: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px;
}

@media (max-width: 768px) {
    .ect-frontend-wrapper {
        grid-template-columns: 1fr;
    }
    
    .ect-day-number {
        font-size: 12px;
    }
    
    .ect-weekday {
        font-size: 10px;
    }
}
