.selector{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

 display: flex;

 justify-content: center;

 margin:60px;



}

.crypto-selector-container {
    background-color: #000000; /* Noir */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    animation: fadeIn 0.8s ease-out;
    color: #ffffff; /* Texte blanc pour contraste */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    text-align: center;
    color: #ffffff; /* Texte blanc */
    margin-bottom: 30px;
    font-size: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 i {
    margin-right: 10px;
    color: #8a2be2; /* Violet */
}

.selector-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.selector-section {
    background-color: #1a1a1a; /* Noir plus clair */
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333333;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #e0e0e0; /* Gris clair */
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

label i {
    margin-right: 8px;
    color: #8a2be2; /* Violet */
}

.modern-select,
.details-form input[type="text"],
.details-form input[type="tel"],
.details-form input[type="number"],
.details-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 1em;
    color: #ffffff; /* Texte blanc */
    background-color: #333; /* Fond sombre */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.modern-select:focus,
.details-form input:focus,
.details-form select:focus {
    border-color: #8a2be2; /* Violet */
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.25); /* Violet avec transparence */
    outline: none;
}


.modern-select {
    width: 100%;
    padding: 6px 10px; /* Padding très réduit */
    border: 1px solid #444;
    border-radius: 4px; /* Coins moins arrondis */
    font-size: 0.85em; /* Texte plus petit */
    color: #ffffff;
    background-color: #333;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 14px; /* Icône encore plus petite */
    padding-right: 26px; /* Espace réduit pour l'icône */
    height: 39px; /* Hauteur réduite */
    line-height: 1.2; /* Ajustement de l'espacement du texte */
    min-width: 80px; /* Largeur minimale pour rester lisible */
}
.type-toggle {
    display: flex;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.type-toggle button {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: transparent;
    color: #e0e0e0;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.type-toggle button.active {
    background-color: #8a2be2; /* Violet */
    color: #fff;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3); /* Violet avec transparence */
}

.divider {
    border-top: 1px dashed #444;
    margin: 15px 0;
}

.details-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #444;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.details-form.active {
    opacity: 1;
    max-height: 500px;
}

.details-form h3 {
    color: #8a2be2; /* Violet */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.details-form input,
.details-form select {
    margin-bottom: 15px;
}

.amount-input label {
    font-weight: normal;
    margin-bottom: 5px;
    color: #b0b0b0;
    font-size: 0.9em;
}

.receive-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.receive-type {
    background-color: rgba(138, 43, 226, 0.2); /* Violet avec transparence */
    color: #8a2be2; /* Violet */
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.receipt-box {
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    display: none;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.receipt-box h4 {
    color: #8a2be2; /* Violet */
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.receipt-box h4 i {
    margin-right: 10px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #e0e0e0;
}

.receipt-item span:first-child {
    font-weight: 500;
}

.receipt-total {
    border-top: 1px solid #444;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 1.1em;
    font-weight: 700;
    color: #8a2be2; /* Violet */
}

.fees-info {
    font-size: 0.8em;
    color: #888;
    text-align: right;
    margin-top: 5px;
}

.modern-button {
    width: 100%;
    padding: 15px;
    background-color: #8a2be2; /* Violet */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.3); /* Violet avec transparence */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-button i {
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.modern-button:hover {
    background-color: #7b1fa2; /* Violet plus foncé */
    transform: translateY(-2px);
}

.modern-button:hover i {
    transform: translateX(3px);
}

.modern-button:disabled {
    background-color: #555;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.modern-button:disabled i {
    transform: none;
}

/* Alert Popup */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.alert-box {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    color: #ffffff;
    border: 1px solid #444;
}

.alert-overlay.active .alert-box {
    transform: scale(1);
}

.alert-box h3 {
    color: #ff6b6b;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.alert-box h3 i {
    margin-right: 10px;
}

.alert-box p {
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.alert-box button {
    background-color: #8a2be2; /* Violet */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.alert-box button:hover {
    background-color: #7b1fa2; /* Violet plus foncé */
}

.address-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.address-overlay.active {
    opacity: 1;
    visibility: visible;
}

.address-box {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #ffffff;
    border: 1px solid #444;
}

.address-box h3 {
    margin-top: 0;
    color: #8a2be2; /* Violet */
}

.address-value {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    font-size: 18px;
    word-break: break-all;
    margin: 20px 0;
    border: 1px dashed #666;
    color: #ffffff;
}

.copy-btn {
    background-color: #8a2be2; /* Violet */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #7b1fa2; /* Violet plus foncé */
}

.address-ok-btn {
    background-color: #8a2be2; /* Violet */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.address-ok-btn:hover {
    background-color: #7b1fa2; /* Violet plus foncé */
}

@media (max-width: 768px) {
    .crypto-selector-container {
        padding: 20px;
        margin: 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    .selector-section {
        padding: 15px;
    }

    .modern-select,
    .details-form input,
    .details-form select,
    .modern-button {
        font-size: 0.95em;
        padding: 10px 12px;
    }
}




.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    z-index: -1;
 
}
