/**
 * Stormhill Warning Banner - Frontend Styles
 * Version: 1.0.3
 */

.warning-banner {
    padding: 15px 0;
    margin: 0;
    width: 100%;
}

.warning-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

.warning-banner-header {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.warning-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.warning-banner-message {
    flex: 1;
    margin: 0;
    line-height: 1.5;
}

.warning-banner-message p:last-child {
    margin-bottom: 0;
}

.warning-banner-button {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.15);
    color: inherit;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.warning-banner-button:hover {
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
}

/* Information style */
.warning-banner-information {
    background: #0066cc;
    color: #ffffff;
}

/* Warning style */
.warning-banner-warning {
    background: #ff9800;
    color: #000000;
}

/* Urgent style */
.warning-banner-urgent {
    background: #dc3545;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .warning-banner-inner {
        padding: 0 20px;
    }
    
    .warning-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .warning-banner-button {
        width: 100%;
        text-align: center;
    }
}
