/* Poprawki kolorów tekstu dla lepszej czytelności */

/* Dashboard - główne nagłówki */
.dashboard-header h1,
.dashboard-header h2,
.page-title,
.card-title,
.section-title {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Raporty - główny nagłówek */
.reports-header h1,
.reports-title,
h1:contains("Raporty"),
h1:contains("RAPORTY") {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Wszystkie główne nagłówki w dashboardzie */
.dashboard-container h1,
.dashboard-container h2,
.dashboard-container h3 {
    color: #ffffff !important;
}

/* Nazwy użytkowników i opcje menu */
.user-name,
.user-info,
.dropdown-menu a,
.user-dropdown .dropdown-item {
    color: #ffffff !important;
}

/* Breadcrumbs */
.breadcrumb,
.breadcrumb a,
.breadcrumb-item {
    color: #cccccc !important;
}

.breadcrumb a:hover {
    color: #ffffff !important;
}

/* Opisy i podtytuły */
.description,
.subtitle,
.card-description,
.page-description {
    color: #e0e0e0 !important;
}

/* Statystyki i liczby */
.stat-number,
.metric-value,
.counter {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Etykiety statystyk */
.stat-label,
.metric-label {
    color: #cccccc !important;
}

/* Tabele - nagłówki */
.table th {
    color: #ffffff !important;
    background-color: rgba(102, 126, 234, 0.2) !important;
}

/* Tabele - zawartość */
.table td {
    color: #e0e0e0 !important;
}

/* Formularze - etykiety */
.form-group label,
.form-label {
    color: #ffffff !important;
}

/* Menu rozwijane - lepsze tło */
.form-group select,
.dropdown-menu {
    background-color: rgba(30, 30, 30, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.form-group select option {
    background-color: rgba(30, 30, 30, 0.95) !important;
    color: #ffffff !important;
}

.form-group select option:hover,
.form-group select option:focus {
    background-color: rgba(102, 126, 234, 0.3) !important;
    color: #ffffff !important;
}

/* Przyciski - lepszy kontrast */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Karty - lepsze tło dla tekstu */
.card,
.dashboard-card,
.info-card {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card-body,
.card-content {
    color: #ffffff !important;
}

/* Powiadomienia */
.notification,
.alert {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Sidebar - aktywne elementy */
.sidebar .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
}

/* RODO - poprawa czytelności */
.legal-content,
.legal-body {
    color: #ffffff !important;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.legal-content p,
.legal-content li,
.legal-content td {
    color: #e0e0e0 !important;
    line-height: 1.6;
}

.legal-content strong {
    color: #ffffff !important;
}

/* Kontakt info */
.contact-info {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    color: #e0e0e0 !important;
    margin-bottom: 0.5rem;
}

/* Responsive - mobile */
@media (max-width: 768px) {
    .dashboard-container h1,
    .page-title {
        font-size: 1.5rem !important;
        color: #ffffff !important;
    }
    
    .user-name,
    .breadcrumb {
        font-size: 0.9rem !important;
        color: #cccccc !important;
    }
}

/* Dodatkowe poprawki dla specyficznych elementów */
.dashboard-welcome {
    color: #ffffff !important;
}

.company-name {
    color: #cccccc !important;
}

.quick-stats .stat-item {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover effects dla lepszej interakcji */
.card:hover,
.dashboard-card:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Poprawki dla galerii */
.gallery-item .item-title,
.gallery-item .item-description {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Poprawki dla QR generatora */
.qr-generator-card h3,
.qr-result h4 {
    color: #ffffff !important;
}

.qr-info p {
    color: #e0e0e0 !important;
}

