/* Frontend styles for the NTAS XML Block */
.ntas-alert-block {
    background-color: #fefefe;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif; /* Using Inter font */
    color: #333;
}

.ntas-alert-block h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.ntas-alert-block h3 {
    color: #34495e;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.ntas-alert-block p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.ntas-alert-block strong {
    color: #2c3e50;
}

.ntas-alert-details {
    margin-bottom: 20px;
}

.ntas-section {
    margin-bottom: 20px;
}

.ntas-content {
    background-color: #f9f9f9;
    border-left: 4px solid #3498db;
    padding: 15px;
    border-radius: 4px;
    line-height: 1.7;
}

/* Specific styling for alert levels */
.ntas-level {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    color: white;
}

.ntas-level-elevated {
    background-color: #f39c12; /* Orange */
}

.ntas-level-guarded {
    background-color: #2ecc71; /* Green */
}

.ntas-level-imminent {
    background-color: #e74c3c; /* Red */
}

.ntas-level-low {
    background-color: #3498db; /* Blue */
}

/* Error and Info messages */
.ntas-error {
    background-color: #ffe0e0;
    border-color: #e74c3c;
    color: #c0392b;
}

.ntas-info {
    background-color: #e0f2f7;
    border-color: #3498db;
    color: #2980b9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ntas-alert-block {
        padding: 15px;
        margin: 15px 0;
    }

    .ntas-alert-block h2 {
        font-size: 1.5em;
    }

    .ntas-alert-block h3 {
        font-size: 1.2em;
    }
}

