
        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(to right top, #6a11cb, #2575fc);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
        }
        .weather-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 1.5rem; /* More rounded corners */
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            border: 1px solid rgba(255, 255, 255, 0.18);
            padding: 2rem;
            max-width: 90%; /* Fluid width */
            width: 450px; /* Max width for larger screens */
            text-align: center;
            transition: all 0.3s ease-in-out;
        }
        .weather-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.5);
        }
        .input-group {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        .input-group input {
            flex-grow: 1;
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            outline: none;
            transition: all 0.2s ease-in-out;
        }
        .input-group input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        .input-group input:focus {
            border-color: #fff;
            background: rgba(255, 255, 255, 0.3);
        }
        .input-group button {
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            background: linear-gradient(to right, #6a11cb, #2575fc);
            color: #fff;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s ease-in-out;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        .input-group button:hover {
            background: linear-gradient(to left, #6a11cb, #2575fc);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }
        .weather-info h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .weather-info p {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
        .weather-details {
            display: flex;
            justify-content: space-around;
            margin-top: 1.5rem;
            flex-wrap: wrap; /* Allow wrapping on small screens */
            gap: 1rem; /* Space between items */
        }
        .detail-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 0.95rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            min-width: 100px; /* Minimum width for details */
        }
        .detail-item strong {
            font-size: 1.2rem;
            margin-top: 0.25rem;
        }
        .error-message {
            color: #ffdddd;
            background: rgba(255, 0, 0, 0.3);
            padding: 0.75rem;
            border-radius: 0.75rem;
            margin-top: 1rem;
            display: none; /* Hidden by default */
        }
        .loading-indicator {
            display: none; /* Hidden by default */
            margin-top: 1rem;
            font-size: 1.1rem;
            font-weight: 500;
        }

        /* Responsive adjustments */
        @media (max-width: 600px) {
            .weather-card {
                padding: 1.5rem;
            }
            .input-group {
                flex-direction: column;
            }
            .input-group button {
                width: 100%;
            }
            .weather-info h2 {
                font-size: 2rem;
            }
            .weather-info p {
                font-size: 1rem;
            }
            .weather-details {
                flex-direction: column;
                align-items: center;
            }
            .detail-item {
                width: 100%;
            }
        }
    