
    /* Reset & base */
    .crypto-app {
        --primary: #3b82f6;
        --light: #eff6ff;
        --primary-dark: #2563eb;
        --secondary: #8b5cf6;
        --accent: #10b981;
        --bg: #ffffff;
        --surface: #f9fafb;
        --border: #e5e7eb;
        --text: #1f2937;
        --text-muted: #6b7280;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
        min-height: 100vh;
        padding: 20px;
    }

    /* Container principal */
    .exchange-container {
        max-width: 560px;
        margin: 0 auto;
    }

    /* En-tête */
    .pretty-exchange-header {
        background: white;
        border-radius: 24px;
        padding: 16px 20px;
        margin-bottom: 20px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
        border: 1px solid var(--border);
    }
    .pretty-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--primary);
        margin: 0;
    }

    /* Formulaire */
    .exchange-form {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Sections (donner / recevoir) */
    .exchange-section {
        background: white;
        border-radius: 24px;
        border: 1px solid var(--border);
        overflow: hidden;
        transition: all 0.2s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }
    .exchange-section:hover {
        border-color: var(--primary);
        box-shadow: 0 8px 20px rgba(59,130,246,0.08);
    }

    /* En-tête de section */
    .section-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
    }
    .currency-selector {
        cursor: pointer;
        background: white;
        border-radius: 40px;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        color: var(--text);
        transition: all 0.2s;
        border: 1px solid var(--border);
    }
    .currency-selector:hover {
        border-color: var(--primary);
        background: #f0f9ff;
    }
    .currency-selector span:first-child {
        font-size: 0.85rem;
        color: var(--text-muted);
    }
    .currency-btn {
        background: transparent;
        border: none;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        padding: 0;
    }
    .currency-btn img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
    }
    .currency-btn span {
        font-size: 0.9rem;
        color: var(--text);
    }

    /* Contenu de section */
    .section-content {
        padding: 20px;
    }
    .amount-input {
        position: relative;
        margin-bottom: 8px;
    }
    .amount-input input {
        width: 100%;
        padding: 16px 80px 16px 20px;
        font-size: 1.5rem;
        font-weight: 600;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: white;
        color: var(--text);
        transition: all 0.2s;
    }
    .amount-input input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    }
    .currency-symbol {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-weight: 500;
    }
    .limit-info {
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-top: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Prix + flèche */
    .price-info {
        background: var(--surface);
        border-radius: 48px;
        padding: 12px 20px;
        text-align: center;
        font-size: 0.9rem;
        color: var(--text);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }
    .price-value {
        font-weight: 600;
        color: var(--primary-dark);
    }
    .exchange-arrow-container {
        background: white;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.3s;
        border: 1px solid var(--border);
    }
    .exchange-arrow-container:hover {
        transform: rotate(180deg);
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }
    .exchange-arrow i {
        font-size: 1rem;
    }

    /* Adresse */
    .get-addres-list-btn {
        font-weight: 500;
        color: var(--light);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
    }
    .address-input {
        position: relative;
    }
    .address-input input {
        width: 100%;
        padding: 14px 45px 14px 16px;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: white;
        font-size: 0.9rem;
    }
    .address-input input:focus {
        outline: none;
        border-color: var(--primary);
    }
    .clipboard-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        cursor: pointer;
        transition: color 0.2s;
    }
    .clipboard-icon:hover {
        color: var(--primary);
    }
    .address-validation {
        font-size: 0.7rem;
        margin-top: 6px;
        color: var(--accent);
    }

    /* Bouton échange */
    .exchange-action {
        margin-top: 8px;
    }
    .exchange-btn {
        width: 100%;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        border: none;
        border-radius: 40px;
        padding: 16px;
        font-weight: 600;
        font-size: 1rem;
        color: white;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    }
    .exchange-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(59,130,246,0.4);
    }

    /* Alertes */
    .alert-message {
        background: #fee2e2;
        border-radius: 16px;
        padding: 12px;
        color: #dc2626;
        font-size: 0.8rem;
        display: none;
    }

    /* Responsive */
    @media (max-width: 480px) {
        .crypto-app {
            padding: 12px;
        }
        .amount-input input {
            font-size: 1.2rem;
            padding: 14px 70px 14px 16px;
        }
        .section-header-content {
            flex-wrap: wrap;
            gap: 10px;
        }
        .price-info {
            flex-direction: column;
            gap: 8px;
        }
    }

