/* Dokan Lumise - Loading Progress Indicator */

.dokan-lumise-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dokan-lumise-loader .loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.dokan-lumise-loader .loader-content {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.dokan-lumise-loader .loader-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dokan-lumise-loader .loader-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.dokan-lumise-loader .loader-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #135e96);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(34, 113, 177, 0.5);
}

.dokan-lumise-loader .loader-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
}

/* Error Message Styling */
.dokan-lumise-error {
    position: relative;
    padding: 15px 50px 15px 15px;
    margin: 20px 0;
    background: #fff;
    border-left: 4px solid #d63638;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dokan-lumise-error p {
    margin: 0;
    color: #721c24;
    font-size: 14px;
}

.dokan-lumise-error strong {
    font-weight: 600;
}

.dokan-lumise-error .notice-dismiss {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 9px;
    color: #787c82;
}

.dokan-lumise-error .notice-dismiss:hover {
    color: #d63638;
}

.dokan-lumise-error .notice-dismiss:before {
    content: '\f153';
    font-family: 'dashicons';
    font-size: 16px;
}

/* Success Message (optionnel) */
.dokan-lumise-success {
    position: relative;
    padding: 15px 50px 15px 15px;
    margin: 20px 0;
    background: #fff;
    border-left: 4px solid #00a32a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dokan-lumise-success p {
    margin: 0;
    color: #155724;
    font-size: 14px;
}

/* Animation d'entrée */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dokan-lumise-loader .loader-content {
    animation: fadeIn 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .dokan-lumise-loader .loader-content {
        padding: 30px 20px;
        width: 85%;
    }

    .dokan-lumise-loader .loader-spinner {
        width: 50px;
        height: 50px;
    }

    .dokan-lumise-loader .loader-text {
        font-size: 13px;
    }
}