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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
            min-height: 100vh;
            padding: 1rem;
        }

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

        .card {
            background: white;
            border-radius: 1rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

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

        .header-left {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .icon-container {
            background: #22c55e;
            padding: 0.75rem;
            border-radius: 0.75rem;
            color: white;
        }

        .title {
            font-size: 2rem;
            font-weight: bold;
            color: #1f2937;
        }

        .subtitle {
            color: #6b7280;
            margin-top: 0.25rem;
        }

        .badge {
            background: #dcfce7;
            color: #166534;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .grid {
            display: grid;
            gap: 1.5rem;
        }

        .grid-2 {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }

        .grid-3 {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        }

        .weather-card {
            background: #3b82f6;
            color: white;
            border-radius: 1rem;
            padding: 1.5rem;
        }

        .market-card {
            background: #22c55e;
            color: white;
            border-radius: 1rem;
            padding: 1.5rem;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .temp {
            font-size: 2.5rem;
            font-weight: bold;
        }

        .market-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .market-price {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: bold;
        }

        .form-section {
            margin-bottom: 1.5rem;
        }

        .form-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .input,
        .select {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #d1d5db;
            border-radius: 0.5rem;
            font-size: 1rem;
        }

        .input:focus,
        .select:focus {
            outline: none;
            border-color: #22c55e;
        }

        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .filter-btn {
            padding: 0.5rem 0.75rem;
            border: none;
            border-radius: 0.25rem;
            background: #f3f4f6;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s;
        }

        .filter-btn.active {
            background: #22c55e;
            color: white;
        }

        .btn-primary {
            width: 100%;
            background: #22c55e;
            color: white;
            padding: 1rem;
            border: none;
            border-radius: 0.75rem;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: background 0.2s;
        }

        .btn-primary:hover {
            background: #16a34a;
        }

        .suggestion-card {
            border: 2px solid #e5e7eb;
            border-radius: 0.75rem;
            padding: 1rem;
            transition: all 0.2s;
        }

        .suggestion-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .suggestion-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .crop-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .crop-icon {
            font-size: 2rem;
        }

        .crop-name {
            font-weight: bold;
        }

        .crop-category {
            background: #dcfce7;
            color: #166534;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.75rem;
        }

        .score-badge {
            background: #22c55e;
            color: white;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .reasons {
            margin-bottom: 0.75rem;
        }

        .reason-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            margin-bottom: 0.25rem;
        }

        .check-icon {
            color: #22c55e;
            font-size: 1rem;
        }

        .market-info {
            background: #fefce8;
            padding: 0.5rem;
            border-radius: 0.5rem;
            margin-bottom: 0.75rem;
        }

        .btn-secondary {
            width: 100%;
            background: #f97316;
            color: white;
            padding: 0.5rem;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: background 0.2s;
        }

        .btn-secondary:hover {
            background: #ea580c;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            padding: 1rem;
        }

        .modal-content {
            background: white;
            border-radius: 1rem;
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            margin: 0 auto;
            position: relative;
            top: 50%;
            transform: translateY(-50%);
        }

        .modal-header {
            background: #22c55e;
            color: white;
            padding: 1.5rem;
            border-radius: 1rem 1rem 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title-section {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .modal-icon {
            font-size: 3rem;
        }

        .modal-title {
            font-size: 2rem;
            font-weight: bold;
        }

        .modal-subtitle {
            color: #dcfce7;
        }

        .close-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            padding: 0.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-size: 1.5rem;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .modal-body {
            padding: 1.5rem;
        }

        .info-card {
            padding: 1rem;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
        }

        .info-card h3 {
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .info-card p {
            font-size: 0.875rem;
        }

        .purple {
            background: #faf5ff;
            color: #7c3aed;
        }

        .blue {
            background: #eff6ff;
            color: #2563eb;
        }

        .orange {
            background: #fff7ed;
            color: #ea580c;
        }

        .green {
            background: #f0fdf4;
            color: #16a34a;
        }

        .teal {
            background: #f0fdfa;
            color: #0d9488;
        }

        .yellow {
            background: #fefce8;
            color: #ca8a04;
        }

        .cyan {
            background: #ecfeff;
            color: #0891b2;
        }

        .red {
            background: #fef2f2;
            color: #dc2626;
        }

        .indigo {
            background: #eef2ff;
            color: #4f46e5;
        }

        .pink {
            background: #fdf2f8;
            color: #ec4899;
        }

        .advice-section {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border-left: 4px solid #22c55e;
            padding: 1rem;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
        }

        .advice-title {
            font-weight: bold;
            color: #166534;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .advice-list {
            list-style: none;
        }

        .advice-item {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin-bottom: 0.25rem;
            font-size: 0.875rem;
            color: #374151;
        }

        .disclaimer {
            background: #eff6ff;
            padding: 1rem;
            border-radius: 0.5rem;
            text-align: center;
            color: #2563eb;
            font-size: 0.875rem;
        }

        .hidden {
            display: none;
        }

        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                text-align: center;
            }

            .grid-2,
            .grid-3 {
                grid-template-columns: 1fr;
            }

            .title {
                font-size: 1.5rem;
            }
        }
