/* Map and Autocomplete Styles */
        #map { 
            height: 400px; 
            max-height: 60vh;
            margin-bottom: 30px; 
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid #e8f0e9;
        }
        .leaflet-routing-container { display: none !important; }
        .leaflet-control-container .leaflet-routing-container { display: none !important; }
        .input-container { 
            position: relative; 
            display: flex;
            flex-direction: column;
            min-width: 250px;
            flex: 1;
        }
        .location-input { 
            padding: 12px 16px; 
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            background: #fafbfa;
        }

        .location-input:focus {
            outline: none;
            border-color: #4a7c59;
            background: white;
            box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
        }
        
        .autocomplete-suggestions { 
            position: absolute; 
            top: 100%; 
            left: 0; 
            right: 0; 
            background: white; 
            border: 2px solid #e8f0e9; 
            border-radius: 10px;
            max-height: 200px; 
            overflow-y: auto; 
            z-index: 1005;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            margin-top: 5px;
        }
        .autocomplete-suggestion { 
            padding: 12px 16px; 
            cursor: pointer; 
            border-bottom: 1px solid #f0f0f0;
            transition: background 0.2s ease;
        }
        .autocomplete-suggestion:hover { 
            background: #f8faf9; 
        }
        .autocomplete-suggestion:last-child {
            border-bottom: none;
        }
        .suggestion-name {
            font-weight: 600;
            color: #2c5530;
            font-size: 1.5rem;
        }
        .suggestion-details {
            font-size: 1.2rem;
            color: #666;
            margin-top: 4px;
        }
        .loading {
            color: #666;
            font-style: italic;
            font-size: 1.5rem;
        }

        /* Transport Landing Page Styles */
        .transport-hero {
            background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
            color: white;
            text-align: center;
            padding: 40px 20px;
            margin: -20px -50vw 40px -50vw;
            position: relative;
            overflow: hidden;
            width: 100vw;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
        }
 


        .transport-hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 00px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
        }

        .transport-hero h3 {
            font-size: 2.5rem;
            font-weight: 500;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
        }

        .transport-hero .subtitle {
            font-size: 1.7rem;
            margin-bottom: 20px;
            opacity: 0.95;
            font-weight: 300;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            z-index: 1;
        }

        .transport-hero .hero-icon {
            font-size: 4rem;
            margin-bottom: 30px;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }

        .transport-services {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 60px 0;
        }


        .transport_menu {
            margin:  0;
            margin-top: -41px;
            margin-bottom: -20px;
            padding: 20px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            background: #cad8d4; 
            border-radius: 0 0 20px 20px;
            display: flex;
            gap: 40px;
            justify-content: center;
        }  


        /* Mobile menu styles for .transport_menu */
        @media (max-width: 767px) {
            .transport_menu {
                gap: 15px;
                border-radius: 0px;
                padding: 20px;
            }
        }
        .main-service-card {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
            text-align: center;
            margin-bottom: 60px;
        }

        .main-service-card .icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #2c5530, #4a7c59);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px auto;
            color: white;
            font-size: 2.5rem;
        }

        .main-service-card h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 30px;
            color: #2c5530;
        }

        .secondary-service-card {
            background: #f8faf9;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid #e8f0e9;
            position: relative;
            overflow: hidden;
            max-width: 600px;
            margin: 0 auto;
        }



        .secondary-service-card .icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #6b8e6b, #4a7c59);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: white;
            font-size: 1.5rem;
        }

        .secondary-service-card h3 {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #2c5530;
        }

        .service-card p {
            color: #666;
            line-height: 1.7;
            margin-bottom: 30px;
            font-size: 1.5rem;
        }

        /* Service card specific paragraph styles */
        .main-service-card .service-desc-primary {
            font-size: 1.5rem;
            margin-bottom: 20px;
            text-align: justify;
            word-wrap: break-word;
            hyphens: auto;
            min-height: 4.5rem;
            display: flex;
            align-items: center;
        }

        .main-service-card .service-desc-secondary {
            font-size: 1.5rem;
            margin-bottom: 40px;
            text-align: justify;
            word-wrap: break-word;
            hyphens: auto;
            min-height: 3rem;
            display: flex;
            align-items: center;
            
        }

        /* Secondary service section styles */
        .secondary-service-section {
            margin-top: 80px;
        }

        .secondary-service-card.full-width {
            max-width: 100%;
        }

        .secondary-service-card .text-left {
            text-align: left;
        }

        .secondary-service-card .desc-primary {
            margin-bottom: 20px;
            text-align: left;
        }

        .secondary-service-card .desc-secondary {
            margin-bottom: 30px;
            text-align: left;
        }

        .secondary-service-card .cta-container {
            display: flex;
            justify-content: left;
        }

        .secondary-service-card .disclaimer {
            margin-top: 20px;
            text-align: left;
        }

        /* FAQ Section */
        .faq-section {
            margin: 80px 0;
            background: #f8faf9;
            padding: 60px 40px;
            border-radius: 20px;
        }

        .faq-section h3 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 40px;
            color: #2c5530;
            text-align: center;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .faq-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border: 1px solid #e8f0e9;
        }

        .faq-item h4 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #2c5530;
        }

        .faq-item p {
            color: #666;
            line-height: 1.6;
            font-size: 1.5rem;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(135deg, #2c5530, #4a7c59);
            color: white;
            padding: 18px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
            border: none;
            cursor: pointer;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(44, 85, 48, 0.4);
            text-decoration: none;
            color: white;
        }

        .cta-button-secondary {
            display: inline-block;
            background: linear-gradient(135deg, #6b8e6b, #4a7c59);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(107, 142, 107, 0.3);
            border: none;
            cursor: pointer;
              text-align: center;
        }

        .cta-button-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(107, 142, 107, 0.4);
            text-decoration: none;
            color: white;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin: 0;
        }

        .feature-item {
            text-align: center;
            padding: 30px 20px;
            background: #f8faf9;
            border-radius: 15px;
            transition: all 0.3s ease;
            border: 1px solid #e8f0e9;
        }

        .feature-item:hover {
            background: white;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transform: translateY(-5px);
        }

        .feature-item .feature-icon {
            font-size: 3rem;
            color: #4a7c59;
            margin-bottom: 20px;
        }

        .feature-item h4 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #2c5530;
        }

        .feature-item p {
            color: #666;
            line-height: 1.6;
            font-size: 1.5rem;
        }

        /* Form Section Styles for zapytanie.tpl */
        .transport-form-section {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            margin: 40px 0;
            border: 1px solid #f0f0f0;
            position: relative;
        }


        .transport-form-section h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: #2c5530;
        }

        .transport-form-section .description {
            color: #666;
            line-height: 1.7;
            margin-bottom: 30px;
            font-size: 1.5rem;
        }

        /* Form Controls for zapytanie.tpl */
        .form-row {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 30px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            font-size: 1.5rem;
            color: #2c5530;
        }

        .form-input,
        .form-select,
        .form-textarea { 
            padding: 12px 16px; 
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            background: #fafbfa;
            font-family: inherit;
            width: 100%;
            box-sizing: border-box;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: #4a7c59;
            background: white;
            box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
        }

        .form-textarea {
            resize: vertical;
            min-height: 100px;
            line-height: 1.6;
        }

        /* Form Groups for zapytanie.tpl */
        .form-group {
            display: flex;
            flex-direction: column;
            margin-bottom: 25px;
        }

        .form-group-row {
            display: flex;
            gap: 15px;
        }

        /* Checkbox Groups */
        .checkbox-group {
            margin-bottom: 15px;
        }

        .checkbox-label {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
            padding: 15px;
            background: #f8faf9;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            transition: all 0.3s ease;
            font-size: 1.5rem;
            line-height: 1.6;
        }

        .checkbox-label:hover {
            background: #e8f2e9;
            border-color: #4a7c59;
        }

        .checkbox-label input[type="checkbox"] {
            width: 20px;
            height: 20px;
            accent-color: #4a7c59;
            cursor: pointer;
            margin: 0;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .checkbox-text {
            color: #333;
            font-weight: 500;
            cursor: pointer;
        }

        .checkbox-text a {
            color: #4a7c59;
            text-decoration: underline;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .checkbox-text a:hover {
            color: #2c5530;
            text-decoration: underline;
        }

        /* Form Actions */
        .form-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid #e8f0e9;
        }

        .button-secondary {
            display: inline-block;
            background: #f8faf9;
            color: #4a7c59;
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.3rem;
            transition: all 0.3s ease;
            border: 2px solid #4a7c59;
            cursor: pointer;
        }

        .button-secondary:hover {
            background: #4a7c59;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
            text-decoration: none;
        }

        /* Submit Button for zapytanie.tpl */
        .submit-button {
            background: linear-gradient(135deg, #2c5530, #4a7c59);
            color: white;
            padding: 15px 35px;
            border-radius: 50px;
            border: none;
            font-weight: 600;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
            min-height: fit-content;
            margin-left: auto;
            display: block;
            white-space: wrap;
        }

        .submit-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(44, 85, 48, 0.4);
        }

        /* Custom Horse Count Selector */
        .horse-count-selector {
            position: relative;
        }

        .horse-count-display {
            padding: 12px 16px;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            font-size: 1.5rem;
            background: #fafbfa;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-width: 120px;
        }

        .horse-count-display:hover {
            border-color: #4a7c59;
            background: white;
        }

        .horse-count-display.open {
            border-color: #4a7c59;
            background: white;
            box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
        }

        .horse-count-dropdown {
            position: absolute;
            top: 100%;
            left: 0px;
            right: 0;
            background: white;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            margin-top: 5px;
            z-index: 1005;
            padding: 20px;
            display: none;  
            width: 270px;
        }

        .horse-count-dropdown.show {
            display: block;
        }

        .horse-count-prompt {
            font-size: 1.5rem;
            color: #2c5530;
            font-weight: 600;
            margin-bottom: 20px;
            text-align: center;
        }

        .horse-count-buttons {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: auto auto auto;
            gap: 10px;
            margin-bottom: 15px;
        }

        .horse-count-btn {
            background: #f8faf9;
            border: 2px solid #e8f0e9;
            border-radius: 8px;
            padding: 15px 10px;
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .horse-count-btn:hover {
            background: #e8f2e9;
            border-color: #4a7c59;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .horse-count-btn.selected {
            background: linear-gradient(135deg, #2c5530, #4a7c59);
            color: white;
            border-color: #2c5530;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
        }

        .horse-count-more {
            grid-column: 1 / -1;
            grid-row: 3;
            background: #f0f4f1;
            border: 2px solid #d0ddd1;
        }

        .horse-count-more:hover {
            background: #e8f2e9;
            border-color: #4a7c59;
        }

        .horse-count-more.selected {
            background: linear-gradient(135deg, #6b8e6b, #4a7c59);
            color: white;
            border-color: #6b8e6b;
        }

        .dropdown-arrow {
            transition: transform 0.3s ease;
            font-size: 1.2rem;
            color: #666;  
            margin-left: 10px;
        }

        .dropdown-arrow.rotated {
            transform: rotate(180deg);
        }

        /* Custom Date Selector */
        .date-selector {
            position: relative;
        }

        .date-display {
            padding: 12px 16px;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            font-size: 1.5rem;
            background: #fafbfa;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-width: 200px;
        }

        .date-display:hover {
            border-color: #4a7c59;
            background: white;
        }

        .date-display.open {
            border-color: #4a7c59;
            background: white;
            box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
        }

        .date-dropdown {
            position: absolute;
            top: 100%;
            right: 0px;
            background: white;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            margin-top: 5px;
            z-index: 1005;
            padding: 20px;
            display: none;
            width: 350px;
        }

        .date-dropdown.show {
            display: block;
        }

        /* Date Type Radio Button Selector */
        .date-type-selector {
            margin-bottom: 20px;
            border-radius: 8px;
        }

        .date-type-buttons {
            display: flex;
            flex-direction: column;
            padding: 0;
        }

        .date-type-radio-btn {
            cursor: pointer;
            display: block;
            background: white;
            padding: 12px 15px;
            border-bottom: 1px solid #e8f0e9;
            transition: all 0.2s ease;
        }

        .date-type-radio-btn:last-child {
            border-bottom: none;
        }

        .date-type-radio-btn:hover {
            background: #f8faf9;
        }



        .date-type-radio-btn input[type="radio"] {
            margin-right: 3px;
            accent-color: #4a7c59;
        }

        .date-type-radio-btn .radio-btn-text {
            display: inline;
            font-size: 1.2rem;
            font-weight: 500;
            color: #2c5530;
            cursor: pointer;
        }

        .date-type-radio-btn input[type="radio"]:checked {
            accent-color: #4a7c59;
        }

        .date-type-radio-btn input[type="radio"]:checked + .radio-btn-text {
            color: #4a7c59;
            font-weight: 600;
        }

        .date-option {
            display: flex;
            align-items: flex-start;
            cursor: pointer;
            padding: 10px;
            border-radius: 8px;
            transition: background 0.2s ease;
        }

        .date-option:hover {
            background: #f8faf9;
        }

        .date-option input[type="radio"] {
            margin-right: 10px;
            margin-top: 2px;
            accent-color: #4a7c59;
            flex-shrink: 0;
        }

        .date-option label {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            cursor: pointer;
            display: block;
            margin-bottom: 4px;
        }


        .single-date-input {
            margin-bottom: 0;
            text-align: left;
            padding-left: 20px;
        }

        .range-date-inputs {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .range-date-row {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .range-date-row label {
            font-size: 1.2rem;
            color: #2c5530;
            font-weight: 500;
            min-width: 25px;
        }

        .date-input {
            padding: 8px 12px;
            border: 2px solid #e8f0e9;
            border-radius: 8px;
            font-size: 1.2rem;
            background: white;
            flex: 1;
            transition: all 0.3s ease;
        }

        .date-input:focus {
            outline: none;
            border-color: #4a7c59;
            box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.1);
        }

        .date-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e8f0e9;
        }

        .date-btn {
            padding: 8px 16px;
            border: 2px solid #e8f0e9;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }

        .date-btn.cancel {
            color: #666;
        }

        .date-btn.cancel:hover {
            background: #f8faf9;
            border-color: #d0d0d0;
        }

        .date-btn.confirm {
            background: linear-gradient(135deg, #2c5530, #4a7c59);
            color: white;
            border-color: #2c5530;
        }

        .date-btn.confirm:hover {
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(44, 85, 48, 0.2);
        }

        /* Vehicle Options Grid (New Simple Checkboxes) */
        .vehicle-options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 10px;
        }

        .vehicle-option {
            position: relative;
        }

        .vehicle-option input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .vehicle-option-label {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px;
            background: #f8faf9;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 80px;
        }

        .vehicle-option-label:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .vehicle-option input[type="checkbox"]:checked + .vehicle-option-label {
            background: linear-gradient(135deg, #e8f2e9, #f0f8f1);
            border-color: #4a7c59;
            box-shadow: 0 5px 15px rgba(74, 124, 89, 0.2);
        }

        .vehicle-option input[type="checkbox"]:checked + .vehicle-option-label::after {
            content: '✓';
            position: absolute;
            top: 8px;
            right: 8px;
            background: #4a7c59;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }

        .vehicle-option-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }

        .vehicle-option-content {
            flex: 1;
        }

        .vehicle-option-name {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 4px;
        }

        .vehicle-option-description {
            font-size: 1.2rem;
            color: #666;
            line-height: 1.3;
            display: flex;
            flex-direction: column;
        }

        /* Mobile styles for vehicle options */
        @media (max-width: 767px) {
            .vehicle-options-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .vehicle-option-label {
                padding: 12px;
                min-height: 70px;
                gap: 10px;
            }

            .vehicle-option-icon {
                font-size: 1.8rem;
            }

            .vehicle-option-name {
                font-size: 1.3rem;
            }

            .vehicle-option-description {
                font-size: 1.1rem;
                flex-direction: row;
                gap: 5px;
            }
        }

        /* Custom Transport Options Selector (Combined) */
        .transport-options-selector {
            position: relative;
        }

        .transport-options-display {
            padding: 12px 16px;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            font-size: 1.5rem;
            background: #fafbfa;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-width: 180px;
        }

        .transport-options-display:hover {
            border-color: #4a7c59;
            background: white;
        }

        .transport-options-display.open {
            border-color: #4a7c59;
            background: white;
            box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
        }

        .transport-options-dropdown {
            position: absolute;
            top: 100%;
            left: -10px;
            background: white;
            border: 2px solid #e8f0e9;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            margin-top: 5px;
            z-index: 1005;
            padding: 20px;
            display: none;
            width: 350px;
        }

        .transport-options-dropdown.show {
            display: block;
        }

        .transport-options-prompt {
            font-size: 1.5rem;
            color: #2c5530;
            font-weight: 600;
            margin-bottom: 20px;
            text-align: center;
        }

        .transport-options-sections {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        @media (min-width: 768px) {
            .transport-options-dropdown {
                width: 600px;
            }
            
            .transport-options-sections {
                flex-direction: row;
                gap: 24px;
            }
        }

        .transport-options-section {
            flex: 1;
            min-width: 0;
        }

        .transport-options-section-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 2px solid #e8f0e9;
        }

        .transport-options-group {
            display: flex;
            flex-direction: column;
        }

        .transport-option {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;transition: background 0.2s ease;
            
        }

        .transport-option .transport-option-inner-wrapper{
            display: block;
        }

        .transport-option .transport-option-inner-wrapper .transport-option-description{
            font-size: 1.1rem;
            color: #999;
            display: block;
        }

        .transport-option:hover {
            background: #f8faf9;
        }

        .transport-option input[type="checkbox"] {
            margin-right: 10px;
            accent-color: #4a7c59;
            flex-shrink: 0;
        }

        .transport-option label {
            font-size: 1.4rem;
            font-weight: 500;
            color: #2c5530;
            cursor: pointer;
            flex: 1;
        }

        .transport-options-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            padding-top: 15px;
            border-top: 1px solid #e8f0e9;
        }

        .transport-options-btn {
            padding: 8px 16px;
            border: 2px solid #e8f0e9;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }

        .transport-options-btn.cancel {
            color: #666;
        }

        .transport-options-btn.cancel:hover {
            background: #f8faf9;
            border-color: #d0d0d0;
        }

        .transport-options-btn.confirm {
            background: linear-gradient(135deg, #2c5530, #4a7c59);
            color: white;
            border-color: #2c5530;
        }

        .transport-options-btn.confirm:hover {
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(44, 85, 48, 0.2);
        }

        /* Custom Calendar Styles */
        .custom-calendar {
            background: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            border: 1px solid #e8f0e9;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .calendar-nav {
            background: none;
            border: none;
            font-size: 1.8rem;
            color: #2c5530;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .calendar-nav:hover {
            background: #f0f5f1;
        }

        .calendar-month-year {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c5530;
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            margin-bottom: 5px;
        }

        .weekday {
            text-align: center;
            font-size: 1.2rem;
            font-weight: 600;
            color: #666;
            padding: 8px 4px;
        }

        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
        }

        .calendar-day {
            text-align: center;
            padding: 8px 4px;
            font-size: 1.2rem;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.3s ease;
            min-height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .calendar-day:hover {
            background: #f0f5f1;
        }

        .calendar-day.other-month {
            color: #ccc;
        }

        .calendar-day.past {
            color: #ccc;
            cursor: not-allowed;
        }

        .calendar-day.past:hover {
            background: none;
        }

        .calendar-day.selected {
            background: #4a7c59;
            color: white;
        }

        .calendar-day.selected:hover {
            background: #2c5530;
        }

        .calendar-day.today {
            background: #e8f0e9;
            font-weight: 600;
        }

        .calendar-day.today.selected {
            background: #4a7c59;
            color: white;
        }

        /* Rental calendar date range styles */
        .calendar-day.rental-in-range {
            background: #4a7c59;
            color: white;
            border-radius: 1px;
            position: relative;
        }

        .calendar-day.rental-range-start {
            background: #4a7c59 !important;
            color: white !important;
            border-top-left-radius: 6px !important;
            border-bottom-left-radius: 6px !important;
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
            position: relative;
        }

        .calendar-day.rental-range-end {
            background: #4a7c59 !important;
            color: white !important;
            border-top-right-radius: 6px !important;
            border-bottom-right-radius: 6px !important;
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
            position: relative;
        }

        .calendar-day.rental-single-day {
            background: #4a7c59 !important;
            color: white !important;
            border-radius: 6px !important;
            position: relative;
        }

        .calendar-day.rental-range-start:hover,
        .calendar-day.rental-range-end:hover,
        .calendar-day.rental-in-range:hover,
        .calendar-day.rental-single-day:hover {
            background: #2c5530;
            color: white;
        }

        .date-type-selector {
            margin-bottom: 15px;
            padding: 0;
        }

        .date-type-selector label {
            font-size: 1.2rem;
            font-weight: 500;
            color: #2c5530;
            display: block;
            margin-bottom: 5px;
        }

        .date-type-select {
            width: 100%;
            padding: 8px 12px;
            border: 2px solid #e8f0e9;
            border-radius: 8px;
            font-size: 1.2rem;
            background: white;
            transition: all 0.3s ease;
        }

        .date-type-select:focus {
            outline: none;
            border-color: #4a7c59;
            box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.1);
        }

        @media (max-width: 768px) {
            .transport-hero {
                padding: 30px 20px;
            }
            .transport-hero .hero-icon{
                margin-bottom: 15px;
            }

            .transport-hero h1 {
                font-size: 2.5rem;
            }

            .transport-hero .subtitle {
                font-size: 1.4rem;
            }

            .transport-services {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .main-service-card {
                padding: 30px;
            }

            .main-service-card h2 {
                font-size: 2rem;
            }

            .main-service-card .service-desc-primary {
                font-size: 1.2rem;
                min-height: auto;
                display: block;
            }

            .main-service-card .service-desc-secondary {
                font-size: 1.1rem;
                min-height: auto;
                display: block;
            }

            .secondary-service-card {
                padding: 25px;
            }

            .features-grid {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
                padding:  0 20px ;
            }

            .feature-item h4 {
                font-size: 1.2rem;
            }

            .feature-item p {
                font-size: 1.2rem;
            }

            .service-card p {
                font-size: 1.2rem;
            }

            .cta-button {
                font-size: 1.2rem;
                padding: 16px 32px;
            }

            .cta-button-secondary {
                font-size: 1.1rem;
                padding: 10px 25px;
            }

            .stats-section {
                padding: 40px 20px;
            }

            .faq-section {
                padding: 40px 20px;
                margin: 60px 0;
            }

            .faq-section h3 {
                font-size: 2rem;
            }

            .faq-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .faq-item {
                padding: 20px;
            }

            .faq-item h4 {
                font-size: 1.2rem;
            }

            .faq-item p {
                font-size: 1.2rem;
            }

            /* Mobile styles for form section */
            .transport-form-section {
                padding: 25px 20px;
            }

            .transport-form-section h2 {
                font-size: 1.6rem;
            }

            .transport-form-section .description {
                font-size: 1.2rem;
            }

            .form-row {
                flex-direction: column;
                gap: 15px;
            }

            .form-group-row {
                flex-direction: row;
                gap: 10px;
            }

            .form-label {
                font-size: 1.2rem;
            }

            .form-input,
            .form-select {
                font-size: 1.2rem;
                padding: 10px 14px;
            }

            .submit-button {
                font-size: 1.5rem;
                padding: 12px 30px;
                width: 100%;
            }

            .suggestion-name {
                font-size: 1.2rem;
            }

            .suggestion-details {
                font-size: 1rem;
            }

            .loading {
                font-size: 1.2rem;
            }

            .input-container {
                min-width: 100%;
            }

            .location-input {
                font-size: 1.2rem;
                padding: 10px 14px;
            }

            #map {
                height: 300px;
            }

            /* Mobile styles for horse count selector */
            .horse-count-display {
                font-size: 1.2rem;
                padding: 10px 14px;
            }

            .horse-count-dropdown {
                padding: 15px;
            }

            .horse-count-prompt {
                font-size: 1.2rem;
                margin-bottom: 15px;
            }

            .horse-count-btn {
                font-size: 1.2rem;
                padding: 12px 8px;
                min-height: 45px;
            }

            /* Mobile styles for date selector */
            .date-display {
                font-size: 1.2rem;
                padding: 10px 14px;
            }

            .date-dropdown {
                padding: 15px;
            }

            .date-options {
                margin-bottom: 15px;
            }

            .date-option {
                margin-bottom: 10px;
                padding: 8px;
            }

            .date-option label {
                font-size: 1.3rem;
            }

            .date-option-description {
                font-size: 1.1rem;
            }

            .date-inputs {
                padding: 10px;
            }

            .date-input {
                font-size: 1.2rem;
                padding: 8px 10px;
            }

            .date-actions {
                /*flex-direction: column;*/
                gap: 10px;
            }

            .date-btn {
                font-size: 1.2rem;
                padding: 10px 14px;
                width: 100%;
            }

            /* Mobile styles for transport options selector */
            .transport-options-display {
                font-size: 1.2rem;
                padding: 10px 14px;
            }

            .transport-options-dropdown {
                padding: 15px;
                width: 300px;
            }

            .transport-options-prompt {
                font-size: 1.2rem;
                margin-bottom: 15px;
            }
            
            .transport-options-sections {
                gap: 15px;
            }

            .transport-options-section-title {
                font-size: 1.2rem;
                margin-bottom: 8px;
                padding-bottom: 4px;
            }

            .transport-option {
                margin-bottom: 6px;
                padding: 6px;
            }

            .transport-option label {
                font-size: 1.1rem;
            }

            .transport-options-actions {
                /*flex-direction: column;*/
                gap: 10px;
            }

            .transport-options-btn {
                font-size: 1.2rem;
                padding: 10px 14px;
                width: 100%;
            }
        }

        /* Mobile dropdown positioning */
        @media (max-width: 767px) {
            .horse-count-dropdown {
                left: 0;
                right: auto;
                transform: none;
                width: 280px;
            }
            
            .date-dropdown {
                left: 50%;
                transform: translateX(-50%);
                right: auto;
                width: 320px;
            }
            
            .transport-options-dropdown {
                left: auto;
                right: 0;
                transform: none;
                width: 320px;
            }
        }

        /* Layout containers */

        /* Wrapper 1: Lokalizacje i data */
        .location-date-wrapper {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 00px;
        }

        /* Wrapper 2: Opcje i przycisk */
        .options-submit-wrapper {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* Wrapper 3: Ile koni i dodatkowe opcje */
        .options-flex-container {
            display: flex;
            gap: 15px;
        }

        .options-flex-container .form-group {
            flex: 1;
        }

        /* Desktop layout */
        @media (min-width: 768px) {
            /* Wrapper 1: 3 równe części obok siebie */
            .location-date-wrapper {
                flex-direction: row;
                gap: 20px;
                margin-bottom: 0px;
                height: 95px;
            }
            
            .location-date-wrapper .input-container,
            .location-date-wrapper .form-group {
                flex: 1;
            }
            
            /* Wrapper 2: Opcje i przycisk obok siebie */
            .options-submit-wrapper {
                flex-direction: row;
                align-items: flex-start;
                gap: 30px;
            }
            
            .options-flex-container {
                flex: 1;
                gap: 20px;
                padding-right: 14%;    
            }
            
            .submit-button {
                flex-shrink: 0;
                align-self: center;
            }
        }

        /* Mobile layout */
        @media (max-width: 767px) {
            /* Wrapper 1: Elementy jeden pod drugim */
            .location-date-wrapper {
                flex-direction: column;
                gap: 15px;
            }
            
            .location-date-wrapper .input-container,
            .location-date-wrapper .form-group {
                width: 100%;
            }
            
            /* Wrapper 2: Opcje nad przyciskiem */
            .options-submit-wrapper {
                flex-direction: column;
                gap: 20px;
            }
            
            /* Wrapper 3: Zawsze obok siebie */
            .options-flex-container {
                gap: 15px;
            }
            
            .options-flex-container .form-group {
                flex: 1;
            }
            
            .submit-button {
                width: 100%;
            }
        }

        .form-grup-ile {
            flex:0 !important;
        }

        /* Error and Success Messages */
        .error-messages {
            background: #fee;
            border: 2px solid #fcc;
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
            color: #c00;
        }

        .error-messages h3 {
            margin: 0 0 10px 0;
            color: #a00;
            font-size: 1.4rem;
        }

        .error-messages ul {
            margin: 0;
            padding-left: 20px;
        }

        .error-messages li {
            margin-bottom: 5px;
            font-size: 1.2rem;
        }

        .validation-error {
            background: #fff5f5;
            border: 2px solid #fed7d7;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            animation: slideDown 0.3s ease-out;
        }

        .validation-error .error-message {
            color: #c53030;
        }

        .validation-error .error-message h4 {
            margin: 0 0 10px 0;
            font-size: 1.4rem;
            font-weight: 600;
        }

        .validation-error .error-message ul {
            margin: 0;
            padding-left: 20px;
        }

        .validation-error .error-message li {
            margin-bottom: 5px;
            font-size: 1.25rem;
        }

        

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .success-message {
            background: #f0fff4;
            border: 2px solid #9ae6b4;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            color: #276749;
            animation: slideDown 0.3s ease-out;
        }

        .success-message h4 {
            margin: 0 0 10px 0;
            font-size: 1.4rem;
            font-weight: 600;
        }

        /* Field Error States */
        .field-error {
            border-color: #e53e3e !important;
            box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
            background: #fffafa !important;
        }

        .field-error:focus {
            border-color: #c53030 !important;
            box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.2) !important;
        }

        /* Date Display Error State */
        .date-display.field-error {
            border-color: #e53e3e !important;
            box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
            background: #fffafa !important;
        }

        /* Horse Count Display Error State */
        .horse-count-display.field-error {
            border-color: #e53e3e !important;
            box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
            background: #fffafa !important;
        }

        /* Transport Options Display Error State */
        .transport-options-display.field-error {
            border-color: #e53e3e !important;
            box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
            background: #fffafa !important;
        }


        
        /* Desktop layout */
        @media (min-width: 768px) {
            .error-messages h3 {
                font-size: 1.5rem;
            }
            .error-messages li {
                font-size: 1.4rem;
            }
            .validation-error .error-message h4 {
                font-size: 1.5rem;  
            }
            .validation-error .error-message li {
                font-size: 1.4rem;
            }
            .success-message h4 {
                font-size: 1.5rem;
            }

        }


        .podsumowanie_zapytania_wrapper {
            display: flex;
            flex-direction: column;
            gap: 30px;
            margin-bottom: 40px;
        }

        .podsumowanie_zapytania_wrapper h2 {
            font-size: 2.2rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 30px;
            text-align: center;
            border-bottom: 3px solid #e8f0e9;
            padding-bottom: 15px;
        }

        /* Summary Module Base Styles */
        .summary-module {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid #e8f0e9;
            position: relative;
        }


        .module-title {
            font-size: 1.6rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .module-value {
            font-size: 1.5rem;
            color: #333;
            line-height: 1.6;
            font-weight: 500;
        }

        /* Moduł 1: Trasa */
        .route-module {
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

        .route-module .module-title {
            margin-bottom: 10px;
        }

        .map-container {
            width: 100%;
            order: 1;
        }

        .map-container #map {
            height: 350px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border: 2px solid #e8f0e9;
        }

        .route-content {
            width: 100%;
            order: 2;
        }

        .route-display {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            background: #f8faf9;
            border-radius: 12px;
            border: 2px solid #e8f0e9;
            justify-content: center;
        }

        .location-box {
            flex: 1;
            text-align: center;
            padding: 20px;
            background: white;
            border-radius: 10px;
            border: 1px solid #e8f0e9;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .location-name {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 8px;
        }

        .location-details {
            font-size: 1.3rem;
            color: #666;
            font-weight: 400;
        }

        .route-arrow {
            flex-shrink: 0;
            color: #4a7c59;
            font-size: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #e8f2e9, #f8faf9);
            border-radius: 50%;
            border: 3px solid #4a7c59;
            box-shadow: 0 4px 15px rgba(74, 124, 89, 0.2);
        }

        /* Moduł 2: Data i liczba koni */
        .date-horses-module {
            display: flex;
            gap: 30px;
        }

        .date-section,
        .horses-section {
            flex: 1;
            padding: 25px;
            background: #f8faf9;
            border-radius: 12px;
            border: 1px solid #e8f0e9;
            text-align: center;
        }

        .date-section .module-title,
        .horses-section .module-title {
            margin-bottom: 5px;
            justify-content: center;
            font-size: 1.3rem;
            color: #666;
        }

        .date-section .module-value,
        .horses-section .module-value {
            font-size: 1.6rem;
            font-weight: 600;
            color: #2c5530;
        }

        /* Moduł 3: Opcje transportu */
        .transport-options-module {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .transport-type-section,
        .vehicle-type-section {
            padding: 20px;
            background: #f8faf9;
            border-radius: 6px;
            border: 1px solid #e8f0e9;
        }

        /* Option Tags (nowy system tagów) */
        .option-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 10px;
        }

        .option-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #728d75;
            color: white;
            padding: 6px 12px;
            border-radius: 5px;
            font-size: 1.4rem;
            font-weight: 600;
            box-shadow: 0;
            border: none;
            transition: all 0.3s ease;
        }

        .option-tag-small {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #728d75;
            color: white;
            padding: 2px 12px;
            border-radius: 5px;
            font-size: 1.4rem;
            font-weight: 600;
            box-shadow: 0;
            border: none;
            transition: all 0.3s ease;
            white-space: nowrap;
        }
        .option-tag-small .fas{
            color: white;
        }
        

        .option-tag:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
        }

        .option-tag i {
            font-size: 1.4rem;
            color: #ffffff;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .podsumowanie_zapytania_wrapper {
                gap: 20px;
            }

            .podsumowanie_zapytania_wrapper h2 {
                font-size: 1.8rem;
                margin-bottom: 20px;
            }

            .summary-module {
                padding: 0px;
                border-radius: 0px;
                box-shadow: none;
                border: none;
            }

            /* Moduł 1: Trasa na mobile */
            .route-module {
                gap: 15px;
            }

            .route-module .module-title {
                order: 0;
            }

            .map-container {
                order: 1;
                width: 100%;
            }

            .map-container #map {
                height: 250px;
            }

            .route-content {
                order: 2;
                width: 100%;
            }

            .route-display {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
            }

            .route-arrow {
                transform: rotate(90deg);
                width: 40px;
                height: 40px;
                font-size: 2rem;
            }

            .location-box {
                width: 100%;
                padding: 15px;
            }

            .location-name {
                font-size: 1.5rem;
            }

            .location-details {
                font-size: 1.2rem;
            }

            /* Moduł 2: Data i konie na mobile */
            .date-horses-module {
                flex-direction: row;
                gap: 15px;
            }

            .date-section,
            .horses-section {
                padding: 20px;
            }

            .module-title {
                font-size: 1.2rem;
                margin-bottom: 12px;
                color: #666;
            }

            .module-value {
                font-size: 1.4rem;
            }

            /* Opcje na mobile */
            .option-tags {
                gap: 8px;
            }

            .option-tag {
                font-size: 1.3rem;
                padding: 10px 15px;
            }

            .option-tag i {
                font-size: 1.1rem;
            }

            /* Form Mobile Styles */
            .form-actions {
                flex-direction: column-reverse;
                gap: 15px;
                margin-top: 30px;
                padding-top: 20px;
            }

            .button-secondary,
            .submit-button {
                width: 100%;
                text-align: center;
                margin: 0;
            }

            .checkbox-label {
                padding: 12px;
                font-size: 1.4rem;
            }

            .checkbox-label input[type="checkbox"] {
                width: 18px;
                height: 18px;
            }

            .form-label {
                font-size: 1.4rem;
            }

            .form-input,
            .form-select,
            .form-textarea {
                font-size: 1.4rem;
                padding: 10px 14px;
            }
        }

        /* Very small screens */
        @media (max-width: 380px) {
            .summary-module {
                padding: 0px;
            }

            .podsumowanie_zapytania_wrapper h2 {
                font-size: 1.6rem;
            }

            .module-title {
                font-size: 1.3rem;
            }

            .location-name {
                font-size: 1.4rem;
            }

            .option-tag {
                font-size: 1.2rem;
                padding: 8px 12px;
            }
            
            .date-horses-module {
                flex-direction: column;
                gap: 15px;
            }

            /* Very Small Form Styles */
            .form-actions {
                gap: 12px;
                margin-top: 25px;
                padding-top: 15px;
            }

            .checkbox-label {
                padding: 10px;
                font-size: 1.3rem;
            }

            .form-label {
                font-size: 1.3rem;
            }

            .form-input,
            .form-select,
            .form-textarea {
                font-size: 1.3rem;
                padding: 9px 12px;
            }

            .button-secondary,
            .submit-button {
                padding: 12px 25px;
                font-size: 1.4rem;
            }
        }

        
        /* ===== My Queries Details Styles (moje_szczegoly.tpl) ===== */

        /* Container główny */
        .my-queries-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Nagłówek strony */
        .page-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 20px;
            background: linear-gradient(135deg, #f8faf9, #e8f2e9);
            border-radius: 15px;
            border: 1px solid #e8f0e9;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 10px;
        }

        .meta-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #666;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        .meta-item i {
            color: #4a7c59;
        }

        .page-subtitle {
            margin-bottom: 0;
            font-size: 1.6rem;
            color: #666;
            line-height: 1.5;
            max-width: 700px;
            margin: 0 auto;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #4a7c59;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.5rem;
            transition: color 0.3s ease;
        }

        .back-link:hover {
            color: #2c5530;
            text-decoration: none;
        }

        /* Karty sekcji */
        .section-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid #f0f0f0;
            margin-bottom: 30px;
        }
 
        .section-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 2rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e8f0e9;
        }

        .section-title i {
            color: #4a7c59;
            font-size: 1.8rem;
        }

        .przewoznik-nowy-form .section-title {
            margin-top: 50px;
        }

        /* Sekcja trasy */
        .route-section {
            margin-bottom: 40px;
        }

        .route-details {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            margin-top: 25px;
            flex-wrap: wrap;
        }

        .location-card {
            background: #f8faf9;
            border: 2px solid #e8f0e9;
            border-radius: 12px;
            padding: 20px;
            min-width: 200px;
            text-align: center;
            transition: all 0.3s ease;
            flex: 1;;
            width: 100%;
        }

        .location-card:hover {
            background: white;
            border-color: #4a7c59;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }


        .location-info h4 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 10px;
        }

        .location-info p {
            font-size: 1.5rem;
            color: #666;
            margin: 0;
            word-break: break-word;
        }

        .route-arrow {
            font-size: 2rem;
            color: #4a7c59;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Szczegóły zapytania */
        .query-details-section {
            margin-bottom: 40px;
        }

        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .detail-group {
            background: #f8faf9;
            border: 1px solid #e8f0e9;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .detail-group:hover {
            background: white;
            border-color: #4a7c59;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .detail-group h4 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 15px;
        }

        .detail-value {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 1.5rem;
            color: #333;
            font-weight: 500;
        }

        .detail-value i {
            color: #4a7c59;
            font-size: 1.6rem;
        }

        /* Opcje transportu */
        .transport-options-section {
            margin-bottom: 40px;
        }

        .options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 25px;
        }

        .option-group {
            background: #f8faf9;
            border: 1px solid #e8f0e9;
            border-radius: 12px;
            padding: 25px;
            transition: all 0.3s ease;
        }

        .option-group:hover {
            background: white;
            border-color: #4a7c59;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .option-group h4 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 15px;
            text-align: center;
        }

        .option-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: left;
        }

        .option-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #728d75;
            color: white;
            padding: 8px 16px;
            font-size: 1.2rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .option-tag:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(114, 141, 117, 0.4);
        }

        .option-tag i {
            font-size: 1.2rem;
        }

        /* Komentarze */
        .comments-section {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 2px solid #e8f0e9;
        }

        .comments-section h4 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 15px;
        }

        .comments-text {
            background: #f8faf9;
            border: 1px solid #e8f0e9;
            border-radius: 10px;
            padding: 20px;
            font-size: 1.5rem;
            line-height: 1.6;
            color: #333;
        }

        /* Sekcja ofert */
        .offers-section {
            margin: 20px;
            margin-bottom: 40px;
        }

        .offers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
            gap: 25px;
            margin-top: 25px;
        }

        .offer-card {
            background: white;
            border: 2px solid #e8f0e9;
            border-radius: 12px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .offer-card:hover {
            border-color: #4a7c59;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .offer-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e8f0e9;
        }

        .company-info h4 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 5px;
        }

        .contact-person {
            font-size: 1.2rem;
            color: #666;
            margin: 0;
        }

        .offer-price {
            text-align: right;
        }

        .price {
            font-size: 1.8rem;
            font-weight: 700;
            color: #28a745;
        }

        .price-pending {
            font-size: 1.5rem;
            font-weight: 600;
            color: #ffc107;
        }

        .offer-details {
            margin-bottom: 20px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.5rem;
        }

        .contact-item i {
            color: #4a7c59;
            width: 20px;
        }

        .contact-item a {
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-item a:hover {
            color: #4a7c59;
            text-decoration: underline;
        }

        .offer-comments {
            background: #f8faf9;
            border: 1px solid #e8f0e9;
            border-radius: 8px;
            padding: 15px;
            margin: 15px 0;
        }

        .offer-comments h5 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 10px;
        }

        .offer-comments p {
            font-size: 1.5rem;
            line-height: 1.6;
            color: #333;
            margin: 0;
        }

        .offer-meta {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e8f0e9;
        }

        .offer-date {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.2rem;
            color: #666;
        }

        .offer-date i {
            color: #4a7c59;
        }

        .offer-actions {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .action-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .action-button.btn-primary {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
        }

        .action-button.btn-primary:hover {
            background: linear-gradient(135deg, #218838, #1fa188);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
            text-decoration: none;
            color: white;
        }

        .action-button.btn-secondary {
            background: #f8faf9;
            color: #4a7c59;
            border: 2px solid #4a7c59;
        }

        .action-button.btn-secondary:hover {
            background: #4a7c59;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
            text-decoration: none;
        }

        /* Brak ofert */
        .no-offers {
            text-align: center;
            padding: 60px 20px;
            background: #f8faf9;
            border: 2px dashed #e8f0e9;
            border-radius: 15px;
            margin-top: 25px;
        }

        .no-offers-icon {
            font-size: 4rem;
            color: #ccc;
            margin-bottom: 20px;
        }

        .no-offers h4 {
            font-size: 2rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 15px;
        }

        .no-offers p {
            font-size: 1.5rem;
            color: #666;
            line-height: 1.6;
            margin-bottom: 25px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Akcje strony */
        .page-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            margin-top: 40px;
            padding: 30px;
            background: #f8faf9;
            border-radius: 15px;
            border: 1px solid #e8f0e9;
        }

        /* Empty state */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            background: #f8faf9;
            border-radius: 20px;
            border: 2px dashed #e8f0e9;
            margin: 40px 0;
        }

        .empty-icon {
            font-size: 5rem;
            margin-bottom: 20px;
        }

        .empty-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 20px;
        }

        .empty-text {
            font-size: 1.5rem;
            color: #666;
            line-height: 1.6;
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        

        /* Responsive dla szczegółów */
        @media (max-width: 768px) {
            .my-queries-container {
                padding: 15px;
            }

            .page-title {
                font-size: 2rem;
            }
            

            .section-card {
                padding: 20px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .route-details {
                flex-direction: column;
                gap: 15px;
            }

            .route-arrow {
                transform: rotate(90deg);
            }

            .details-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .options-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .offers-grid {
                grid-template-columns: 1fr;
            }

            .page-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .action-button {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .page-header {
                padding: 20px 15px;
            }

            .meta-item,
            .back-link {
                font-size: 1.2rem;
            }

            .section-title {
                font-size: 1.6rem;
                flex-direction: column;
                gap: 8px;
                text-align: center;
            }

            .offer-header {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 15px;
            }

            .contact-info {
                align-items: center;
            }

            .offer-actions {
                justify-content: center;
            }
        }

        /* Success Page Styles */
        .success-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .success-icon {
            margin-bottom: 30px;
        }

        .success-title {
            font-size: 2.8rem;
            font-weight: 700;
            color: #2c5530;
            margin-bottom: 15px;
        }

        .success-subtitle {
            font-size: 1.6rem;
            color: #666;
            line-height: 1.5;
            max-width: 600px;
            margin: 0 auto;
        }

        .next-steps {
            margin: 40px 0;
            background: #f8faf9;
            padding: 30px;
            border-radius: 15px;
            border: 1px solid #e8f0e9;
        }

        .next-steps h3 {
            font-size: 2.2rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 25px;
            text-align: center;
        }

        .steps-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .steps-list li {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 15px;
            flex-direction: row;
            text-align: center;
            align-items: flex-start;
        }

        .steps-list li:last-child {
            margin-bottom: 0;
        }

        .step-number {
            background: #4a7c59;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 1.4rem;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .steps-list li span:not(.step-number) {
            font-size: 1.5rem;
            line-height: 1.5;
            color: #333;

        }

        .steps-list li strong {
            color: #2c5530;
            font-weight: 600;
        }

        .action-button.primary {
            background: #4a7c59;
            color: white;
            border: 2px solid #4a7c59;
        }

        .action-button.primary:hover {
            background: #2c5530;
            border-color: #2c5530;
            transform: translateY(-2px);
        }

        .action-button.secondary {
            background: white;
            color: #4a7c59;
            border: 2px solid #4a7c59;
        }

        .action-button.secondary:hover {
            background: #f8faf9;
            transform: translateY(-2px);
        }

        /* Responsive adjustments for success page */
        @media (max-width: 768px) {
            .success-title {
                font-size: 2.4rem;
            }

            .success-subtitle {
                font-size: 1.4rem;
            }

            .next-steps {
                padding: 20px;
                margin: 30px 0;
            }

            .next-steps h3 {
                font-size: 1.8rem;
            }

            .steps-list li {
                padding: 12px;
                flex-direction: row;
                text-align: center;
            }

            .step-number {
                margin-right: 0;
                margin-bottom: 10px;
            }

            .steps-list li span:not(.step-number) {
                font-size: 1.4rem;
            }
        }

        @media (max-width: 480px) {
            .success-title {
                font-size: 2rem;
            }

            .success-subtitle {
                font-size: 1.3rem;
            }

            .next-steps h3 {
                font-size: 1.6rem;
            }

            .steps-list li span:not(.step-number) {
                font-size: 1.3rem;
                text-align: left;
                margin-left: 6px;;
            }
        }

        /* Additional contact styles for success page */
        .transport-form-section .contact-info {
            margin: 40px 0;
            text-align: center;
            background: #f8faf9;
            padding: 30px;
            border-radius: 15px;
            border: 1px solid #e8f0e9;
            display: block;
        }

        .transport-form-section .contact-info h3 {
            font-size: 2.2rem;
            font-weight: 600;
            color: #2c5530;
            margin-bottom: 25px;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-width: 400px;
            margin: 0 auto;
        }

        .transport-form-section .contact-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-size: 1.6rem;
            color: #333;
            background: white;
            padding: 12px 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .transport-form-section .contact-item i {
            color: #4a7c59;
            width: 20px;
            font-size: 1.8rem;
        }

        /* Separatory między sekcjami w jednym polu */
        .section-card .route-section,
        .section-card .query-details-section,
        .section-card .transport-options-section {
            padding-bottom: 30px;
            margin-bottom: 30px;
            border-bottom: 1px solid #f0f0f0;
        }

        .section-card .transport-options-section {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        /* ===== Moje Queries List Styles (moje.tpl) ===== */

        /* Grid zapytań */
        .queries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        /* Karta zapytania */
        .query-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border: 1px solid #f0f0f0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            padding-top: 55px;
        }
        .query-card-details {
            flex-direction: row;
        }

        .query-card:hover {
            /* transform: translateY(-5px);  */
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
            border-color: #e8f0e9;
        }



        /* Nagłówek zapytania */
        .query-header {
            padding-bottom: 5px;
            font-weight: 600;
            background: #728d75;
            color: #fff;
            margin-bottom: 12px;
            display: inline-block;
            width: auto;
            position: absolute;
            width: 100%;
            left: 0;
            top: 0;
            padding: 10px 25px;
        }

        .query-header-wynajem {
            background: #9fb369;
        }

        .query-route {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }



        .query-route i {
            color: #4a7c59;
            font-size: 1.6rem;
        }

        .query-route .location {
            font-weight: 600;
            color: #2c5530;
            font-size: 1.5rem;
        }

        .query-route-arrow {
            color: #666;
            font-size: 1.4rem;
            margin: 0 8px;
        }

        .query-date {
            font-size: 1.3rem;
            color: #666;
            font-style: italic;
        }

        /* Szczegóły zapytania */
        .query-details {
            margin-bottom: 20px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
            font-size: 1.4rem;
            color: #333;
        }

        .detail-item:last-child {
            margin-bottom: 0;
        }

        .detail-icon {
            color: #4a7c59;
            width: 18px;
            font-size: 1.4rem;
        }

        /* Licznik ofert */
        .offers-count {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding: 15px;
            background: #f8faf9;
            border-radius: 10px;
            border: 1px solid #e8f0e9;
        }

        .offers-badge {
            background: #4a7c59;
            color: white;
            font-weight: 700;
            font-size: 1.8rem;
            padding: 8px 15px;
            border-radius: 20px;
            min-width: 40px;
            text-align: center;
        }

        .offers-text {
            font-size: 1.4rem;
            color: #666;
            font-weight: 500;
        }

        /* Akcje zapytania */
        .query-actions {
            display: flex;
            justify-content: flex-end;
        }

        .btn-secondary {
            background: white;
            color: #4a7c59;
            border: 2px solid #4a7c59;
        }

        .btn-secondary:hover {
            background: #4a7c59;
            color: white;
        }

        /* Footer strony */
        .page-footer {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            text-align: center;
            margin-top: 40px;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #4a7c59;
            color: white;
            padding: 15px 25px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            border: 2px solid #4a7c59;
        }

        .cta-button:hover {
            background: #2c5530;
            border-color: #2c5530;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            text-decoration: none;
            color: white;
        }

        .cta-button i {
            font-size: 1.4rem;
        }

        /* Responsive dla moje.tpl */
        @media (max-width: 768px) {
            .queries-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .query-card {
                padding: 20px;
                flex-direction: column;
            }
            
        .query-card-details {
            flex-direction: column;
        }

            .query-route {
                flex-direction: row;
                align-items: flex-start;
                gap: 8px;
                flex-wrap: wrap;
            }

            .offers-count {
                flex-direction: row;
                gap: 10px;
                text-align: center;
            }

            .page-footer {
                flex-direction: column;
                align-items: center;
            }

            .cta-button {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .query-card {
                padding: 15px;
            }

            .query-route .location {
                font-size: 1.4rem;
            }

            .detail-item {
                font-size: 1.3rem;
            }

            .offers-badge {
                font-size: 1.6rem;
                padding: 6px 12px;
            }

            .offers-text {
                font-size: 1.3rem;
            }

            .cta-button {
                font-size: 1.4rem;
                padding: 12px 20px;
            }
        }

        .action-buttons {
            text-align: center;
        }
        .action-buttons .action-button{
            margin-bottom: 6px;
        }

        /* Styles for deleted query card */
        .query-card-deleted {
            background-color: #f8f9fa;
            opacity: 0.7;
            position: relative;
            overflow: hidden;
        }

        .query-card-deleted:hover {
            opacity: 1;
        }

        .deleted-status-badge {
            position: absolute;
            top: 125px;
            right: -30px;
            background-color: #343a40;
            color: white;
            padding: 8px 40px;
            font-weight: 600;
            font-size: 1.2rem;
            transform: rotate(45deg);
            transform-origin: top right;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            z-index: 2;
        }

        .deleted-status-badge i {
            margin-right: 5px;
        }

        .query-card-deleted .query-header,
        .query-card-deleted .query-details,
        .query-card-deleted .query-route,
        .query-card-deleted .offers-count {
            transition: filter 0.3s ease;
            filter: saturate(0.3);
        }

        .query-card-deleted:not(:hover) .query-header,
        .query-card-deleted:not(:hover) .query-details,
        .query-card-deleted:not(:hover) .query-route,
        .query-card-deleted:not(:hover) .offers-count {
            filter: saturate(0) blur(1.1px);
        }

        
        .query-list-title  {
            display: block;
            white-space: nowrap;
            flex: 1;
        }
        /* Responsive adjustments for success page */
        @media (max-width: 768px) {
        .query-list-title  {
            display: block;
            white-space: nowrap;
            flex: 0 0 100%;
            margin-top: 24px;
        }
        }


        

/* Desktop layout */
@media (min-width: 768px) {
    .location-date-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        align-items: start;
    }
    .location-date-wrapper-wynajem {
        grid-template-columns: 1fr 1fr;
    }
    
    .options-flex-container {
        display: flex;
        gap: 20px;
    }
    
    .options-flex-container .form-group {
        flex: 1;
    }
}

/* Mobile layout */
@media (max-width: 767px) {
    .location-date-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .location-date-wrapper .input-container {
        width: 100%;
    }
    
    .location-date-wrapper .form-group {
        width: 100%;
    }
    
    .options-flex-container {
        display: flex;
        gap: 15px;
    }
    
    .options-flex-container .form-group {
        flex: 1;
        min-width: 0;
    }
}


.query-card-confirmation {
    box-shadow: none;
    border: none;
    padding: 0;
    border-radius: 0;
    overflow: auto;
    margin-top: 30px;
    margin-bottom: 40px;
    padding-top: 40px;
    padding-bottom: 20px;
    border-bottom:2px solid #8c948d;
    border-top:2px solid #8c948d;
}
.query-card-confirmation:hover {
    box-shadow: none;
    border: none;
    border-bottom:2px solid #8c948d;
    border-top:2px solid #8c948d;
    transform: none;
}

.query-list-title .detail-icon {
    width: 25px;
}

/* ===== Inline-to-class migrations for transport/index.tpl ===== */

/* Hero icon size variants */
.hero-icon-truck {
    font-size: 120%;
}

.hero-icon-horse {
    font-size: 70%;
}

/* Main service cards with hero background images */
.main-service-card--transport {
    position: relative;
    overflow: hidden;
    padding-top: 290px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 150px, #ffffff 290px), url('/img/trns_mrc.webp') center top no-repeat;
}

.main-service-card--rental {
    position: relative;
    overflow: hidden;
    padding-top: 290px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 150px, #ffffff 290px), url('/img/trns_key.webp') center top no-repeat;
}

/* Stronger title variant inside main service cards */
.main-service-card-title-boost {
    color: #1a4d2e;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.15;
}

/* Subtle login note text under CTAs */
.login-note {
    color: #999;
    margin-top: 20px;
}

/* Secondary service hero (partner) card layout */
.secondary-service-card--hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 320px;
}

.ssc-hero-text {
    padding: 34px;
    z-index: 2;
}

.ssc-hero-image {
    display: block;
    min-height: 320px;
    height: 320px;
    background: linear-gradient(to left, #f8faf900 60%, #f8faf9), url('/img/trns_agre.webp') center center / cover no-repeat;
    opacity: 0.2;
}

.cta-button-secondary{
    text-shadow: none !important;
}

@media screen and (max-width: 768px) {
    
    .ssc-hero-text{
    }
}
/* ===== Carrier panel top inline menu (przewoznik_panel.tpl) ===== */
.przewoznik-menu {
    padding: 10px 14px;
    background: #f5faf6;
    font-weight: 500;
    font-size: 1.45rem;
    display: block;

    line-height: 1.1;
    border: 1px solid #dbe6df;
    border-radius: 12px;
    margin-bottom: 24px;

}
.przewoznik-menu h1{
    display: block;
    margin-bottom: 12px;
}
.przewoznik-menu .przewoznik-menu-buttons{ 
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 6px;
}
.przewoznik-menu .przewoznik-menu-buttons a {
    align-items: center;
    padding: 10px 18px;
    padding-top: 13px;
    border-radius: 12px;
    text-decoration: none;
    color: #2c5530;
    background: #ffffff;
    border: 1px solid #dbe6df;
    box-shadow: 0 3px 8px rgba(0,0,0,0.04);
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.przewoznik-menu  .przewoznik-menu-buttons a:hover {
    background: #eaf3ed;
    color: #1f4627;
    box-shadow: 0 5px 14px rgba(0,0,0,0.08);
}

.przewoznik-menu .przewoznik-menu-buttons a:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Optional active state (add class="active" in tpl when needed) */
.przewoznik-menu .przewoznik-menu-buttons a.active {
    background: #e8f2e9;
    color: #2c5530;
    border: 2px solid #4a7c59;
    box-shadow: 0 6px 16px rgba(44,85,48,0.10);
    padding-top: 10px;
}

.przewoznik-menu .przewoznik-menu-buttons a.active:hover {
    background: #e0ede4;
}

.przewoznik-menu .przewoznik-menu-buttons a:focus-visible {
    outline: 3px solid rgba(74,124,89,0.5);
    outline-offset: 2px;
}

/* Compact layout on narrow screens */
@media (max-width: 560px) {
    .przewoznik-menu {
        gap: 10px;
        padding: 10px 10px 14px;
        font-size: 1.35rem;
    }
    .przewoznik-menu a {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
        padding: 10px 12px;
    }


@media (max-width: 380px) {
    .przewoznik-menu a {
        flex: 1 1 100%;
    }
}
    .ssc-hero-image {
        opacity:0.8;   
    }
}

/* ===== Carrier Panel (przewoznik_panel.tpl) custom list styles ===== */
/* New full-width list/grid wrapper for carrier queries. Keep old .queries-grid intact. */
.carrier-queries-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* New full-width card variant; do not alter existing .query-card */
.carrier-query-card {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e6ece7;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    transition: transform .15s ease, box-shadow .2s ease;
}

.carrier-query-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

/* Deleted/archived state for carrier card; keep names separate from old .query-card-deleted */
.carrier-query-card--deleted {
    background: #fafbfa;
    border-color: #e3e9e4;
    opacity: 0.85;
}

/* Ensure inner old classes still render nicely inside the new card */
.carrier-query-card .query-header {
    margin-top: 0;
}

.carrier-query-card .query-route {
    padding-top: 6px;
}

.carrier-query-card .offers-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

/* Make action row stick to the right on wider screens */
@media (min-width: 640px) {
    .carrier-query-card .offers-count {
        gap: 12px;
    }
    .carrier-query-card .query-actions {
        margin-left: auto;
    }
}

/* On very small screens, keep comfortable spacing */
@media (max-width: 480px) {
    .carrier-query-card {
        padding: 16px;
        border-radius: 12px;
    }
}

/* Inner content styles for carrier cards */
.carrier-deleted-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f2f5f3;
    color: #6b756c;
    border: 1px dashed #cfd7d1;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.carrier-query-header {
    font-weight: 700;
    color: #2c5530;
    margin: 4px 0 10px;
    letter-spacing: .3px;
}

.carrier-query-header--rental {
    color: #1f3f99;
}

.carrier-route {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c5530;
    font-weight: 600;
}

.carrier-location {
    background: #f5faf6;
    border: 1px solid #e3eee6;
    padding: 2px 8px;
    border-radius: 12px;
}

.carrier-route-arrow {
    color: #8aa592;
}

.carrier-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 12px;
}

.carrier-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #47544c;
}

.carrier-detail-icon {
    color: #4a7c59;
}

.carrier-offers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.carrier-offers-badge {
    background: #2c5530;
    color: #fff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-right: 8px;
}

.carrier-offers-text {
    color: #47544c;
}

.carrier-actions {
    margin-left: auto;
}

.carrier-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.carrier-action-button--secondary {
    background: #f3f7f5;
    color: #2c5530;
    border: 1px solid #e0e8e2;
}

.carrier-action-button--secondary:hover {
    background: #eaf2ed;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

@media screen and (max-width: 550px) {
    .secondary-service-card--hero {
        min-height: 450px;
    }
    .ssc-hero-image {
        min-height: 450px;
    background: linear-gradient(to left, #f8faf900 60%, #f8faf9), url('/img/trns_agre.jpeg') center center / cover no-repeat;
    }
}

@media screen and (max-width: 430px) {
    .secondary-service-card--hero {
        min-height: 500px;
    }
    .ssc-hero-image {
        min-height: 500px;
    background: linear-gradient(to left, #f8faf900 60%, #f8faf9), url('/img/trns_agre.jpeg') center center / cover no-repeat;
    }
}

@media screen and (max-width: 400px) {
    .secondary-service-card--hero {
        min-height: 540px;
    }
    .ssc-hero-image {
        min-height: 540px;
    width: 75%;
    background: linear-gradient(to left, #f8faf900 30%, #f8faf9), url('/img/trns_agre.jpeg') center center / cover no-repeat;
    }
}

@media screen and (max-width: 361px) {
    .secondary-service-card--hero {
        min-height: 580px;
    }
    .ssc-hero-image {
        min-height: 580px;
    width: 75%;
    background: linear-gradient(to left, #f8faf900 30%, #f8faf9), url('/img/trns_agre.jpeg') center center / cover no-repeat;
    }
}

/* ===== Carrier Query Details Styles (przewoznik_zobacz_transport.tpl) ===== */

/* Header section with query number and status */
.carrier-details-header {
    padding-bottom: 20px;
    border-bottom: 2px solid #e8f0e9;
    margin-bottom: 25px;
}

.detail-item-header {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5530;
}

.carrier-status-warning {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
}

.detail-item-warning {
    color: #856404;
    font-weight: 600;
}

.detail-item-info {
    color: #0c5460;
    margin-top: 10px;
}

/* Transport summary section */
.carrier-transport-summary {
    margin-bottom: 25px;
}

.carrier-summary-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5530;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.carrier-summary-title i {
    color: #4a7c59;
}

/* Section titles */
.carrier-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c5530;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8f0e9;
}

/* Route section */
.carrier-route-section {
    margin-bottom: 25px;
}

.carrier-route-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item-location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8faf9;
    border-radius: 10px;
    border-left: 4px solid #4a7c59;
}

.detail-icon-start {
    color: #28a745;
}

.detail-icon-end {
    color: #dc3545;
}

.location-label {
    font-weight: 600;
    color: #2c5530;
    min-width: 50px;
}

.location-value {
    font-weight: 700;
    color: #1a4d2e;
    font-size: 1.4rem;
}

/* Basic info section */
.carrier-basic-info {
    margin-bottom: 25px;
}

.carrier-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item-basic {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #fafbfa;
    border-radius: 8px;
}

.info-label {
    font-weight: 400;
    color: #47544c;
    min-width: 140px;
}

.info-value {
    font-weight: 700;
    color: #2c5530;
    font-size: 1.3rem;
}

/* Transport options section */
.carrier-transport-options {
    margin-bottom: 25px;
}

.carrier-options-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carrier-option-group {
    background: #f5faf6;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2ebe4;
}

.option-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.option-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Navigation section */
.carrier-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e8f0e9;
}

.detail-item-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item-nav .back-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

.detail-item-nav .back-link:hover {
    color: #2c5530;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .carrier-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .carrier-options-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .carrier-summary-title {
        font-size: 1.8rem;
    }
    
    .carrier-section-title {
        font-size: 1.4rem;
    }
    
    .detail-item-location {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .location-label {
        min-width: auto;
    }
}

/* ===== Rental-specific styles for przewoznik_zobacz_wynajem.tpl ===== */

/* Rental summary title with key icon */
.carrier-summary-title .fa-key {
    color: #1f3f99;
}

/* Single location display for rental */
.carrier-route-section .detail-item-location .detail-icon-start {
    color: #1f3f99;
}

/* Rental date range styling */
.carrier-info-grid .detail-item-basic:has(.info-label:contains("Data")) {
    border-left: 4px solid #1f3f99;
}

/* Duration highlighting */
.detail-item-basic:has(.info-label:contains("Długość")) .info-value {
    color: #1f3f99;
    font-weight: 800;
}

/* ===== Offer Response Form Styles (przewoznik_odpowiedz_transport.tpl) ===== */

/* Main form card styling */
.offer-form-card {
    border: 2px solid #4a7c59;
    background: linear-gradient(135deg, #fafbfa 0%, #f8faf9 100%);
}

/* Readonly sections (non-editable info) */
.offer-readonly-section {
    background: #f5f8f6;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ccc;
    margin-bottom: 25px;
}

.offer-readonly-section .carrier-section-title {
    color: #666;
}

/* Editable sections highlighting */
.offer-editable-section {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e8f2ea;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}

.offer-editable-section .carrier-section-title {
    color: #2c5530;
    border-bottom-color: #4a7c59;
}

/* Field groups */
.offer-field-group {
    margin-bottom: 20px;
}

.offer-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.offer-field-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0px;
}

/* Radio and checkbox options */
.offer-radio-option,
.offer-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.offer-radio-option:hover,
.offer-checkbox-option:hover {
    background: #f0f6f1;
}

.offer-radio-option input[type="radio"],
.offer-checkbox-option input[type="checkbox"] {
    margin: 0;
}

/* Custom inputs */
.offer-custom-input {
    margin-left: 10px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.3rem;
}

.offer-custom-input:disabled {
    background: #f5f5f5;
    color: #999;
}

/* Checkbox groups */
.offer-checkbox-group {
    margin-top: 10px;
    padding: 10px;
    background: #f8faf9;
    border-radius: 8px;
    border: 1px solid #e8f0e9;
}

/* Required selections styling */
.offer-client-request-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8f4f8;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    color: #0c5460;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.offer-client-request-info i {
    color: #17a2b8;
}

.offer-required-selection {
    margin-top: 10px;
}

.offer-selection-note {
    display: block;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.offer-required-group {
    background: #fff;
    border: 2px solid #e8f0e9;
    padding: 15px;
}

.offer-required-group.validation-error {
    border-color: #dc3545;
    background: #fff5f5;
}

.offer-checkbox-option .checkbox-text {
    font-weight: 600;
    color: #2c5530;
}

.offer-checkbox-option .checkbox-description {
    display: block;
    font-size: 1.1rem;
    color: #666;
    margin-top: 2px;
    margin-left: 20px;
}

.offer-validation-note {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
    font-size: 1.2rem;
    margin-top: 10px;
}

.offer-validation-note i {
    color: #dc3545;
}

/* Price section */
.offer-price-section {
    background: #fff9e6;
    border: 2px solid #ffcc02;
}

.offer-price-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-price-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e8f0e9;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: right;
}

.offer-price-input:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.offer-currency-select {
    padding: 12px 15px;
    border: 2px solid #e8f0e9;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    background: white;
}

.offer-price-negotiable {
    font-weight: 600;
    color: #2c5530;
}

/* Comments section */
.offer-comments-section {
    background: #f0f6f1;
    border: 2px solid #d4e6d7;
}

.offer-comments-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offer-comments-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8f0e9;
    border-radius: 10px;
    font-size: 1.4rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.offer-comments-textarea:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

/* Client notes section */
.offer-client-notes {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

/* Actions section */
.offer-actions-section {
    background: #e8f2ea;
    border: 2px solid #4a7c59;
}

.offer-actions-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.offer-submit-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(44, 85, 48, 0.3);
}

.offer-submit-button:hover {
    background: linear-gradient(135deg, #234726, #406d51);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 85, 48, 0.4);
}

.offer-cancel-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-cancel-button:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #adb5bd;
}

/* Responsive adjustments for offer form */
@media (max-width: 768px) {
    .offer-fields-grid {
        display: flex;
        flex-direction: column;
    }
    
    .offer-options-grid {
        display: flex;
        flex-direction: column;
    }
    
    .offer-price-row {
        align-items: stretch;
    }
    
    .offer-actions-buttons {
        flex-direction: column;
    }
    
    .offer-field-options {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .offer-submit-button,
    .offer-cancel-button {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
}

/* Przewoznik profile styles */
.przewoznik-profil-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.przewoznik-profil-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.przewoznik-profil-cta {
    margin-left: auto;
}

.przewoznik-main-call-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #4a7c59;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(74, 124, 89, 0.3);
}

.przewoznik-main-call-btn:hover {
    background: #3a6347;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 124, 89, 0.4);
}

.przewoznik-main-call-btn i {
    font-size: 1.8rem;
}

.przewoznik-profil-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a7c59 0%, #5a8b68 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.4rem;
    flex-shrink: 0;
}

.przewoznik-profil-info {
    flex: 1;
}

.przewoznik-profil-nazwa {
    margin: 0 0 8px 0;
    font-size: 2.4rem;
    font-weight: 700;
    color: #2c3e50;
}

.przewoznik-profil-lokalizacja {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 1.4rem;
}

.przewoznik-profil-kontakt,
.przewoznik-profil-oferta,
.przewoznik-profil-opis,
.przewoznik-profil-firma {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.przewoznik-profil-kontakt h3,
.przewoznik-profil-oferta h3,
.przewoznik-profil-opis h3,
.przewoznik-profil-firma h3 {
    margin: 0 0 20px 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}



.przewoznik-kontakt-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.przewoznik-kontakt-info {
    margin-bottom: 20px;
}

.przewoznik-kontakt-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.przewoznik-kontakt-item strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 60px;
}

.przewoznik-kontakt-link {
    color: #4a7c59;
    text-decoration: none;
    transition: color 0.2s ease;
}

.przewoznik-kontakt-link:hover {
    color: #2c5431;
    text-decoration: underline;
}

.przewoznik-kontakt-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.przewoznik-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.4rem;
    font-weight: 500;
}

.przewoznik-action-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.przewoznik-action-btn i {
    font-size: 1.6rem;
}

.przewoznik-action-btn span {
    font-size: 1.4rem;
}

.przewoznik-usluga-kategoria {
    margin-bottom: 25px;
}

.przewoznik-usluga-kategoria h4 {
    margin: 0 0 15px 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #4a7c59;
    display: flex;
    align-items: center;
    gap: 8px;
}

.przewoznik-pojazdy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.przewoznik-pojazd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.przewoznik-pojazd-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    color: #4a7c59;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.przewoznik-pojazd-info {
    flex: 1;
}

.przewoznik-pojazd-nazwa {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.4rem;
}

.przewoznik-pojazd-opis {
    color: #6c757d;
    font-size: 1.2rem;
}

.przewoznik-opis-tresc {
    line-height: 1.6;
    color: #495057;
    font-size: 1.4rem;
}

.przewoznik-firma-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.przewoznik-firma-item {
    font-size: 1.4rem;
    color: #495057;
}

.przewoznik-firma-item strong {
    color: #2c3e50;
    font-weight: 600;
}

@media (max-width: 768px) {
    .przewoznik-profil-container {
        padding: 15px;
    }
    
    .przewoznik-profil-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .przewoznik-profil-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .przewoznik-profil-nazwa {
        font-size: 2rem;
    }
    
    .przewoznik-social-actions {
        justify-content: center;
    }
    
    .przewoznik-call-btn {
        font-size: 1.4rem;
        padding: 10px 20px;
    }
    
    .przewoznik-pojazdy-grid {
        grid-template-columns: 1fr;
    }
    
    .przewoznik-profil-kontakt,
    .przewoznik-profil-oferta,
    .przewoznik-profil-opis,
    .przewoznik-profil-firma {
        padding: 20px;
    }
}

/* Info box styles */
.przewoznik-panel-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
    border: 1px solid #bbdefb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196f3;
}

