/* modules/atlas_admin/assets/whatsapp-modal.css */
#atlas-wa-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
#atlas-wa-modal.active { display: flex; }
.atlas-modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}
.atlas-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}
.atlas-modal-content h3 { margin-top: 0; color: #075e54; }
.atlas-input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}
.atlas-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

#atlas-contact-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 99998;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
#atlas-contact-modal.active { display: flex; }
.atlas-contact-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px 18px;
    position: relative;
    box-shadow: 0 22px 70px rgba(0,0,0,0.25);
    text-align: center;
    border-top: 4px solid #01B2E5;
}
.atlas-contact-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    font-size: 20px;
    cursor: pointer;
    color: #1d1d1f;
    line-height: 32px;
}
.atlas-contact-logo {
    height: 44px;
    width: auto;
    margin: 0 auto 10px;
    display: block;
}
.atlas-contact-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #03367A;
}
.atlas-contact-text {
    margin: 10px 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: #3a3a3c;
}
.atlas-contact-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.atlas-contact-ok {
    border: 0;
    background: #03367A;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    min-width: 120px;
}
.atlas-contact-ok:hover { background: #01B2E5; }

.contato-form { position: relative; }
.contato-form .atlas-form-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.72);
    border-radius: 18px;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.contato-form.atlas-submitting .atlas-form-overlay { display: flex; }
.atlas-spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 4px solid rgba(3,54,122,0.18);
    border-top-color: #03367A;
    animation: atlas-spin 0.85s linear infinite;
}
@keyframes atlas-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
