chore: update

This commit is contained in:
2026-03-30 20:02:39 +02:00
parent 32e129da31
commit 25cd6429f2
32 changed files with 1024 additions and 540 deletions
+138 -73
View File
@@ -1,3 +1,40 @@
.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;
@@ -12,15 +49,12 @@
padding-top: calc(60px + clamp(1rem, 3vw, 2rem));
max-width: 1200px;
margin: 0 auto;
background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
}
.checkout-container h1 {
font-size: clamp(1.8rem, 5vw, 2.5rem);
background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: var(--text);
text-align: center;
margin-bottom: clamp(1.5rem, 4vw, 2rem);
font-weight: 300;
@@ -36,8 +70,8 @@
/* Résumé de la commande */
.order-summary-box {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
border: 1px solid rgba(255, 255, 255, 0.08);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
padding: clamp(1.5rem, 4vw, 2rem);
height: fit-content;
@@ -47,17 +81,17 @@
}
.order-summary-box:hover {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
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: white;
color: var(--text);
margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
padding-bottom: 1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
border-bottom: 1px solid var(--border);
font-weight: 600;
letter-spacing: -0.3px;
}
@@ -74,7 +108,7 @@
gap: clamp(1rem, 3vw, 1.5rem);
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
border-bottom: 1px solid var(--border);
transition: all 0.2s ease;
}
@@ -93,10 +127,10 @@
height: 80px;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border: 1px solid var(--border);
flex-shrink: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
background: var(--surface-2);
transition: transform 0.3s ease;
}
@@ -114,7 +148,7 @@
.summary-item-name {
margin: 0;
color: white;
color: var(--text);
font-weight: 600;
font-size: clamp(0.9rem, 3vw, 1rem);
line-height: 1.3;
@@ -122,7 +156,7 @@
.summary-item-details {
margin: 0;
color: rgba(255, 255, 255, 0.6);
color: var(--text-muted);
font-size: clamp(0.8rem, 2vw, 0.9rem);
}
@@ -131,10 +165,10 @@
justify-content: space-between;
align-items: center;
padding-top: clamp(1rem, 3vw, 1.5rem);
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-top: 1px solid var(--border);
font-size: clamp(1.1rem, 4vw, 1.3rem);
font-weight: 700;
color: white;
color: var(--text);
margin-top: clamp(1rem, 3vw, 1.5rem);
}
@@ -146,8 +180,8 @@
/* Formulaire */
.checkout-form {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
border: 1px solid rgba(255, 255, 255, 0.08);
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);
@@ -160,7 +194,7 @@
padding: clamp(1rem, 3vw, 1.5rem);
margin-bottom: clamp(1rem, 3vw, 1.5rem);
border-radius: 8px;
color: #f472b6;
color: #f87171;
font-weight: 500;
box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}
@@ -175,10 +209,10 @@
.form-section h3 {
font-size: clamp(1.1rem, 3vw, 1.2rem);
color: white;
color: var(--text);
margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
padding-bottom: 0.75rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
border-bottom: 1px solid var(--border);
font-weight: 600;
letter-spacing: -0.3px;
}
@@ -197,25 +231,25 @@
}
.form-group label {
color: rgba(255, 255, 255, 0.9);
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 rgba(255, 255, 255, 0.1);
border: 1px solid var(--border);
border-radius: 10px;
font-size: clamp(0.9rem, 3vw, 1rem);
color: white;
background-color: rgba(255, 255, 255, 0.03);
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: rgba(255, 255, 255, 0.3);
color: var(--text-muted);
}
.form-group input:focus {
@@ -226,10 +260,10 @@
}
.form-group input:disabled {
background-color: rgba(255, 255, 255, 0.02);
background-color: var(--surface);
cursor: not-allowed;
opacity: 0.5;
border-color: rgba(255, 255, 255, 0.05);
border-color: var(--border);
}
/* Actions */
@@ -237,7 +271,7 @@
display: flex;
gap: 1rem;
padding-top: clamp(1.5rem, 4vw, 2rem);
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-top: 1px solid var(--border);
margin-top: clamp(1.5rem, 4vw, 2rem);
}
@@ -261,15 +295,15 @@
}
.back-button {
background-color: #1a1a1a;
color: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(255, 255, 255, 0.15);
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: #252525;
border-color: rgba(255, 255, 255, 0.25);
background-color: var(--surface-2);
border-color: var(--text-muted);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
@@ -353,7 +387,7 @@
}
.confirmation-modal {
background: #1a1a1a;
background: var(--surface);
border: 2px solid #5b21b6;
border-radius: 20px;
max-width: 600px;
@@ -376,7 +410,7 @@
}
.confirmation-modal-header {
background: #0f0f0f;
background: var(--bg);
padding: 2rem;
border-bottom: 2px solid #5b21b6;
display: flex;
@@ -404,20 +438,20 @@
.confirmation-modal-header h2 {
margin: 0;
font-size: clamp(1.5rem, 4vw, 2rem);
color: #ffffff;
color: var(--text);
font-weight: 700;
letter-spacing: -0.5px;
}
.confirmation-modal-body {
padding: 2rem;
background: #1a1a1a;
background: var(--surface);
}
.confirmation-section {
margin-bottom: 1.5rem;
padding: 1.25rem;
background: #0f0f0f;
background: var(--bg);
border-radius: 12px;
border: 1px solid #5b21b6;
}
@@ -431,7 +465,7 @@
align-items: center;
gap: 0.75rem;
font-size: 1.1rem;
color: #ffffff;
color: var(--text);
font-weight: 600;
margin-bottom: 1rem;
}
@@ -445,7 +479,7 @@
}
.confirmation-detail {
color: rgba(255, 255, 255, 0.8);
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.8;
margin: 0.5rem 0;
@@ -453,7 +487,7 @@
}
.confirmation-detail strong {
color: rgba(255, 255, 255, 0.95);
color: var(--text);
font-weight: 600;
}
@@ -494,19 +528,19 @@
}
.confirmation-footer {
color: rgba(255, 255, 255, 0.75);
color: var(--text-muted);
font-size: 0.9rem;
line-height: 1.8;
text-align: center;
padding: 1.25rem;
background: #0f0f0f;
background: var(--bg);
border-radius: 12px;
border: 1px solid #5b21b6;
margin-top: 1.5rem;
}
.confirmation-footer-highlight {
color: rgba(255, 255, 255, 0.95);
color: var(--text);
font-weight: 600;
display: inline-flex;
align-items: center;
@@ -532,7 +566,7 @@
.confirmation-modal-actions {
padding: 1.5rem 2rem 2rem;
background: #1a1a1a;
background: var(--surface);
border-radius: 0 0 18px 18px;
}
@@ -568,6 +602,37 @@
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;
@@ -879,7 +944,7 @@
}
.back-button:hover {
background-color: #1a1a1a;
background-color: var(--surface);
transform: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
@@ -920,7 +985,7 @@
}
.referral-toggle-label {
color: #e5e7eb;
color: var(--text);
font-size: 0.9rem;
font-weight: 600;
margin: 0 0 0.2rem;
@@ -950,7 +1015,7 @@
.referral-switch-slider {
position: absolute;
inset: 0;
background: #374151;
background: var(--surface-2);
border-radius: 26px;
cursor: pointer;
transition: background 0.2s;
@@ -988,10 +1053,10 @@
.payment-method-btn {
flex: 1;
padding: 0.75rem 1rem;
border: 2px solid #2d2d2d;
border: 2px solid var(--border);
border-radius: 10px;
background: #1a1a1a;
color: #9ca3af;
background: var(--surface);
color: var(--text-muted);
font-size: 0.95rem;
cursor: pointer;
transition: all 0.2s;
@@ -1002,8 +1067,8 @@
}
.payment-method-btn:hover {
border-color: #4b5563;
color: #fff;
border-color: var(--text-muted);
color: var(--text);
}
.payment-method-btn.active {
@@ -1022,7 +1087,7 @@
.crypto-currency-selector label {
display: block;
font-size: 0.85rem;
color: #9ca3af;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
@@ -1034,10 +1099,10 @@
.crypto-currency-btn {
padding: 0.4rem 0.9rem;
border: 2px solid #2d2d2d;
border: 2px solid var(--border);
border-radius: 8px;
background: #1a1a1a;
color: #9ca3af;
background: var(--surface);
color: var(--text-muted);
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
@@ -1046,8 +1111,8 @@
}
.crypto-currency-btn:hover {
border-color: #4b5563;
color: #fff;
border-color: var(--text-muted);
color: var(--text);
}
.crypto-currency-btn.active {
@@ -1058,7 +1123,7 @@
.crypto-info-hint {
font-size: 0.78rem;
color: #6b7280;
color: var(--text-muted);
margin-top: 0.6rem;
}
@@ -1069,8 +1134,8 @@
display: flex;
align-items: center;
gap: 0.75rem;
background: #111;
border: 1px solid #2d2d2d;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.75rem 1rem;
margin-top: 0.5rem;
@@ -1080,17 +1145,17 @@
.crypto-address {
font-family: monospace;
font-size: 0.78rem;
color: #d1d5db;
color: var(--text-muted);
word-break: break-all;
flex: 1;
}
.crypto-copy-btn {
padding: 0.35rem 0.75rem;
border: 1px solid #374151;
border: 1px solid var(--border);
border-radius: 6px;
background: #1f2937;
color: #9ca3af;
background: var(--surface-2);
color: var(--text-muted);
font-size: 0.8rem;
cursor: pointer;
white-space: nowrap;
@@ -1098,12 +1163,12 @@
}
.crypto-copy-btn:hover {
background: #374151;
color: #fff;
background: var(--surface);
color: var(--text);
}
.crypto-equiv {
color: #6b7280;
color: var(--text-muted);
font-size: 0.85rem;
margin-left: 0.5rem;
}
@@ -1117,7 +1182,7 @@
.crypto-polling-info {
text-align: center;
color: #6b7280;
color: var(--text-muted);
font-size: 0.82rem;
margin-top: 0.5rem;
}