/* Styl główny dashboardu */
.wpps-dashboard {
    box-sizing: border-box;
    max-width: 1000px;
    margin: 30px auto;
    /*padding: 20px;*/
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
}

.wpps-dashboard *, 
.wpps-dashboard *::before, 
.wpps-dashboard *::after {
    box-sizing: border-box;
}

/* Płynne przejścia dla przycisków */
.wpps-btn-action {
    transition: all 0.2s ease-in-out;
}

.wpps-btn-action:hover {
    filter: brightness(0.95);
    border-color: #94a3b8 !important;
}

/* Styl powiadomień typu Toast */
#wpps-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 14px;
    position: fixed;
    z-index: 99999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

#wpps-toast.wpps-toast-show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
.wpps-link-card-actions.wpps-btn-action {
    background: #f1f5f9; 
    border: 1px solid #cbd5e1; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 500; 
    color: #1e293b;

}


/* Tło modala (ciemna powłoka) */
.wpps-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Klasa aktywująca pokazywanie modala */
.wpps-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Główne okno modala */
.wpps-modal-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.wpps-modal-overlay.is-open .wpps-modal-content {
    transform: translateY(0);
}

/* Przycisk zamknięcia (krzyżyk) */
.wpps-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 5px;
}

.wpps-modal-close:hover {
    color: #0f172a;
}

.wpps-modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #0f172a;
    font-size: 22px;
    text-align: center;
}