.braze-btn {
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
}
.braze-btn:hover { 
    background: #005177; 
    transform: scale(1.05);
}

.braze-modal {
    display: none; /* oculto por defecto */
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    backdrop-filter: blur(4px); /* desenfoque del fondo */
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.braze-modal-content {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transform: scale(0.7);
    opacity: 0;
    animation: bounceIn 0.5s forwards;
}

.braze-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}
.braze-close:hover { color: #0073aa; }

.braze-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border:1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.braze-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor:pointer;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
}
.braze-form button[type="submit"]:hover { 
    background: #005177; 
    transform: scale(1.03);
}

.braze-message { 
    margin-top: 10px; 
    font-weight: bold; 
    text-align: center;
}

@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    80% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .braze-modal-content { padding: 20px 15px; width: 95%; }
}

.braze-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0073aa;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.5s, bottom 0.5s;
}
.braze-toast.show {
    opacity: 1;
    bottom: 50px;
}
.braze-toast.success { background: #28a745; }
.braze-toast.error { background: #dc3545; }