/* Masterclass Widget Styling */

.wc-mcr-widget-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1a1a1a;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
}

/* Header */
.wc-mcr-header {
    margin-bottom: 24px;
}

.wc-mcr-subheading {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8c8c8c;
    margin-bottom: 6px;
}

.wc-mcr-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: #111111;
    margin: 0;
}

/* Pricing Card Group */
.wc-mcr-card {
    background: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.wc-mcr-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
}

.wc-mcr-early-row {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.wc-mcr-price-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.wc-mcr-price-name {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

/* Status Badges */
.wc-mcr-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.2s ease;
}

.wc-mcr-status-open {
    background: #e6f6ec;
    color: #0d8a43;
    border: 1px solid rgba(13, 138, 67, 0.15);
}

.wc-mcr-status-soldout {
    background: #fdf2f2;
    color: #d32f2f;
    border: 1px solid rgba(211, 47, 47, 0.15);
}

/* Price Values */
.wc-mcr-price-value {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
}

.wc-mcr-price-regular-val.wc-mcr-price-original {
    font-size: 16px;
    color: #b0b0b0;
    text-decoration: line-through;
    font-weight: 500;
}

.wc-mcr-price-regular-row.wc-mcr-closed .wc-mcr-price-regular-val {
    color: #b0b0b0;
    text-decoration: line-through;
}

/* Expiry Note */
.wc-mcr-expiry-row {
    margin-top: 10px;
    font-size: 12px;
    color: #8c8c8c;
    font-style: italic;
}

/* Metadata Box */
.wc-mcr-meta-box {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wc-mcr-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    line-height: 1.5;
}

.wc-mcr-meta-label {
    font-weight: 700;
    color: #8c8c8c;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.wc-mcr-meta-value {
    font-weight: 600;
    color: #222222;
    text-align: right;
}

.wc-mcr-seats-display {
    color: #d32f2f;
}

/* Helper Class: Hidden elements */
.wc-mcr-hidden {
    display: none !important;
}

/* Skeleton Loading State Animation */
.wc-mcr-loading {
    position: relative;
    overflow: hidden;
}

.wc-mcr-loading::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    animation: wc-mcr-shimmer 1.5s infinite;
}

@keyframes wc-mcr-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Media Queries */
@media (max-width: 480px) {
    .wc-mcr-widget-wrapper {
        padding: 20px;
    }
    
    .wc-mcr-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .wc-mcr-price-label {
        width: 100%;
        justify-content: space-between;
    }
    
    .wc-mcr-price-value {
        align-self: flex-start;
        font-size: 22px;
    }
    
    .wc-mcr-price-regular-val.wc-mcr-price-original {
        font-size: 15px;
    }
}
