/* Główne style systemu rezerwacji parkingu - FRONTEND */
.parking-map-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.parking-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.parking-map-header h3 {
    color: #2d3748;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 1.5em;
}

.parking-legend {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-free, .spot-occupied, .spot-reserved {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #ddd;
}

.spot-free {
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-color: #38a169;
}

.spot-occupied {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    border-color: #e53e3e;
}

.spot-reserved {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border-color: #dd6b20;
}

.parking-zones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.parking-zone {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 2px solid #e9ecef;
}

.parking-zone h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 1.2em;
    text-align: center;
    font-weight: 600;
}

.parking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 8px;
    min-height: 100px;
}

.parking-spot {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.parking-spot:hover {
    transform: scale(1.1);
    z-index: 10;
}

.parking-spot.spot-free {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-color: #219a52;
    cursor: pointer;
}

.parking-spot.spot-occupied {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-color: #c0392b;
    cursor: not-allowed;
}

.parking-spot.type-premium {
    position: relative;
}

.parking-spot.type-premium::after {
    content: '⭐';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6em;
}

/* POWIĘKSZONE OKIENKO INFORMACYJNE */
.spot-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
    z-index: 1000;
    margin-bottom: 0;
    min-width: 280px;
    max-width: 350px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.parking-spot:hover .spot-tooltip {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.booking-tooltip-item {
    padding: 8px 0;
    border-bottom: 1px solid #34495e;
    white-space: normal;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: white;
}

.booking-tooltip-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spot-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #2c3e50;
}

.parking-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 500;
}

/* Formularz rezerwacji */
.parking-booking-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.booking-process {
    margin-bottom: 30px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #515547;
    color: white;
    border-color: #515547;
}

.step-label {
    font-size: 0.8em;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-label {
    color: #515547;
    font-weight: 600;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #515547;
    box-shadow: 0 0 0 3px rgba(81, 85, 71, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.special-requests {
    grid-column: 1 / -1;
}

.pricing-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #515547;
    font-size: 0.9em;
}

.pricing-info small {
    color: #6c757d;
    line-height: 1.4;
}

/* Wybór miejsca */
.spot-selection-container {
    margin: 20px 0;
}

.zone-filter {
    margin-bottom: 20px;
}

.zone-filter select {
    max-width: 200px;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
}

.available-spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
}

.spot-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.spot-option:hover {
    border-color: #515547;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.spot-option.selected {
    border-color: #515547;
    background: #f8f9fa;
    box-shadow: 0 0 0 3px rgba(81, 85, 71, 0.2);
}

.spot-option.premium {
    border-left: 4px solid #ffd700;
}

.spot-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spot-number {
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
}

.spot-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #6c757d;
}

.spot-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #27ae60;
    text-align: right;
}

.no-spots-available,
.loading-spots {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

.loading-spots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Podsumowanie */
.booking-summary-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid #515547;
}

.booking-summary-card h5 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1em;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.95em;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #515547;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
}

/* Przyciski */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: inherit;
    gap: 8px;
}

.button.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.button.primary:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.button.secondary {
    background: #6c757d;
    color: white;
}

.button.secondary:hover {
    background: #5a6268;
}

.button.large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.final-actions {
    justify-content: flex-end;
    gap: 15px;
}

/* SZCZEGÓŁOWA MAPA PARKINGOWA */
.parking-map-detailed-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.parking-spot-detailed {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.parking-spot-detailed:hover {
    transform: scale(1.1);
    z-index: 10;
}

.parking-spot-detailed.spot-free {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-color: #219a52;
    cursor: pointer;
}

.parking-spot-detailed.spot-occupied {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-color: #c0392b;
    cursor: not-allowed;
}

.parking-spot-detailed.type-premium {
    position: relative;
}

.parking-spot-detailed.type-premium::after {
    content: '⭐';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6em;
}

.parking-spot-detailed.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    transform: scale(1.1);
    z-index: 20;
}

/* POPRAWIONE OKIENKA INFORMACYJNE DLA SZCZEGÓŁOWEJ MAPY */
.detailed-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: normal;
    z-index: 1000;
    margin-bottom: 0;
    min-width: 250px;
    max-width: 300px;
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.parking-spot-detailed:hover .detailed-tooltip {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.detailed-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #2c3e50;
}

