 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1600px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
            color:#003366;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            color: #003366;
        }
        .h1color {
            color: #003366 !important;
        }
        

        .header p {
            font-size: 1.1em;
            opacity: 0.95;
            color: #003366;
        }

        .badge {
            display: inline-block;
            background: rgba(255,255,255,0.2);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9em;
            margin-top: 10px;
            color:#003366;
        }

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

        .calculator-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .map-container {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            height: 600px;
        }

        #map {
            width: 100%;
            height: 100%;
            border-radius: 10px;
        }

        .input-section {
            margin-bottom: 25px;
        }

        .input-group {
            margin-bottom: 20px;
            position: relative;
        }

        label {
            font-weight: 600;
            margin-bottom: 8px;
            color: #333;
            font-size: 0.95em;
            display: block;
        }

        input, select {
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1em;
            transition: all 0.3s;
            width: 100%;
        }

        input:focus, select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .autocomplete-suggestions {
            position: absolute;
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            max-height: 300px;
            overflow-y: auto;
            z-index: 10000;
            width: 100%;
            display: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            margin-top: 5px;
            pointer-events: auto; /* Önemli! */
        }

        .autocomplete-suggestions.show {
            display: block;
            pointer-events: auto; /* Önemli! */
        }

        .suggestion-item {
            padding: 12px 15px;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid #f0f0f0;
            user-select: none; /* Seçim engelini kaldır */
            pointer-events: auto; /* Önemli! */
        }

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

        .suggestion-item:hover {
            background: #f5f5ff;
        }

        .suggestion-item:active {
            background: #e5e5ff;
        }

        .suggestion-main {
            font-weight: 600;
            color: #333;
            font-size: 0.95em;
        }

        .suggestion-sub {
            font-size: 0.85em;
            color: #666;
            margin-top: 3px;
        }

        .suggestion-extra {
            font-size: 0.75em;
            color: #999;
            margin-top: 2px;
        }

        .loading-indicator {
            position: absolute;
            right: 15px;
            top: 40px;
            color: #667eea;
        }

        .button-group {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        button {
            flex: 1;
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .calculate-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .calculate-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .calculate-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .reset-btn {
            background: #f0f0f0;
            color: #333;
        }

        .reset-btn:hover {
            background: #e0e0e0;
        }

        .popular-routes {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
        }

        .popular-routes h4 {
            color: #666;
            font-size: 0.95em;
            margin-bottom: 10px;
        }

        .route-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .route-chip {
            background: #f5f5f5;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9em;
            cursor: pointer;
            transition: all 0.3s;
        }

        .route-chip:hover {
            background: #667eea;
            color: white;
        }

        .info-box-compact {
            background: white;
            padding: 18px 20px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.25);
            min-width: 280px;
            font-size: 0.95em;
            border: 3px solid #667eea;
        }

        .info-box-compact h4 {
            font-size: 1.1em;
            color: #667eea;
            margin-bottom: 12px;
            border-bottom: 2px solid #667eea;
            padding-bottom: 8px;
            font-weight: 700;
        }

        .compact-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            font-size: 0.9em;
            border-bottom: 1px solid #f0f0f0;
        }

        .compact-row:last-child {
            border-bottom: none;
        }

        .compact-label {
            color: #555;
            font-weight: 500;
        }

        .compact-value {
            color: #333;
            font-weight: 700;
        }

        .transit-row {
            background: #f8f9ff;
            padding: 8px 10px;
            margin: 4px -10px;
            border-radius: 6px;
        }

        .sea-row {
            background: #e3f2fd;
        }

        .land-row {
            background: #e8f5e9;
        }

        .air-row {
            background: #fff3e0;
        }

        .results-section {
            display: none;
            margin-top: 20px;
        }

        .results-section.show {
            display: block;
        }

        .route-header {
            background: white;
            border-radius: 15px;
            padding: 25px 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            margin-bottom: 20px;
        }

        .route-title-main {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .route-title-main h2 {
            font-size: 1.8em;
            margin-bottom: 10px;
        }

        .route-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }

        .stat-box {
            background: rgba(255, 255, 255, 0.2);
            padding: 15px;
            border-radius: 8px;
        }

        .stat-box strong {
            display: block;
            font-size: 0.9em;
            margin-bottom: 5px;
            opacity: 0.9;
        }

        .stat-box span {
            font-size: 1.3em;
            font-weight: 600;
        }

        .transport-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .transport-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
        }

        .transport-card:hover:not(.unavailable) {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .transport-card.unavailable {
            opacity: 0.6;
            background: #f5f5f5;
        }

        .transport-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
        }

        .sea-card::before {
            background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
        }

        .land-card::before {
            background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
        }

        .air-card::before {
            background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
        }

        .card-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .card-icon {
            font-size: 3em;
            margin-right: 15px;
        }

        .card-title h3 {
            font-size: 1.4em;
            color: #333;
            margin-bottom: 5px;
        }

        .card-subtitle {
            color: #666;
            font-size: 0.95em;
        }

        .card-stats {
            margin-top: 20px;
        }

        .card-stat-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .card-stat-row:last-child {
            border-bottom: none;
        }

        .card-stat-label {
            color: #666;
            font-weight: 500;
        }

        .card-stat-value {
            color: #333;
            font-weight: 600;
        }

        .fastest-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
        }

        .unavailable-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #999;
            color: white;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
        }

        .error-message {
            background: #fee;
            border: 2px solid #fcc;
            color: #c33;
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
        }

        @media (max-width: 1400px) {
            .transport-cards {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 1200px) {
            .main-content {
                grid-template-columns: 1fr;
            }

            .map-container {
                height: 500px;
            }

            .route-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }