|
2 | 2 |
|
3 | 3 | {% block title %}Cancelar Pago - BlaBlaCar{% endblock %} |
4 | 4 |
|
5 | | -{% block styles %} |
| 5 | +{% block extra_styles %} |
6 | 6 | <style> |
| 7 | + :root { |
| 8 | + --apple-bg: #f5f5f7; |
| 9 | + --apple-card: #ffffff; |
| 10 | + --apple-text: #1d1d1f; |
| 11 | + --apple-secondary-text: #86868b; |
| 12 | + --apple-border: #d2d2d7; |
| 13 | + --apple-blue: #0071e3; |
| 14 | + --apple-green: #34c759; |
| 15 | + --apple-yellow: #ffd60a; |
| 16 | + --apple-red: #ff3b30; |
| 17 | + --apple-teal: #5ac8fa; |
| 18 | + } |
| 19 | + |
| 20 | + body { |
| 21 | + background-color: var(--apple-bg); |
| 22 | + font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; |
| 23 | + color: var(--apple-text); |
| 24 | + -webkit-font-smoothing: antialiased; |
| 25 | + } |
| 26 | + |
7 | 27 | .cancel-payment-container { |
8 | 28 | max-width: 600px; |
9 | | - margin: 0 auto; |
| 29 | + margin: 60px auto; |
10 | 30 | padding: 20px; |
11 | 31 | text-align: center; |
| 32 | + animation: fadeIn 0.3s ease; |
12 | 33 | } |
| 34 | + |
| 35 | + @keyframes fadeIn { |
| 36 | + from { opacity: 0; transform: translateY(10px); } |
| 37 | + to { opacity: 1; transform: translateY(0); } |
| 38 | + } |
| 39 | + |
13 | 40 | .cancel-payment-card { |
14 | | - background-color: #fff; |
15 | | - border-radius: 8px; |
16 | | - box-shadow: 0 2px 5px rgba(0,0,0,0.1); |
17 | | - padding: 30px; |
| 41 | + background-color: var(--apple-card); |
| 42 | + border-radius: 16px; |
| 43 | + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); |
| 44 | + padding: 40px; |
| 45 | + border: 1px solid var(--apple-border); |
18 | 46 | } |
19 | | - .payment-info { |
20 | | - margin: 20px 0; |
21 | | - padding: 15px; |
22 | | - background-color: #f8f9fa; |
23 | | - border-radius: var(--border-radius-sm); |
| 47 | + |
| 48 | + .cancel-payment-card h1 { |
| 49 | + font-weight: 600; |
| 50 | + font-size: 28px; |
| 51 | + letter-spacing: -0.02em; |
| 52 | + margin-bottom: 12px; |
| 53 | + color: var(--apple-text); |
24 | 54 | } |
25 | | - .warning-icon { |
26 | | - font-size: 3rem; |
27 | | - color: var(--color-warning); |
| 55 | + |
| 56 | + .cancel-payment-card p { |
| 57 | + color: var(--apple-secondary-text); |
| 58 | + font-size: 17px; |
| 59 | + line-height: 1.4; |
28 | 60 | margin-bottom: 20px; |
29 | 61 | } |
| 62 | + |
| 63 | + .warning-icon { |
| 64 | + font-size: 48px; |
| 65 | + margin-bottom: 24px; |
| 66 | + color: var(--apple-yellow); |
| 67 | + } |
| 68 | + |
| 69 | + .payment-info { |
| 70 | + margin: 28px 0; |
| 71 | + padding: 24px; |
| 72 | + background-color: var(--apple-bg); |
| 73 | + border-radius: 12px; |
| 74 | + text-align: left; |
| 75 | + border: 1px solid var(--apple-border); |
| 76 | + } |
| 77 | + |
| 78 | + .payment-info p { |
| 79 | + margin: 8px 0; |
| 80 | + font-size: 16px; |
| 81 | + color: var(--apple-text); |
| 82 | + } |
| 83 | + |
30 | 84 | .cancel-actions { |
31 | | - margin-top: 30px; |
| 85 | + margin-top: 36px; |
32 | 86 | display: flex; |
33 | 87 | justify-content: center; |
34 | | - gap: 15px; |
| 88 | + gap: 16px; |
| 89 | + } |
| 90 | + |
| 91 | + .button { |
| 92 | + padding: 12px 24px; |
| 93 | + border-radius: 22px; |
| 94 | + font-size: 15px; |
| 95 | + font-weight: 500; |
| 96 | + text-align: center; |
| 97 | + cursor: pointer; |
| 98 | + transition: all 0.2s ease; |
| 99 | + text-decoration: none; |
| 100 | + white-space: nowrap; |
| 101 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); |
| 102 | + border: none; |
| 103 | + } |
| 104 | + |
| 105 | + .button-danger { |
| 106 | + background-color: var(--apple-red); |
| 107 | + color: white; |
| 108 | + } |
| 109 | + |
| 110 | + .button-secondary { |
| 111 | + background-color: rgba(0, 0, 0, 0.05); |
| 112 | + color: var(--apple-text); |
| 113 | + } |
| 114 | + |
| 115 | + .button:hover { |
| 116 | + transform: translateY(-1px); |
| 117 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); |
35 | 118 | } |
36 | 119 | </style> |
37 | 120 | {% endblock %} |
|
0 commit comments