        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }

        .container {
            max-width: 480px;
            margin: 0 auto;
            background: white;
            min-height: 100vh;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow-x: hidden;
        }

        /* Header Styles */
        .header {
            background: linear-gradient(to right, #2e7d32, #4caf50);
            color: white;
            padding: 15px 20px;
            text-align: center;
            position: relative;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            font-size: 24px;
        }

        .logo h1 {
            font-size: 20px;
            font-weight: 600;
        }

        .back-btn {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
        }

        /* Notification Bell */
        .notification {
            position: relative;
        }

        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #ff5722;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Banner Styles */
        .banner {
            background: linear-gradient(to right, #1565c0, #2196f3);
            color: white;
            padding: 15px;
            margin: 15px;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .banner::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(25deg);
            z-index: 1;
        }

        .banner-content {
            position: relative;
            z-index: 2;
        }

        .banner h2 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .banner p {
            font-size: 14px;
            margin-bottom: 15px;
            opacity: 0.9;
        }

        .banner-btn {
            background-color: #ff9800;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 25px;
            font-weight: 600;
            width: 100%;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 6px rgba(255, 152, 0, 0.3);
        }

        .banner-btn:hover {
            background-color: #f57c00;
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(255, 152, 0, 0.4);
        }

        .banner-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
        }

        /* Services Section */
        .services-section {
            padding: 10px 15px;
        }

        .section-title {
            text-align: center;
            margin: 20px 0;
            color: #2e7d32;
            font-size: 20px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: linear-gradient(to right, #2e7d32, #4caf50);
            border-radius: 3px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 10px;
        }

        .service-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            text-align: center;
            padding: 20px 15px;
            border: 1px solid #e0e0e0;
            position: relative;
        }

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

        .service-icon {
            background: linear-gradient(to right, #2e7d32, #4caf50);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            margin: 0 auto 15px;
            transition: all 0.3s;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
        }

        .service-content h3 {
            color: #2e7d32;
            margin-bottom: 10px;
            font-size: 16px;
        }

        .service-content p {
            color: #666;
            font-size: 13px;
            line-height: 1.4;
        }

        /* Promotion Section */
		
		.promotion {
			background: linear-gradient(to right, #e8f5e9, #c8e6c9);
			padding: 20px;
			margin: 10px; /* Üst-alt boşluk azaldı */
			border-radius: 12px;
			text-align: center;
			border: 1px dashed #4caf50;
			position: relative;
			max-width: 400px;       /* Orta hizalı kutu */
		}



        .promotion h3 {
            color: #2e7d32;
            margin-bottom: 10px;
        }

        .promotion p {
            color: #666;
            font-size: 14px;
            margin-bottom: 15px;
        }

        /* Map Container */
        .map-container {
            display: none;
            height: 500px;
            margin: 15px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        #map {
            width: 100%;
            height: 100%;
        }

        .map-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, #e8f5e9, #c8e6c9);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            color: #2e7d32;
        }

        .map-placeholder i {
            font-size: 48px;
            margin-bottom: 15px;
        }

        .map-controls {
            position: absolute;
            bottom: 15px;
            left: 15px;
            right: 15px;
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .map-btn {
            background: white;
            border: none;
            padding: 10px 15px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 5px;
            z-index: 1000;
        }

        /* Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            width: 100%;
            max-width: 480px;
            display: flex;
            background-color: white;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }

        .nav-item {
            flex: 1;
            text-align: center;
            padding: 12px 0;
            color: #666;
            font-size: 12px;
            transition: all 0.3s;
            position: relative;
            cursor: pointer;
        }

        .nav-item.active {
            color: #2e7d32;
        }

        .nav-item.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, #2e7d32, #4caf50);
        }

        .nav-item i {
            display: block;
            font-size: 20px;
            margin-bottom: 4px;
            transition: transform 0.3s;
        }

        .nav-item:hover i {
            transform: translateY(-2px);
        }

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

        .service-card {
            animation: fadeIn 0.5s ease-out forwards;
        }

        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }

        /* Responsive Adjustments */
        @media (max-width: 400px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .logo h1 {
                font-size: 18px;
            }
            
            .banner h2 {
                font-size: 16px;
            }

            .map-container {
                height: 400px;
            }
        }

        /* User Info */
        .user-info {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background: #f1f8e9;
            border-bottom: 1px solid #c5e1a5;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(to right, #2e7d32, #4caf50);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
            margin-right: 10px;
        }

        .user-details {
            flex: 1;
        }

        .user-name {
            font-weight: 600;
            color: #2e7d32;
        }

        .user-status {
            font-size: 12px;
            color: #666;
        }



        /* Login Page Styles */
        .login-container {
            display: none;
            padding: 20px;
            animation: fadeIn 0.5s ease-out;
        }

        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .login-logo {
            font-size: 40px;
            color: #2e7d32;
            margin-bottom: 15px;
        }

        .login-title {
            color: #2e7d32;
            font-size: 24px;
            margin-bottom: 10px;
        }

        .login-subtitle {
            color: #666;
            font-size: 14px;
        }

        .login-form {
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 500;
        }

        .form-input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s;
        }

        .form-input:focus {
            outline: none;
            border-color: #4caf50;
            box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
        }

        .password-toggle {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            cursor: pointer;
        }

        .login-btn {
            background: linear-gradient(to right, #2e7d32, #4caf50);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

        .login-btn:hover {
            background: linear-gradient(to right, #1b5e20, #388e3c);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .login-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            font-size: 14px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .forgot-password {
            color: #2e7d32;
            text-decoration: none;
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        .register-link {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: #666;
        }

        .register-link a {
            color: #2e7d32;
            text-decoration: none;
            font-weight: 600;
        }

        .register-link a:hover {
            text-decoration: underline;
        }

        .login-footer {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            color: #666;
            font-size: 12px;
        }


		/* Tarla Detay Sayfası Stilleri */
		.field-detail-container {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: white;
			z-index: 1000;
			overflow-y: auto;
		}

		.detail-header {
			background: linear-gradient(to right, #2e7d32, #4caf50);
			color: white;
			padding: 15px 20px;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}

		.detail-header h2 {
			font-size: 18px;
			font-weight: 600;
		}

		.header-actions i {
			font-size: 20px;
		}

		/* Tab Stilleri */
		.tabs-container {
			background: white;
			box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		}

		.tabs {
			display: flex;
			justify-content: space-around;
			border-bottom: 1px solid #e0e0e0;
		}

		.tab {
			padding: 12px 0;
			text-align: center;
			flex: 1;
			cursor: pointer;
			color: #666;
			font-size: 12px;
			transition: all 0.3s;
			border-bottom: 3px solid transparent;
		}

		.tab.active {
			color: #2e7d32;
			border-bottom: 3px solid #2e7d32;
		}

		.tab i {
			display: block;
			font-size: 20px;
			margin-bottom: 5px;
		}

		/* Tab İçerik Stilleri */
		.tab-content {
			padding: 20px;
		}

		.tab-pane {
			display: none;
		}

		.tab-pane.active {
			display: block;
			animation: fadeIn 0.5s;
		}

		.tab-inner {
			background: #f8f9fa;
			padding: 15px;
			border-radius: 10px;
			margin-bottom: 15px;
		}

		.tab-inner h3 {
			color: #2e7d32;
			margin-bottom: 10px;
		}

		.tab-inner p {
			color: #666;
			margin-bottom: 15px;
		}

		/* Uydu Görünümü */
		.satellite-image {
			text-align: center;
			padding: 20px;
			color: #2e7d32;
		}

		.satellite-image i {
			margin-bottom: 10px;
		}

		/* Hava Durumu */
		.weather-forecast {
			display: flex;
			justify-content: space-around;
			margin-top: 15px;
		}

		.weather-day {
			text-align: center;
			padding: 10px;
			background: white;
			border-radius: 8px;
			box-shadow: 0 2px 4px rgba(0,0,0,0.1);
		}

		.weather-day i {
			font-size: 24px;
			color: #ff9800;
			margin: 5px 0;
		}

		/* Toprak İstatistikleri */
		.soil-stats {
			display: flex;
			justify-content: space-around;
			margin-top: 15px;
		}

		.stat {
			text-align: center;
			padding: 15px;
			background: white;
			border-radius: 8px;
			box-shadow: 0 2px 4px rgba(0,0,0,0.1);
			flex: 1;
			margin: 0 5px;
		}

		.stat-label {
			display: block;
			color: #666;
			font-size: 14px;
		}

		.stat-value {
			display: block;
			color: #2e7d32;
			font-size: 18px;
			font-weight: bold;
			margin-top: 5px;
		}

		/* Kontrol Butonları */
		.control-buttons {
			display: flex;
			justify-content: space-around;
			margin-top: 15px;
		}

		.control-btn {
			display: flex;
			flex-direction: column;
			align-items: center;
			padding: 15px;
			background: white;
			border: 1px solid #e0e0e0;
			border-radius: 8px;
			cursor: pointer;
			transition: all 0.3s;
			flex: 1;
			margin: 0 5px;
		}

		.control-btn:hover {
			background: #e8f5e9;
			border-color: #4caf50;
		}

		.control-btn i {
			font-size: 24px;
			color: #2e7d32;
			margin-bottom: 5px;
		}

		.control-btn span {
			font-size: 12px;
			color: #333;
		}
/* Hava Durumu Stilleri */
.weather-detail {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.hour-item {
    min-width: 80px;
    text-align: center;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}		

/* Uydu Görüntüsü Stilleri */
.date-selector {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.date-selector select {
    background: white;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
}

.date-selector select:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.vejetasyon-stats {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
}

.vejetasyon-stat {
    text-align: center;
    padding: 10px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}



/* Uydu Kontrol Butonları - Yan Yana */
.control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-height: 70px;
    justify-content: center;
    min-width: 60px;
}

.control-btn:hover {
    background: #f8f9fa;
    border-color: #4caf50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.control-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.control-btn i {
    font-size: 20px;
    color: #2e7d32;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.control-btn:hover i {
    transform: scale(1.2);
}

.control-btn span {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
}

/* Buton renkleri */
.control-btn[onclick*="normal"]:hover {
    border-color: #4caf50;
}

.control-btn[onclick*="sulama"]:hover {
    border-color: #2196f3;
}

.control-btn[onclick*="tav"]:hover {
    border-color: #ff9800;
}

.control-btn[onclick*="gelisim"]:hover {
    border-color: #9c27b0;
}

/* Aktif buton stilleri */
.control-btn.active[onclick*="normal"] {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.control-btn.active[onclick*="sulama"] {
    background: #2196f3;
    border-color: #2196f3;
    color: white;
}

.control-btn.active[onclick*="tav"] {
    background: #ff9800;
    border-color: #ff9800;
    color: white;
}

.control-btn.active[onclick*="gelisim"] {
    background: #9c27b0;
    border-color: #9c27b0;
    color: white;
}

.control-btn.active i {
    color: white;
}

.control-btn.active span {
    color: white;
}

/* Responsive düzenleme */
@media (max-width: 400px) {
    .control-buttons > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    
    .control-btn {
        min-height: 60px;
        padding: 10px 6px;
    }
    
    .control-btn i {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .control-btn span {
        font-size: 11px;
    }
}


/* Aktif buton için ek stil */
.control-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Sipariş Sayfası Stilleri */
.machine-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.machine-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.machine-item img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.rent-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.rent-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mavi makine butonu */
.machine-item:nth-child(2) .rent-btn {
    background: #2196f3;
}

.machine-item:nth-child(2) .rent-btn:hover {
    background: #1976d2;
}

/* Kırmızı makine butonu */
.machine-item:nth-child(3) .rent-btn {
    background: #f44336;
}

.machine-item:nth-child(3) .rent-btn:hover {
    background: #d32f2f;
}


/* Sipariş Sayfası Stilleri */
.product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #2e7d32;
    text-align: center;
    padding: 10px 10px 5px;
    margin: 0;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #e65100;
    text-align: center;
    padding: 0 10px 10px;
    margin: 0;
}

.product-features {
    padding: 0 10px;
    margin-bottom: 10px;
    flex-grow: 1;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #555;
    font-size: 13px;
}

.feature i {
    margin-right: 8px;
    color: #2e7d32;
    width: 16px;
    font-size: 14px;
}

.order-btn {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 10px 10px;
    border-radius: 4px;
}

.order-btn:hover {
    background: #1b5e20;
}

/* Farklı renkler için buton stilleri */
.product-card:nth-child(2) .order-btn {
    background: #1976d2;
}

.product-card:nth-child(2) .order-btn:hover {
    background: #1565c0;
}

.product-card:nth-child(2) .feature i {
    color: #1976d2;
}

.product-card:nth-child(3) .order-btn {
    background: #d32f2f;
}

.product-card:nth-child(3) .order-btn:hover {
    background: #c62828;
}

.product-card:nth-child(3) .feature i {
    color: #d32f2f;
}

/* Responsive tasarım */
@media (max-width: 900px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-container {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        max-width: 320px;
        margin: 0 auto;
    }
}
/* Slider stilleri */
.products-wrapper {
    width: 100%;
}

.desktop-view {
    display: grid;
}

.mobile-view {
    display: none;
}

.swiper {
    width: 100%;
    padding: 10px 30px 40px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;
}

.swiper-button-next, 
.swiper-button-prev {
    color: #2e7d32;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: #2e7d32;
}

/* Responsive tasarım */
@media (max-width: 900px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }
    
    .mobile-view {
        display: block;
    }
    
    .product-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .swiper {
        padding: 10px 20px 40px;
    }
}

/* Karekod Okuma Butonu Stilleri */
.qr-scan-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.qr-scan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(to right, #2e7d32, #4caf50);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
}

.qr-scan-btn:hover {
    background: linear-gradient(to right, #1b5e20, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.qr-result {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qr-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.qr-video-container video {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

.qr-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
}

/* QR sonuç bölümü için ek stil */
.qr-result h4 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.qr-result p {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* =======================
   Mergen Görünümü
======================= */
.mergen-container {
    display: none;
    padding: 20px;
    background: #f8f9fa;
    height: 500px;
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mergen-header h2 {
    font-size: 20px;
    color: #2e7d32;
    margin-bottom: 15px;
}

.mergen-content {
    font-size: 14px;
    color: #333;
}

.mergen-actions {
    margin-top: 20px;
}

.mergen-btn {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.mergen-btn:hover {
    background: #388e3c;
}


/* Mergen Analiz Alanı */
.mergen-container {
    padding: 20px;
    background: #f8f9fa;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.mergen-content {
    text-align: center;
    margin-top: 20px;
}

.info-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.upload-section {
    margin-bottom: 20px;
}

.mergen-btn {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.mergen-btn:hover {
    background: #388e3c;
}

.preview-container {
    margin: 20px 0;
}

.preview-container img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.analyze-btn {
    background: #ff9800;
}

.analyze-btn:hover {
    background: #f57c00;
}

.result-container {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.result-container h3 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.result-container p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* =======================
   İmece Alanı Stilleri
======================= */
.imece-container {
    padding: 20px;
    background: #f8f9fa;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.imece-header h2 {
    font-size: 22px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.imece-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

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

.imece-section h3 {
    font-size: 18px;
    color: #4caf50;
    margin-bottom: 10px;
}

#announcementList {
    list-style: none;
    padding: 0;
}

#announcementList li {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

textarea#newAnnouncement {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: none;
    font-size: 14px;
    margin-bottom: 10px;
}

.imece-btn {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.imece-btn:hover {
    background: #388e3c;
}

/* =======================
   İmece Alanı Stilleri
======================= */
.imece-container {
    padding: 20px;
    background: #f8f9fa;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.imece-header h2 {
    font-size: 22px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.imece-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

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

.imece-section h3 {
    font-size: 18px;
    color: #4caf50;
    margin-bottom: 10px;
}

#announcementList {
    list-style: none;
    padding: 0;
}

#announcementList li {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

textarea#newAnnouncement {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: none;
    font-size: 14px;
    margin-bottom: 10px;
}

.imece-btn {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.imece-btn:hover {
    background: #388e3c;
}


/* Analiz Sonucu Kart Tasarımı */
.analysis-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    line-height: 1.6;
    color: #333;
    font-size: 14px;
    animation: fadeIn 0.3s ease-in-out;
}

.analysis-card h4 {
    margin-bottom: 10px;
    color: #2e7d32;
    font-size: 16px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.analysis-card p {
    margin: 5px 0;
}

.analysis-card.error {
    border: 1px solid #f44336;
    color: #f44336;
    background: #ffe6e6;
}


/* Modal Arka Planı */
.analysis-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in-out;
}

/* Modal İçeriği */
.analysis-modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: slideDown 0.4s ease;
}

/* Başlık */
.analysis-modal-content h3 {
    color: #2e7d32;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

/* Kapatma Butonu */
.analysis-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
}

.analysis-close:hover {
    color: #f44336;
}

/* İçerik */
#analysisModalBody p {
    line-height: 1.6;
    font-size: 14px;
    color: #333;
    margin: 8px 0;
}

/* Animasyonlar */
@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.close-btn {
    background-color: #2e7d32;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: #256828;
}

#imeceTable {
    border-collapse: collapse;
    font-size: 14px;
}

#imeceTable th, #imeceTable td {
    padding: 8px;
    border: 1px solid #ddd;
}

#imeceTable tr:nth-child(even) {
    background: #f9f9f9;
}

#imeceTable tr:hover {
    background: #e8f5e9;
}


#imeceDetailModal {
    display: none;
    align-items: center;
    justify-content: center;
}

#imeceDetailModal .modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

/* Modal responsive */
#addImeceModal {
    display: none;
    align-items: center;
    justify-content: center;
}

#addImeceModal .form-group {
    margin-bottom: 12px;
}

/* Mobil uyum */
@media (max-width: 600px) {
    #addImeceModal .form-group input,
    #addImeceModal .form-group textarea,
    #addImeceModal .form-group select {
        font-size: 14px;
    }
}

/* Tablo için kaydırma alanı */
.table-wrapper {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Tablo stilleri */
#imeceTable {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Yatay kaydırma için minimum genişlik */
}

#imeceTable th, #imeceTable td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    white-space: nowrap; /* Tüm sütunların tek satırda kalması */
}

#imeceTable tr:nth-child(even) {
    background: #f9f9f9;
}

#imeceTable tr:hover {
    background: #e8f5e9;
}

