/* Основные стили уведомлений */
.msr-reservation-notice {
    background: #fff8e5;
    border: 2px solid #ffb900;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.msr-reservation-notice.msr-notice-thankyou {
    background: linear-gradient(135deg, #fff8e5 0%, #ffecc7 100%);
    border-color: #ffb900;
}

.msr-reservation-notice.msr-notice-account {
    background: linear-gradient(135deg, #e8f4ff 0%, #d1e8ff 100%);
    border-color: #007cba;
    margin: 15px 0;
}

.msr-notice-content h3,
.msr-notice-content h4 {
    color: #d63638;
    margin-top: 0;
    border-bottom: 1px solid #ffb900;
    padding-bottom: 10px;
}

.msr-notice-account .msr-notice-content h4 {
    color: #007cba;
    border-bottom-color: #007cba;
}

.msr-timer {
    margin-top: 15px;
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.msr-timer-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

.msr-timer-display {
    font-size: 24px;
    font-weight: bold;
    color: #d63638;
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 5px;
    border: 2px solid #ffb900;
    display: inline-block;
    min-width: 120px;
    font-family: 'Courier New', monospace;
}

.msr-timer-urgent {
    color: #d63638 !important;
    background: #ffe6e6 !important;
    border-color: #d63638 !important;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.msr-notice-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

.msr-notice-details p {
    margin: 5px 0;
    color: #666;
}

/* Глобальное уведомление в подвале */
.msr-global-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    display: none;
}

.msr-global-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.msr-global-notice-icon {
    font-size: 20px;
}

.msr-global-notice-text {
    font-weight: 500;
    font-size: 14px;
}

.msr-global-notice-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.msr-global-notice-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Шорткод глобального уведомления */
.msr-global-notice-shortcode {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
}

.msr-global-notice-shortcode .msr-global-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Таймер в шорткоде */
.msr-timer-shortcode {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
}

.msr-timer-header {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.msr-timer-display-wrapper {
    text-align: center;
}

.msr-timer-shortcode .msr-timer-display {
    font-size: 18px;
    padding: 8px 12px;
    margin-top: 5px;
}

.msr-timer-details {
    margin-top: 10px;
    text-align: center;
    color: #666;
    font-size: 12px;
}

/* Сообщения об ошибках */
.msr-error {
    color: #d63638;
    background: #ffe6e6;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #d63638;
}

.msr-expired {
    color: #666;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Адаптивность */
@media (max-width: 768px) {
    .msr-reservation-notice {
        padding: 15px;
        margin: 15px 0;
    }
    
    .msr-timer-display {
        font-size: 20px;
        min-width: 100px;
    }
    
    .msr-global-notice-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-right: 40px;
    }
    
    .msr-global-notice-text {
        font-size: 13px;
    }
}