/* PANEL INFORMACJI O MIEJSCU W SZCZEGÓŁOWEJ MAPIE */
.spot-info-panel {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    flex: 1;
    max-width: 400px;
    margin-left: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
    flex-wrap: wrap;
}

.bookings-list ul {
    margin: 10px 0;
    padding-left: 20px;
}

.bookings-list li {
    margin: 5px 0;
    font-size: 0.9em;
    color: #4a5568;
}

.spot-free-message {
    color: #38a169;
    font-weight: 600;
}

/* POŁĄCZONY SYSTEM MAPY I REZERWACJI */
.parking-combined-system {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* Wynik rezerwacji */
.booking-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #155724;
}

.booking-success h4 {
    margin: 0 0 20px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.success-details {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tabela cen */
.parking-pricing-table {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin: 25px 0;
    border: 1px solid #f0f0f0;
}

.parking-pricing-table h3 {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pricing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.pricing-card.zone-a {
    border-left: 4px solid #e74c3c;
}

.pricing-card.zone-b {
    border-left: 4px solid #3498db;
}

.pricing-card.zone-c {
    border-left: 4px solid #27ae60;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.pricing-header h4 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.spot-type-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.spot-type-badge.premium {
    background: #fff3cd;
    color: #856404;
}

.spot-type-badge.standard {
    background: #d1ecf1;
    color: #0c5460;
}

.pricing-details {
    display: grid;
    gap: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-label {
    color: #6c757d;
    font-size: 0.9em;
}

.price-value {
    font-weight: bold;
    color: #515547;
    font-size: 1.1em;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #515547;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Komunikaty błędów */
.field-error {
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin: 15px 0;
}

.privacy-notice {
    background: #fff3cd;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ffeaa7;
    margin-bottom: 20px;
}

.privacy-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.9em;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .parking-zones-container {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 15px;
        justify-content: flex-start;
    }
    
    .step-label {
        text-align: left;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .final-actions {
        flex-direction: column-reverse;
    }
    
    .available-spots-grid {
        grid-template-columns: 1fr;
    }
    
    .parking-stats {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .parking-map-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .parking-legend {
        align-self: stretch;
        justify-content: space-around;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    /* POPRAWKI DLA SZCZEGÓŁOWEJ MAPY NA TELEFONACH */
    .map-controls {
        flex-direction: column;
    }
    
    .spot-info-panel {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 400px !important;
        z-index: 10000 !important;
        margin: 0 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
        animation: slideInUp 0.3s ease !important;
    }
    
    .spot-info-panel::before {
        content: '' !important;
        position: absolute !important;
        bottom: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border: 10px solid transparent !important;
        border-bottom-color: #667eea !important;
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translate(-50%, -40%) !important;
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) !important;
        }
    }
    
    /* POPRAWIONE TOOLTIPY NA TELEFONACH */
    .spot-tooltip, .detailed-tooltip {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 90vw !important;
        max-width: 90vw !important;
        z-index: 10000 !important;
        background: #1a202c !important;
        color: #e2e8f0 !important;
        border: 1px solid #4a5568 !important;
    }
    
    .spot-tooltip::before, .detailed-tooltip::before {
        top: 100% !important;
        bottom: auto !important;
        border-bottom-color: #1a202c !important;
    }
    
    .booking-tooltip-item {
        color: #e2e8f0 !important;
        border-bottom-color: #4a5568 !important;
    }
    
    .parking-zones-container.detailed .parking-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
        gap: 5px;
    }
    
    .parking-spot-detailed {
        width: 45px;
        height: 45px;
        font-size: 0.75em;
    }
    
    /* Responsywność dla powiększonego tooltipa */
    .spot-tooltip, .detailed-tooltip {
        min-width: 250px !important;
        max-width: 300px !important;
        font-size: 13px !important;
        padding: 12px !important;
    }
    
    .booking-tooltip-item {
        font-size: 13px !important;
        padding: 6px 0 !important;
    }
}

@media (max-width: 480px) {
    .parking-map-container,
    .parking-booking-container,
    .parking-pricing-table,
    .parking-map-detailed-container {
        padding: 15px;
        margin: 10px 0;
    }
    
    .parking-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 5px;
    }
    
    .parking-spot {
        width: 40px;
        height: 40px;
        font-size: 0.7em;
    }
    
    .parking-zones-container.detailed .parking-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 4px;
    }
    
    .parking-spot-detailed {
        width: 40px;
        height: 40px;
        font-size: 0.7em;
    }
    
    /* DALSZE POPRAWKI DLA BARDZO MAŁYCH EKRANÓW */
    .spot-tooltip, .detailed-tooltip {
        min-width: 95vw !important;
        max-width: 95vw !important;
        font-size: 12px !important;
        padding: 10px !important;
    }
    
    .booking-tooltip-item {
        font-size: 12px !important;
        padding: 5px 0 !important;
    }
    
    .button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    .parking-map-container,
    .parking-booking-container,
    .parking-pricing-table,
    .parking-map-detailed-container,
    .pricing-card,
    .spot-option,
    .booking-summary-card,
    .parking-combined-system {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    .parking-zone {
        background: #1a202c;
        border-color: #4a5568;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .pricing-info,
    .spot-selection-container,
    .privacy-notice,
    .spot-info-panel {
        background: #1a202c;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .booking-success {
        background: #1a202c;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .success-details {
        background: #2d3748;
    }
    
    /* Dark mode dla tooltipa */
    .spot-tooltip, .detailed-tooltip {
        background: #1a202c !important;
        border: 1px solid #4a5568 !important;
        color: #e2e8f0 !important;
    }
    
    .spot-tooltip::before, .detailed-tooltip::before {
        border-bottom-color: #1a202c !important;
    }
    
    .booking-tooltip-item {
        border-bottom-color: #4a5568 !important;
        color: #e2e8f0 !important;
    }
    
    .parking-zone h4 {
        color: #e2e8f0;
    }
    
    .spot-number {
        color: #e2e8f0;
    }
    
    .spot-details {
        color: #a0aec0;
    }
    
    .bookings-list li {
        color: #a0aec0;
    }
}

/* DODATKOWE KLASY POMOCNICZE */
.readonly-field {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.selected-spot-info {
    margin: 10px 0;
    padding: 10px 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

/* ANIMACJE */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease;
}

/* OVERLAY DLA MOBILNEGO PANELU */
.spot-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.spot-info-overlay.active {
    display: block;
}
/* Style dla połączonego systemu */
.parking-combined-system .parking-map-detailed-container,
.parking-combined-system .parking-booking-container {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.parking-combined-system .parking-booking-container {
    border-top: 1px solid #e9ecef;
}

/* DODAJ NA SAMYM KOŃCU PLIKU, PO WSZYSTKIM ISTNIEJĄCYM KODZIE: */

/* Style dla wyświetlania ceny */
.combined-price-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #515547;
    margin: 10px 0;
}

.price-breakdown {
    font-size: 0.9em;
    color: #6c757d;
}

.final-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #515547;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #dee2e6;
}

/* Responsywność dla wyświetlacza ceny */
@media (max-width: 768px) {
    .combined-price-display {
        padding: 10px;
        font-size: 0.9em;
    }
}
/* DODATKOWE STYLE DLA SZCZEGÓŁOWEJ MAPY */
.parking-map-detailed-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.parking-zones-container.detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.parking-zones-container.detailed .parking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 8px;
    min-height: 150px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.spot-info-panel {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    flex: 1;
    max-width: 400px;
    margin-left: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bookings-list ul {
    margin: 10px 0;
    padding-left: 20px;
}

.bookings-list li {
    margin: 8px 0;
    padding: 8px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.spot-free-message {
    color: #38a169;
    font-weight: 600;
    padding: 10px;
    background: #f0fff4;
    border-radius: 6px;
    text-align: center;
}

/* Responsywność */
@media (max-width: 768px) {
    .map-controls {
        flex-direction: column;
    }
    
    .spot-info-panel {
        margin-left: 0;
        margin-top: 20px;
        max-width: 100%;
    }
    
    .parking-zones-container.detailed .parking-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
        gap: 5px;
    }
}
