/* Sistema de Notificações Ramppy */

.ramppy-notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.ramppy-notification {
    min-width: 320px;
    max-width: 450px;
    padding: 16px 20px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideIn 0.3s ease;
    pointer-events: all;
    position: relative;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.ramppy-notification.hiding {
    animation: slideOut 0.3s ease forwards;
}

.ramppy-notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.ramppy-notification.success {
    border-color: rgba(34, 197, 94, 0.3);
}

.ramppy-notification.success .ramppy-notification-icon {
    color: #22c55e;
}

.ramppy-notification.error {
    border-color: rgba(239, 68, 68, 0.3);
}

.ramppy-notification.error .ramppy-notification-icon {
    color: #ef4444;
}

.ramppy-notification.warning {
    border-color: rgba(245, 158, 11, 0.3);
}

.ramppy-notification.warning .ramppy-notification-icon {
    color: #f59e0b;
}

.ramppy-notification.info {
    border-color: rgba(59, 130, 246, 0.3);
}

.ramppy-notification.info .ramppy-notification-icon {
    color: #3b82f6;
}

.ramppy-notification-content {
    flex: 1;
}

.ramppy-notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.4;
}

.ramppy-notification-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.ramppy-notification-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.ramppy-notification-close:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Modal/Popup Customizado */
.ramppy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.ramppy-modal-overlay.active {
    display: flex;
}

.ramppy-modal {
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
    position: relative;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ramppy-modal-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ramppy-modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ramppy-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    flex: 1;
}

.ramppy-modal-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

.ramppy-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.ramppy-modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.ramppy-modal-btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.ramppy-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.ramppy-modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ramppy-modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
    .ramppy-notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .ramppy-notification {
        min-width: auto;
        max-width: none;
        width: 100%;
    }

    .ramppy-modal {
        padding: 24px;
        width: 95%;
    }
}