/* === Modal de Configuração de Domínio === */

.rdm-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

.rdm-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.rdm-modal-box {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.rdm-modal-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.rdm-modal-box select,
.rdm-modal-box input[type="url"] {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.rdm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.rdm-actions .button {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.rdm-actions .rdm-save-domain {
    background: #0073aa;
    color: white;
}

.rdm-actions .rdm-save-domain:hover {
    background: #005f8d;
}

.rdm-actions .rdm-cancel {
    background: #ccc;
    color: #333;
}

.rdm-actions .rdm-cancel:hover {
    background: #aaa;
}

.rdm-loading {
    text-align: center;
    font-size: 16px;
    color: #555;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
