Files
projet_gestion_commande/frontend-prep/src/pages/User/Checkout.css
T
2026-03-30 20:02:39 +02:00

1212 lines
23 KiB
CSS

.checkout-telegram-note {
display: flex;
gap: 0.875rem;
align-items: flex-start;
background: rgba(41, 182, 246, 0.08);
border: 1px solid rgba(41, 182, 246, 0.3);
border-radius: 10px;
padding: 0.9rem 1rem;
margin-bottom: 1.25rem;
}
.checkout-telegram-note .fa-telegram {
font-size: 1.4rem;
color: #229ed9;
flex-shrink: 0;
margin-top: 0.1rem;
}
.checkout-telegram-note strong {
display: block;
color: #29b6f6;
font-size: 0.875rem;
margin-bottom: 0.2rem;
}
.checkout-telegram-note p {
color: var(--text-muted);
font-size: 0.82rem;
line-height: 1.5;
margin: 0;
}
.checkout-telegram-note a {
color: #29b6f6;
text-decoration: underline;
}
.form-prefill-hint {
font-size: 0.75rem;
color: #6ee7b7;
margin: 0.3rem 0 0;
opacity: 0.85;
}
.checkout-container {
width: 100%;
min-height: 100vh;
padding: clamp(1rem, 3vw, 2rem);
padding-top: calc(60px + clamp(1rem, 3vw, 2rem));
max-width: 1200px;
margin: 0 auto;
background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
}
.checkout-container h1 {
font-size: clamp(1.8rem, 5vw, 2.5rem);
color: var(--text);
text-align: center;
margin-bottom: clamp(1.5rem, 4vw, 2rem);
font-weight: 300;
letter-spacing: -0.5px;
}
.checkout-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: clamp(1.5rem, 4vw, 2rem);
margin-bottom: clamp(1.5rem, 4vw, 2rem);
}
/* Résumé de la commande */
.order-summary-box {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
padding: clamp(1.5rem, 4vw, 2rem);
height: fit-content;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(8px);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.order-summary-box:hover {
background: var(--surface-2);
border-color: rgba(16, 185, 129, 0.3);
box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}
.order-summary-box h2 {
font-size: clamp(1.2rem, 4vw, 1.3rem);
color: var(--text);
margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border);
font-weight: 600;
letter-spacing: -0.3px;
}
.summary-items {
max-height: 400px;
overflow-y: auto;
margin-bottom: clamp(1rem, 3vw, 1.5rem);
padding-right: 10px;
}
.summary-item {
display: flex;
gap: clamp(1rem, 3vw, 1.5rem);
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border);
transition: all 0.2s ease;
}
.summary-item:hover {
transform: translateX(4px);
}
.summary-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.summary-item-image {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border: 1px solid var(--border);
flex-shrink: 0;
background: var(--surface-2);
transition: transform 0.3s ease;
}
.summary-item:hover .summary-item-image {
transform: scale(1.05);
}
.summary-item-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.3rem;
}
.summary-item-name {
margin: 0;
color: var(--text);
font-weight: 600;
font-size: clamp(0.9rem, 3vw, 1rem);
line-height: 1.3;
}
.summary-item-details {
margin: 0;
color: var(--text-muted);
font-size: clamp(0.8rem, 2vw, 0.9rem);
}
.summary-total {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: clamp(1rem, 3vw, 1.5rem);
border-top: 1px solid var(--border);
font-size: clamp(1.1rem, 4vw, 1.3rem);
font-weight: 700;
color: var(--text);
margin-top: clamp(1rem, 3vw, 1.5rem);
}
.total-price {
color: #6d28d9;
font-size: clamp(1.2rem, 5vw, 1.5rem);
font-weight: bold;
}
/* Formulaire */
.checkout-form {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
padding: clamp(1.5rem, 4vw, 2rem);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(8px);
}
.error-alert {
background-color: rgba(239, 68, 68, 0.1);
border-left: 4px solid #ef4444;
padding: clamp(1rem, 3vw, 1.5rem);
margin-bottom: clamp(1rem, 3vw, 1.5rem);
border-radius: 8px;
color: #f87171;
font-weight: 500;
box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}
.form-section {
margin-bottom: clamp(1.5rem, 4vw, 2rem);
}
.form-section:last-of-type {
margin-bottom: 0;
}
.form-section h3 {
font-size: clamp(1.1rem, 3vw, 1.2rem);
color: var(--text);
margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
padding-bottom: 0.75rem;
border-bottom: 1px solid var(--border);
font-weight: 600;
letter-spacing: -0.3px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.form-group label {
color: var(--text);
font-weight: 600;
font-size: clamp(0.9rem, 3vw, 1rem);
}
.form-group input {
padding: clamp(0.75rem, 2vw, 1rem);
border: 1px solid var(--border);
border-radius: 10px;
font-size: clamp(0.9rem, 3vw, 1rem);
color: var(--text);
background-color: var(--surface-2);
font-family: inherit;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
-webkit-tap-highlight-color: transparent;
}
.form-group input::placeholder {
color: var(--text-muted);
}
.form-group input:focus {
outline: none;
border-color: rgba(109, 40, 217, 0.4);
box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.3), 0 0 20px rgba(109, 40, 217, 0.4);
background: rgba(255, 255, 255, 0.05);
}
.form-group input:disabled {
background-color: var(--surface);
cursor: not-allowed;
opacity: 0.5;
border-color: var(--border);
}
/* Actions */
.form-actions {
display: flex;
gap: 1rem;
padding-top: clamp(1.5rem, 4vw, 2rem);
border-top: 1px solid var(--border);
margin-top: clamp(1.5rem, 4vw, 2rem);
}
.back-button,
.submit-order-button {
flex: 1;
padding: clamp(1rem, 3vw, 1.3rem);
border: none;
border-radius: 12px;
font-weight: 700;
font-size: clamp(0.95rem, 3vw, 1.05rem);
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-family: inherit;
text-transform: uppercase;
letter-spacing: 0.5px;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
position: relative;
overflow: hidden;
}
.back-button {
background-color: var(--surface);
color: var(--text);
border: 1px solid var(--border);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.back-button:hover:not(:disabled) {
background-color: var(--surface-2);
border-color: var(--text-muted);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.back-button:active:not(:disabled) {
transform: scale(0.98);
}
.back-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.submit-order-button {
background: linear-gradient(to right, #7c3aed, #6d28d9);
color: white;
box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
border: 1px solid rgba(124, 58, 237, 0.3);
}
.submit-order-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.1);
transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.submit-order-button:hover:not(:disabled)::before {
left: 100%;
}
.submit-order-button:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 12px 32px rgba(124, 58, 237, 0.6);
}
.submit-order-button:active:not(:disabled) {
transform: scale(0.98);
}
.submit-order-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
/* ============================================ */
/* MODAL DE CONFIRMATION - STYLE SOMBRE */
/* ============================================ */
.confirmation-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.92);
backdrop-filter: blur(10px);
display: flex;
align-items: flex-start;
justify-content: center;
z-index: 10000;
animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
padding: 2rem 1rem;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.confirmation-modal {
background: var(--surface);
border: 2px solid #5b21b6;
border-radius: 20px;
max-width: 600px;
width: 100%;
box-shadow: 0 25px 70px rgba(91, 33, 182, 0.5), 0 0 120px rgba(91, 33, 182, 0.3);
animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
position: relative;
margin: auto;
}
@keyframes slideUp {
from {
transform: translateY(50px) scale(0.95);
opacity: 0;
}
to {
transform: translateY(0) scale(1);
opacity: 1;
}
}
.confirmation-modal-header {
background: var(--bg);
padding: 2rem;
border-bottom: 2px solid #5b21b6;
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
border-radius: 18px 18px 0 0;
}
.confirmation-icon {
font-size: 3rem;
animation: bounce 0.6s ease-in-out;
color: #10b981;
}
@keyframes bounce {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
}
.confirmation-modal-header h2 {
margin: 0;
font-size: clamp(1.5rem, 4vw, 2rem);
color: var(--text);
font-weight: 700;
letter-spacing: -0.5px;
}
.confirmation-modal-body {
padding: 2rem;
background: var(--surface);
}
.confirmation-section {
margin-bottom: 1.5rem;
padding: 1.25rem;
background: var(--bg);
border-radius: 12px;
border: 1px solid #5b21b6;
}
.confirmation-section:last-of-type {
margin-bottom: 0;
}
.confirmation-section-title {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.1rem;
color: var(--text);
font-weight: 600;
margin-bottom: 1rem;
}
.confirmation-section-title i,
.confirmation-section-title .icon {
font-size: 1.3rem;
color: #8b5cf6;
min-width: 1.3rem;
text-align: center;
}
.confirmation-detail {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.8;
margin: 0.5rem 0;
padding-left: 2rem;
}
.confirmation-detail strong {
color: var(--text);
font-weight: 600;
}
.confirmation-detail i {
margin-right: 0.5rem;
color: #8b5cf6;
}
.confirmation-total {
background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 100%);
border: 2px solid #7c3aed;
border-radius: 16px;
padding: 1.75rem;
text-align: center;
margin: 1.5rem 0;
box-shadow: 0 8px 32px rgba(91, 33, 182, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.1);
}
.confirmation-total-label {
color: rgba(255, 255, 255, 0.95);
font-size: 1.1rem;
margin-bottom: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1.5px;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.confirmation-total-amount {
font-size: 2.8rem;
font-weight: 700;
color: #ffffff;
text-shadow: 0 0 30px rgba(139, 92, 246, 0.8), 0 4px 12px rgba(0, 0, 0, 0.5);
letter-spacing: -1px;
}
.confirmation-footer {
color: var(--text-muted);
font-size: 0.9rem;
line-height: 1.8;
text-align: center;
padding: 1.25rem;
background: var(--bg);
border-radius: 12px;
border: 1px solid #5b21b6;
margin-top: 1.5rem;
}
.confirmation-footer-highlight {
color: var(--text);
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.confirmation-footer-highlight i {
color: #ef4444;
animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat {
0%, 100% {
transform: scale(1);
}
25% {
transform: scale(1.15);
}
50% {
transform: scale(1);
}
}
.confirmation-modal-actions {
padding: 1.5rem 2rem 2rem;
background: var(--surface);
border-radius: 0 0 18px 18px;
}
.confirmation-button {
width: 100%;
padding: 1.2rem 2rem;
border: 2px solid #5b21b6;
border-radius: 12px;
font-weight: 700;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-family: inherit;
text-transform: uppercase;
letter-spacing: 0.8px;
background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
color: white;
box-shadow: 0 8px 24px rgba(91, 33, 182, 0.5);
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
}
.confirmation-button:hover {
transform: translateY(-3px);
box-shadow: 0 12px 40px rgba(91, 33, 182, 0.7);
border-color: #7c3aed;
background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}
.confirmation-button:active {
transform: translateY(-1px) scale(0.98);
}
.confirmation-modal-header--error {
background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}
.confirmation-modal-header--crypto {
background: linear-gradient(135deg, #f7931a 0%, #c2620a 100%);
}
.confirmation-button--neutral {
background: var(--surface-2);
border-color: var(--border);
color: var(--text);
box-shadow: none;
}
.confirmation-button--neutral:hover {
background: var(--surface);
box-shadow: none;
transform: translateY(-1px);
}
.confirmation-detail--centered {
text-align: center;
padding: 1rem 0;
}
.confirmation-detail--muted {
color: var(--text-muted);
font-size: 0.875rem;
}
/* Scrollbar personnalisée pour le modal */
.confirmation-modal::-webkit-scrollbar {
width: 8px;
}
.confirmation-modal::-webkit-scrollbar-track {
background: rgba(15, 15, 15, 0.5);
border-radius: 10px;
}
.confirmation-modal::-webkit-scrollbar-thumb {
background: #5b21b6;
border-radius: 10px;
transition: all 0.2s ease;
}
.confirmation-modal::-webkit-scrollbar-thumb:hover {
background: #7c3aed;
box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}
/* Scrollbar personnalisée pour summary-items */
.summary-items::-webkit-scrollbar {
width: 6px;
}
.summary-items::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
}
.summary-items::-webkit-scrollbar-thumb {
background: rgba(16, 185, 129, 0.5);
border-radius: 10px;
transition: all 0.2s ease;
}
.summary-items::-webkit-scrollbar-thumb:hover {
background: rgba(16, 185, 129, 0.7);
box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}
/* ============================================ */
/* RESPONSIVE - VERSION OPTIMISÉE ET COMPACTE */
/* ============================================ */
/* Tablettes */
@media (max-width: 768px) {
.checkout-container {
padding: clamp(1rem, 2vw, 1.5rem);
}
.checkout-content {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.form-row {
grid-template-columns: 1fr;
}
.form-actions {
flex-direction: column;
gap: 1rem;
}
.order-summary-box {
order: 2;
}
.checkout-form {
order: 1;
}
/* Modal responsive compacte */
.confirmation-modal-overlay {
padding: 1rem 0.75rem;
align-items: flex-start;
}
.confirmation-modal {
max-width: 100%;
border-radius: 12px;
border-width: 1px;
}
.confirmation-modal-header {
padding: 1.25rem;
gap: 0.75rem;
}
.confirmation-icon {
font-size: 2.2rem;
}
.confirmation-modal-header h2 {
font-size: 1.3rem;
}
.confirmation-modal-body {
padding: 1.25rem;
}
.confirmation-section {
padding: 0.9rem;
margin-bottom: 0.9rem;
border-radius: 10px;
}
.confirmation-section-title {
font-size: 1rem;
margin-bottom: 0.6rem;
gap: 0.6rem;
}
.confirmation-section-title i,
.confirmation-section-title .icon {
font-size: 1.1rem;
}
.confirmation-detail {
padding-left: 1.7rem;
font-size: 0.9rem;
line-height: 1.6;
margin: 0.4rem 0;
}
.confirmation-total {
padding: 1.25rem;
margin: 1rem 0;
border-radius: 12px;
}
.confirmation-total-label {
font-size: 0.95rem;
margin-bottom: 0.6rem;
letter-spacing: 1.2px;
}
.confirmation-total-amount {
font-size: 2rem;
}
.confirmation-modal-actions {
padding: 1rem 1.25rem 1.25rem;
}
.confirmation-button {
padding: 1rem 1.5rem;
font-size: 0.95rem;
border-radius: 10px;
}
}
/* Mobiles */
@media (max-width: 600px) {
.summary-item-image {
width: 70px;
height: 70px;
}
/* Modal encore plus compacte sur mobile */
.confirmation-modal-overlay {
padding: 0.75rem 0.5rem;
}
.confirmation-modal {
border-radius: 10px;
}
.confirmation-modal-header {
padding: 1rem;
gap: 0.5rem;
}
.confirmation-icon {
font-size: 1.8rem;
}
.confirmation-modal-header h2 {
font-size: 1.1rem;
}
.confirmation-modal-body {
padding: 1rem;
}
.confirmation-section {
padding: 0.75rem;
margin-bottom: 0.75rem;
border-radius: 8px;
}
.confirmation-section-title {
font-size: 0.9rem;
margin-bottom: 0.5rem;
gap: 0.5rem;
}
.confirmation-section-title i,
.confirmation-section-title .icon {
font-size: 1rem;
min-width: 1rem;
}
.confirmation-detail {
padding-left: 1.5rem;
font-size: 0.85rem;
line-height: 1.5;
margin: 0.3rem 0;
}
.confirmation-total {
padding: 1rem;
margin: 0.75rem 0;
border-radius: 10px;
}
.confirmation-total-label {
font-size: 0.85rem;
margin-bottom: 0.5rem;
letter-spacing: 1px;
}
.confirmation-total-amount {
font-size: 1.6rem;
}
.confirmation-modal-actions {
padding: 0.75rem 1rem 1rem;
}
.confirmation-button {
padding: 0.85rem 1.2rem;
font-size: 0.85rem;
border-radius: 8px;
gap: 0.5rem;
}
}
/* Petits écrans (< 400px) */
@media (max-width: 400px) {
.confirmation-modal {
max-height: 90vh;
}
.confirmation-modal-header {
padding: 0.85rem;
}
.confirmation-icon {
font-size: 1.5rem;
}
.confirmation-modal-header h2 {
font-size: 1rem;
}
.confirmation-modal-body {
padding: 0.85rem;
}
.confirmation-section {
padding: 0.65rem;
margin-bottom: 0.65rem;
}
.confirmation-section-title {
font-size: 0.85rem;
margin-bottom: 0.4rem;
}
.confirmation-detail {
padding-left: 1.3rem;
font-size: 0.8rem;
}
.confirmation-total {
padding: 0.85rem;
}
.confirmation-total-label {
font-size: 0.8rem;
}
.confirmation-total-amount {
font-size: 1.4rem;
}
.confirmation-button {
padding: 0.75rem 1rem;
font-size: 0.8rem;
}
}
/* Désactiver les effets hover sur écrans tactiles */
@media (hover: none) {
.order-summary-box:hover {
transform: none;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.summary-item:hover {
transform: none;
}
.summary-item-image:hover {
transform: none;
}
.back-button:hover {
background-color: var(--surface);
transform: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.submit-order-button:hover {
transform: none;
box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}
.confirmation-button:hover {
transform: none;
box-shadow: 0 8px 24px rgba(91, 33, 182, 0.5);
}
}
/* ============================================
TOGGLE PARRAINAGE
============================================ */
.referral-toggle-box {
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(139, 92, 246, 0.08);
border: 1px solid rgba(139, 92, 246, 0.25);
border-radius: 12px;
padding: 1rem 1.25rem;
margin-bottom: 1.25rem;
}
.referral-toggle-info {
display: flex;
align-items: center;
gap: 0.75rem;
}
.referral-toggle-icon {
font-size: 1.5rem;
}
.referral-toggle-label {
color: var(--text);
font-size: 0.9rem;
font-weight: 600;
margin: 0 0 0.2rem;
}
.referral-toggle-balance {
color: #8b5cf6;
font-size: 0.82rem;
margin: 0;
}
/* Switch toggle */
.referral-switch {
position: relative;
display: inline-block;
width: 48px;
height: 26px;
flex-shrink: 0;
}
.referral-switch input {
opacity: 0;
width: 0;
height: 0;
}
.referral-switch-slider {
position: absolute;
inset: 0;
background: var(--surface-2);
border-radius: 26px;
cursor: pointer;
transition: background 0.2s;
}
.referral-switch-slider::before {
content: '';
position: absolute;
width: 20px;
height: 20px;
left: 3px;
bottom: 3px;
background: #fff;
border-radius: 50%;
transition: transform 0.2s;
}
.referral-switch input:checked + .referral-switch-slider {
background: #8b5cf6;
}
.referral-switch input:checked + .referral-switch-slider::before {
transform: translateX(22px);
}
/* ============================================ */
/* PAIEMENT - Sélecteur de méthode */
/* ============================================ */
.payment-method-selector {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
}
.payment-method-btn {
flex: 1;
padding: 0.75rem 1rem;
border: 2px solid var(--border);
border-radius: 10px;
background: var(--surface);
color: var(--text-muted);
font-size: 0.95rem;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.payment-method-btn:hover {
border-color: var(--text-muted);
color: var(--text);
}
.payment-method-btn.active {
border-color: #f7931a;
color: #f7931a;
background: rgba(247, 147, 26, 0.08);
}
/* ============================================ */
/* CRYPTO - Sélecteur de monnaie */
/* ============================================ */
.crypto-currency-selector {
margin-top: 1rem;
}
.crypto-currency-selector label {
display: block;
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.crypto-currency-grid {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.crypto-currency-btn {
padding: 0.4rem 0.9rem;
border: 2px solid var(--border);
border-radius: 8px;
background: var(--surface);
color: var(--text-muted);
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
letter-spacing: 0.05em;
}
.crypto-currency-btn:hover {
border-color: var(--text-muted);
color: var(--text);
}
.crypto-currency-btn.active {
border-color: #f7931a;
color: #f7931a;
background: rgba(247, 147, 26, 0.08);
}
.crypto-info-hint {
font-size: 0.78rem;
color: var(--text-muted);
margin-top: 0.6rem;
}
/* ============================================ */
/* CRYPTO - Modal de paiement */
/* ============================================ */
.crypto-address-box {
display: flex;
align-items: center;
gap: 0.75rem;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.75rem 1rem;
margin-top: 0.5rem;
flex-wrap: wrap;
}
.crypto-address {
font-family: monospace;
font-size: 0.78rem;
color: var(--text-muted);
word-break: break-all;
flex: 1;
}
.crypto-copy-btn {
padding: 0.35rem 0.75rem;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface-2);
color: var(--text-muted);
font-size: 0.8rem;
cursor: pointer;
white-space: nowrap;
transition: all 0.2s;
}
.crypto-copy-btn:hover {
background: var(--surface);
color: var(--text);
}
.crypto-equiv {
color: var(--text-muted);
font-size: 0.85rem;
margin-left: 0.5rem;
}
.crypto-status--waiting { color: #fbbf24; }
.crypto-status--confirming { color: #60a5fa; }
.crypto-status--confirmed,
.crypto-status--finished { color: #34d399; }
.crypto-status--failed,
.crypto-status--expired { color: #f87171; }
.crypto-polling-info {
text-align: center;
color: var(--text-muted);
font-size: 0.82rem;
margin-top: 0.5rem;
}
.crypto-success-msg {
text-align: center;
color: #34d399;
font-size: 0.9rem;
padding: 0.75rem;
background: rgba(52, 211, 153, 0.08);
border-radius: 8px;
margin-top: 0.5rem;
}
.crypto-only-badge {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: rgba(247, 147, 26, 0.08);
border: 1px solid rgba(247, 147, 26, 0.3);
border-radius: 10px;
color: #f7931a;
font-size: 0.9rem;
font-weight: 500;
}