.spaleforce-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.spaleforce-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spaleforce-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.spaleforce-modal-overlay.active .spaleforce-modal-container {
    transform: scale(1) translateY(0);
}

.spaleforce-modal-content {
    display: flex;
    flex-direction: column;
}

.spaleforce-modal-image {
    width: 100%;
    overflow: hidden;
}

.spaleforce-modal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.spaleforce-modal-text {
    padding: 24px 28px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.spaleforce-modal-buttons {
    display: flex;
    gap: 12px;
    padding: 0 28px 24px 28px;
    justify-content: center;
}

.spaleforce-modal-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.spaleforce-modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.spaleforce-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.spaleforce-modal-btn-secondary {
    background: #f0f0f0;
    color: #555;
}

.spaleforce-modal-btn-secondary:hover {
    background: #e0e0e0;
}

@media (max-width: 480px) {
    .spaleforce-modal-container {
        width: 95%;
        border-radius: 12px;
    }
    
    .spaleforce-modal-text {
        padding: 20px;
        font-size: 15px;
    }
    
    .spaleforce-modal-buttons {
        flex-direction: column;
        padding: 0 20px 20px 20px;
    }
    
    .spaleforce-modal-btn {
        width: 100%;
    }
}