/* Scrollbar özelleştirme */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.imece-filter-btn.active {
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    transform: scale(1.05);
}


/* Sekme genel alanı */
.imece-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    overflow-x: auto;
}

/* Sekme öğeleri */
.imece-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.imece-tab:hover {
    background: #f1f8e9;
}

.imece-tab.active {
    color: #2e7d32;
    font-weight: bold;
    border-bottom: 3px solid #2e7d32;
}

/* Mobil uyum */
@media (max-width: 600px) {
    .imece-tab {
        font-size: 12px;
        padding: 8px;
    }
}


/* Üst başlık alanı */
.imece-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

/* Buton Stili */
.imece-add-btn {
    background: linear-gradient(to right, #2e7d32, #4caf50);
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.imece-add-btn:hover {
    background: linear-gradient(to right, #1b5e20, #388e3c);
    transform: scale(1.05);
}

/* Mobil uyum */
@media (max-width: 600px) {
    .imece-header {
        flex-direction: column;
        gap: 10px;
    }

    .imece-add-btn {
        width: 100%;
        text-align: center;
    }
}


/* ===== Kanban Görev Alanı ===== */
/* ===== Kanban Görev Alanı ===== */
.kanban-container {
    padding: 10px;
    overflow-x: auto;
}

.kanban-board {
    display: flex;
    gap: 10px;
    min-width: 100%;
}

.kanban-column {
    background: #f1f8e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 10px;
    width: 150px;
    flex-shrink: 0;
}

.kanban-column h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #2e7d32;
}

.kanban-tasks {
    min-height: 200px;
    padding: 5px;
    background: white;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
    margin-bottom: 5px;
}

.task-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.add-task-btn {
    width: 100%;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-task-btn:hover {
    background: #388e3c;
}
.modal-content select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.task-card.pending {
    border-left: 5px solid orange;
}

.task-card.done {
    border-left: 5px solid green;
    text-decoration: line-through;
}

.task-card.cancelled {
    border-left: 5px solid red;
    opacity: 0.6;
}

.add-task-btn {
    background: #4caf50;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}
.add-task-btn:hover {
    background: #388e3c;
}
/* Modal */
.modal{
  position: fixed;
  inset: 0;               /* top:0; right:0; bottom:0; left:0 */
  display: none;          /* JS ile flex yapılacak */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.6);
  z-index: 2000;          /* bottom-nav üstünde */
}
.modal-content{
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.modal-content h3{ margin-bottom: 10px; color:#2e7d32; }
.modal-content input, .modal-content select{
  width: 100%;
  padding: 10px;
  margin: 8px 0 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.modal-actions{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cancel-btn{
  background:#ccc; color:#333; border:none; padding:10px 14px; border-radius:6px; cursor:pointer;
}
.save-btn{
  background:#4caf50; color:#fff; border:none; padding:10px 14px; border-radius:6px; cursor:pointer;
}
.save-btn:hover{ background:#388e3c; }

.week-header h5 {
  font-weight: bold;
  color: #2e7d32;
}

.days-row {
  margin-bottom: 10px;
}

.day {
  padding: 5px;
  cursor: pointer;
  border-radius: 6px;
}

.day.active {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
}

/* Haftalık gezinme alanı */
.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f8e9;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.week-header h5 {
  font-weight: bold;
  color: #2e7d32;
  font-size: 16px;
  margin: 0;
}

.week-header button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.week-header button:hover {
  background: #e8f5e9;
}

/* Gün satırı */
.days-row {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 10px;
}

.day {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: background 0.3s, color 0.3s;
}

.day:hover {
  background: #f1f8e9;
  cursor: pointer;
}

.day.active {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
}

.kanban-column h3 {
  font-size: 14px;
  color: #2e7d32;
  font-weight: bold;
}

.task-card {
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.task-card.pending {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.task-card.completed {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    text-decoration: line-through;
}

/* Banner Görseli */
.banner {
    background: transparent !important; /* Arka plan tamamen şeffaf */
    box-shadow: none !important;
    margin: 0;
    padding: 0;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* 🔽 Görseli biraz aşağı kaydırır */
}

.banner-image {
    width: 75%;
    height: auto;
    max-width: 360px;
    display: block;
    margin: 0 auto;
    background: transparent;
    object-fit: contain;
}

/* Dil seçici (bildirim alanı yanı) */
.lang-switcher {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-left: 12px; /* bildirimden sonra hafif boşluk */
}

.flag-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #ddd;
  cursor: pointer; padding: 0;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.flag-btn img {
  width: 20px; height: 20px; border-radius: 50%; display: block;
}
.flag-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.flag-btn.active { border-color: var(--primary-color, #2e7d32); box-shadow: 0 0 0 2px rgba(46,125,50,.15); }




/* Alttaki sabit navigasyon için içerikte güvenli alt boşluk aç */
:root { --nav-height: 64px; }

/* container zaten min-height:100vh; içerik altına nav kadar boşluk ekleyelim */
.container {
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px)) !important;
}

/* Alt menünün yüksekliğini sabitle (mevcut tasarıma uygun) */
.bottom-nav {
  height: var(--nav-height);
}

/* services → promotion arası dikey boşluğu biraz kıs */
.services-section { 
  margin-bottom: 8px !important; 
}

/* promotion kartının dış boşluklarını küçük tut, tam genişlikte dursun */
.promotion {
  margin: 10px 15px !important;
  max-width: none !important;   /* 400px sınırını kaldır: mobilde tam genişlik */
}

/* buton, mobilde daha belirgin olsun */
#promotionSection .banner-btn,
#promotionSection button {
  display: block;
  width: 100%;
  min-height: 44px;            /* erişilebilirlik */
}
.blank-overlay{
  position: fixed;
  inset: 0;            /* top:0; right:0; bottom:0; left:0; */
  background: #fff;    /* tamamen boş/beyaz ekran */
  z-index: 2000;       /* her şeyin üstünde */
}
.dose-grid {
  background: #f1f8e9;
  padding: 15px;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dose-grid h5 {
  margin-bottom: 10px;
  color: #2e7d32;
  text-align: center;
  font-weight: 600;
}

.dose-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
  font-size: 14px;
}

.dose-header {
  font-weight: bold;
  background: #c8e6c9;
  padding: 6px;
  border-radius: 6px;
}

.dose-cell {
  background: #ffffff;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

/* Sol taraftaki küçük marka rozeti */
.brand-badge {
  height: 18px;          /* bayraklarla aynı yükseklikte durması için */
  display: inline-block;
  object-fit: contain;
  margin-right: 4px;     /* bayraklarla arasında minik boşluk */
  vertical-align: middle;
}
.lang-switcher { gap: 8px; }
.lang-switcher .brand-badge { border-right: 1px solid rgba(0,0,0,0.1); padding-right: 6px; margin-right: 2px; }


/* Üst bar düzeni */
.header-bar {
  display: flex;
  justify-content: space-between;  /* solda user-info, sağda logo */
  align-items: center;
  padding: 6px 10px;
}

/* Kullanıcı bilgisi solda */
.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Kullanıcı avatarı */
.user-avatar {
  background-color: #2c3e50;
  color: white;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Kullanıcı detayları */
.user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.user-name {
  font-weight: 600;
  color: #111;
}

.user-status {
  font-size: 12px;
  color: #777;
}

/* Sağdaki logo */
.header-logo {
  height: 18px;          /* %75 boyut, uyumlu görünür */
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.header-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

.user-info {
  display: flex;
  align-items: center;
  justify-content: space-between; /* solda bilgiler, sağda logo */
  gap: 8px;
  width: 100%;
}

.header-logo {
  height: 20px;          /* %75 boyut */
  max-height: 20px;      /* iOS’ta garanti */
  width: auto;           /* oran korunsun */
  flex: 0 0 auto;        /* sıkışıp büyümesin/küçülmesin */
  object-fit: contain;
  display: block;        /* satır-içi boşluk/padding etkilerini azalt */
}