Spaces:
Runtime error
Runtime error
File size: 3,956 Bytes
d52cc5e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | /* ================= 1. تظبيط الصفحة الأساسية ================= */
.ticket-wrapper {
padding-left: 100px !important;
padding-right: 100px !important;
height: 100vh;
display: flex;
justify-content: center;
align-items: center; /* بيخلي التذكرة في نص الشاشة بالضبط */
overflow-y: auto;
background-color: var(--bg-color); /* لون الخلفية العام */
}
/* ================= 2. تصميم التذكرة ================= */
.ticket-container {
background: #0f172a; /* لون كحلي غامق شيك */
border: 1px solid #1e293b;
border-radius: 20px;
width: 100%;
max-width: 480px; /* عرض التذكرة */
box-shadow: 0 15px 35px rgba(0, 194, 184, 0.15);
overflow: hidden;
position: relative;
animation: popUp 0.5s ease-out;
}
@keyframes popUp {
0% { transform: scale(0.9); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}
/* حركة شيك: قطع التذكرة من الجنبين */
.ticket-container::before, .ticket-container::after {
content: '';
position: absolute;
top: 55%;
width: 40px;
height: 40px;
background: var(--bg-color); /* لازم يكون نفس لون خلفية الشاشة */
border-radius: 50%;
z-index: 2;
}
.ticket-container::before {
left: -20px;
box-shadow: inset -1px 0 0 #1e293b;
}
.ticket-container::after {
right: -20px;
box-shadow: inset 1px 0 0 #1e293b;
}
/* ================= 3. أقسام التذكرة ================= */
.ticket-header {
background: linear-gradient(135deg, rgba(0,194,184,0.15) 0%, rgba(15,23,42,0) 100%);
padding: 35px 20px 25px;
text-align: center;
border-bottom: 2px dashed #1e293b;
}
.check-icon {
font-size: 3.5rem;
color: #10b981;
margin-bottom: 15px;
filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
}
.ticket-header h2 {
color: #fff;
font-size: 1.8rem;
margin: 0 0 8px 0;
}
.ticket-header p {
color: #94a3b8;
margin: 0;
font-size: 0.95rem;
}
.ticket-details {
padding: 30px 40px;
}
.detail-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 22px;
}
.detail-label {
color: #94a3b8;
font-size: 1rem;
display: flex;
align-items: center;
gap: 10px;
}
.detail-label i {
color: #00c2b8;
font-size: 1.1rem;
}
.detail-value {
color: #fff;
font-weight: 700;
font-size: 1.1rem;
text-align: right;
}
.highlight-slot {
background: rgba(0, 194, 184, 0.1);
color: #00c2b8;
padding: 6px 16px;
border-radius: 8px;
border: 1px solid rgba(0, 194, 184, 0.3);
font-size: 1.2rem;
}
.detail-divider {
height: 0;
border-top: 2px dashed #1e293b;
margin: 30px 0;
}
.total-row .detail-label {
font-size: 1.2rem;
color: #fff;
font-weight: 600;
}
.total-price {
font-size: 1.8rem;
color: #00c2b8;
font-family: 'Urbanist', sans-serif;
text-shadow: 0 0 15px rgba(0, 194, 184, 0.3);
}
.ticket-footer {
padding: 10px 40px 40px;
}
.btn-primary-action {
width: 100%;
padding: 18px;
border-radius: 12px;
background: #00c2b8;
color: #fff;
border: none;
font-size: 1.2rem;
font-weight: 800;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
.btn-primary-action:hover {
background: #009b93;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 194, 184, 0.3);
}
@media screen and (max-width: 768px) {
/* الكود ده هيخلي الصور متخرجش برة شاشة الموبايل */
img {
max-width: 100% !important;
height: auto !important;
}
} |