/**
 * KB Category Hours Limit - Frontend Styles
 *
 * @author    Starter
 * @copyright 2024
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* Locked Category Message */
.kbch-locked-wrapper {
    margin: 20px 0;
}

.kbch-locked-message {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.kbch-icon {
    margin-bottom: 20px;
}

.kbch-icon .material-icons {
    font-size: 64px;
    color: #f87171;
    animation: kbch-pulse 2s ease-in-out infinite;
}

@keyframes kbch-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.kbch-content {
    margin-bottom: 25px;
}

.kbch-content h3 {
    color: #991b1b;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.kbch-content p {
    color: #7f1d1d;
    font-size: 16px;
    margin: 0;
}

/* Schedule Info */
.kbch-schedule-info {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 400px;
}

.kbch-schedule-info h4 {
    color: #374151;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kbch-schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kbch-schedule-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.kbch-schedule-list li:last-child {
    border-bottom: none;
}

.kbch-day {
    font-weight: 600;
    color: #374151;
}

.kbch-times {
    color: #059669;
    font-weight: 500;
}

/* Server Time */
.kbch-server-time {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.kbch-server-time small {
    color: #9ca3af;
    font-size: 13px;
}

/* Product Locked Notice */
.kbch-product-locked-notice {
    margin: 15px 0;
}

.kbch-product-locked-notice .alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
}

.kbch-product-locked-notice .material-icons {
    font-size: 24px;
    color: #f59e0b;
}

/* Disabled Add to Cart */
.kbch-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 767px) {
    .kbch-locked-message {
        padding: 20px;
    }

    .kbch-icon .material-icons {
        font-size: 48px;
    }

    .kbch-content h3 {
        font-size: 20px;
    }

    .kbch-schedule-info {
        margin: 15px 0;
    }
}
