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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .converter-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            padding: 40px;
            width: 100%;
            max-width: 480px;
            position: relative;
            overflow: hidden;
        }

        .converter-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

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

        .header h1 {
            color: #1a202c;
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .header p {
            color: #718096;
            font-size: 16px;
            font-weight: 400;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            margin-bottom: 24px;
        }

        .flag{
            width: 38px;
            height: 38px;
            align-self: flex-start;
        }

        .form-label {
            display: block;
            color: #2d3748;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .input-field, .select-field {
            width: 100%;
            padding: 16px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 16px;
            font-family: inherit;
            background: #f7fafc;
            transition: all 0.3s ease;
        }

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

        .input-field::placeholder {
            color: #a0aec0;
        }

        .currency-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 24px;
        }

        .swap-button {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            background: #f7fafc;
            border: 2px solid #e2e8f0;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 0 auto 24px;
            position: relative;
        }

        .swap-button:hover {
            background: #667eea;
            border-color: #667eea;
            transform: rotate(180deg);
        }

        .swap-button::before {
            content: '⇄';
            font-size: 20px;
            color: #4a5568;
            transition: color 0.3s ease;
        }

        .swap-button:hover::before {
            color: white;
        }

        .convert-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 32px;
        }

        .convert-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        }

        .convert-button:active {
            transform: translateY(0);
        }

        .result-section {
            background: #f7fafc;
            border-radius: 16px;
            padding: 24px;
            text-align: center;
            border: 2px solid #e2e8f0;
        }

        .result-label {
            color: #718096;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .result-value {
            color: #1a202c;
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        #result-rate {
            color: #4a5568;
            font-size: 14px;
        }

        .placeholder-result {
            color: #a0aec0;
            font-size: 18px;
            font-style: italic;
        }

        /* Mobile Responsiveness */
        @media (max-width: 640px) {
            .converter-container {
                padding: 24px;
                margin: 10px;
            }

            .header h1 {
                font-size: 24px;
            }

            .currency-row {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .result-value {
                font-size: 28px;
            }

            .convert-button {
                padding: 16px;
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }

            .converter-container {
                padding: 20px;
            }

            .header h1 {
                font-size: 22px;
            }

            .result-value {
                font-size: 24px;
            }
        }