/* CSS para o Componente de Alerta Global da Resitank */
.resitank-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.resitank-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.resitank-alert-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resitank-alert-overlay.show .resitank-alert-box {
    transform: translateY(0) scale(1);
}

.resitank-alert-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
}

.resitank-alert-header.success {
    border-top: 4px solid #25D366;
}

.resitank-alert-header.error {
    border-top: 4px solid #cc0000;
}

.resitank-alert-header.warning {
    border-top: 4px solid #f59e0b;
}

.resitank-alert-icon {
    font-size: 24px;
}

.resitank-alert-header.success .resitank-alert-icon {
    color: #25D366;
}

.resitank-alert-header.error .resitank-alert-icon {
    color: #cc0000;
}

.resitank-alert-header.warning .resitank-alert-icon {
    color: #f59e0b;
}

.resitank-alert-title {
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
}

.resitank-alert-body {
    padding: 20px;
    color: #cccccc;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    white-space: pre-wrap; /* Preserva quebras de linha enviadas no JS */
}

.resitank-alert-footer {
    padding: 15px 20px;
    background-color: #111111;
    text-align: right;
    border-top: 1px solid #2a2a2a;
}

.resitank-alert-btn {
    background-color: #cc0000;
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
}

.resitank-alert-btn:hover {
    background-color: #aa0000;
}

.resitank-alert-btn.cancel {
    background-color: #333333;
    color: #cccccc;
}

.resitank-alert-btn.cancel:hover {
    background-color: #444444;
}