.przewoznik-panel-info h4 {
    color: #1565c0;
    margin: 0 0 12px 0;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.przewoznik-panel-info h4 i {
    color: #2196f3;
    font-size: 1.4rem;
}

.przewoznik-panel-info p {
    color: #424242;
    margin: 0 0 8px 0;
    line-height: 1.5;
    font-size: 1.4rem;
}

.przewoznik-panel-info p:last-child {
    margin-bottom: 0;
}

.info-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #757575;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.info-close-btn:hover {
    background: rgba(33, 150, 243, 0.1);
    color: #1565c0;
    transform: scale(1.1);
}

.info-close-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .przewoznik-panel-info {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .przewoznik-panel-info h4 {
        font-size: 1.4rem;
        padding-right: 40px;
    }
    
    .przewoznik-panel-info p {
        font-size: 1.3rem;
    }
    
    .info-close-btn {
        top: 12px;
        right: 12px;
        font-size: 1.6rem;
        width: 28px;
        height: 28px;
    }
    
    .przewoznik-profil-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .przewoznik-profil-cta {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .przewoznik-main-call-btn {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
    
    .przewoznik-kontakt-actions {
        justify-content: center;
    }
    
    .przewoznik-action-btn {
        font-size: 1.3rem;
        padding: 8px 12px;
    }
}

.przewoznik-profil-oferta-wrapper {
    display: flex;
    gap: 20px;
}

.przewoznik-profil-oferta-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.przewoznik-profil-oferta-wrapper .przewoznik-profil-header,
.przewoznik-profil-oferta-wrapper .przewoznik-profil-kontakt {
    flex: 1 1 100%;
    height: 100%;
}



.przewoznik-profil-oferta-wrapper .przewoznik-profil-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.przewoznik-profil-oferta-wrapper .przewoznik-profil-cta{
    margin: 0;
    margin-top: 25px;
}

.przewoznik-profil-oferta-wrapper .przewoznik-profil-oferta-header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.przewoznik-profil-oferta-wrapper .przewoznik-action-btn{
    color: #555;
    padding: 12px 20px;
    width: 45px;
    height: 45px;
        text-align: center;
        align-content: center;
        justify-content: center;
        text-align: center;

}
.przewoznik-profil-oferta-wrapper .przewoznik-action-btn--call {
    background: #4a7c59;
    color: #fff;
    width: 135px;
} 



@media (max-width: 768px) {
    .przewoznik-profil-oferta-wrapper {
        flex-direction: column;
        gap: 20px;
    }   
    .przewoznik-profil-oferta-wrapper .przewoznik-profil-header {
        margin-bottom: 0;
    }

    .przewoznik-profil-oferta-wrapper .przewoznik-action-btn {
        width: 50px;
        height: 50px;
    }
    .przewoznik-profil-oferta-wrapper .przewoznik-action-btn--call {
     font-size: 1.4rem;
    padding: 12px 20px;
    width: 50%;
    }

    .przewoznik-profil-oferta-wrapper .przewoznik-profil-cta{
        margin: 0 auto;
    }
}