.ecomdrive-error-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.ecomdrive-error-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 90%;
    width: 440px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.ecomdrive-error-icon {
    color: #ef4444;
    font-size: 48px;
    margin-bottom: 20px;
    animation: shake 0.5s ease-in-out;
}

.ecomdrive-error-title {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ecomdrive-error-message {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ecomdrive-contact-info {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.ecomdrive-contact-info h4 {
    color: #1f2937;
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.ecomdrive-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ecomdrive-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ecomdrive-contact-item:hover {
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ecomdrive-contact-item i {
    color: #3b82f6;
    font-size: 20px;
}

.ecomdrive-contact-item span {
    font-size: 14px;
}

.ecomdrive-error-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.ecomdrive-error-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 480px) {
    .ecomdrive-error-content {
        width: 90%;
        padding: 25px;
    }
    
    .ecomdrive-error-icon {
        font-size: 40px;
    }
    
    .ecomdrive-error-title {
        font-size: 20px;
    }
    
    .ecomdrive-error-message {
        font-size: 14px;
    }
    
    .ecomdrive-contact-info {
        padding: 15px;
    }
    
    .ecomdrive-contact-item {
        padding: 8px;
    }
    
    .ecomdrive-contact-item i {
        font-size: 18px;
    }
    
    .ecomdrive-contact-item span {
        font-size: 13px;
    }
}
