mkcart / frontend /src /styles /OrderPage.css
Kumar
updated
c2efbe6
.Premium-order-history-page {
position: relative;
min-height: 100vh;
background: linear-gradient(135deg, #010a0d 0%, #041827 25%, #050f1d 50%, #051a34 75%, #41052487 100%);
padding: 120px 0 80px;
overflow: hidden;
}
.order-cosmic-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.cosmic-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.cosmic-particle {
position: absolute;
width: 3px;
height: 3px;
background: linear-gradient(45deg, #667eea, #764ba2);
border-radius: 50%;
filter: blur(1px);
}
.floating-elements {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.floating-element {
position: absolute;
color: rgba(102, 126, 234, 0.4);
filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}
.container {
position: relative;
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
z-index: 2;
}
.order-loading {
display: flex;
justify-content: center;
align-items: center;
min-height: 80vh;
}
.Premium-loading-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 80vh;
}
.cosmic-loader {
display: flex;
flex-direction: column;
align-items: center;
gap: 30px;
}
.loader-rings {
position: relative;
width: 120px;
height: 120px;
}
.loader-ring {
position: absolute;
border: 3px solid transparent;
border-radius: 50%;
border-top-color: #667eea;
}
.loader-ring:nth-child(1) {
width: 120px;
height: 120px;
border-top-color: #667eea;
}
.loader-ring:nth-child(2) {
width: 90px;
height: 90px;
top: 15px;
left: 15px;
border-top-color: #f6d365;
}
.loader-ring:nth-child(3) {
width: 60px;
height: 60px;
top: 30px;
left: 30px;
border-top-color: #ff9a9e;
}
.loader-ring:nth-child(4) {
width: 30px;
height: 30px;
top: 45px;
left: 45px;
border-top-color: #a8edea;
}
.loader-text {
display: flex;
align-items: center;
gap: 12px;
color: white;
font-size: 1.2rem;
font-weight: 600;
}
.page-header {
margin-bottom: 50px;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 30px;
}
.title-section {
display: flex;
align-items: center;
gap: 20px;
}
.order-icon {
padding: 20px;
background: rgba(102, 126, 234, 0.1);
border-radius: 25px;
color: #667eea;
backdrop-filter: blur(20px);
border: 1px solid rgba(102, 126, 234, 0.2);
box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}
.gradient-text-Premium {
font-size: 3rem;
font-weight: 800;
background: linear-gradient(135deg, #f6d365 0%, #fda085 25%, #ff9a9e 50%, #a8edea 75%, #fed6e3 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 0 50px rgba(246, 211, 101, 0.3);
margin: 0;
}
.page-subtitle {
color: rgba(255, 255, 255, 0.8);
font-size: 1.2rem;
font-weight: 300;
margin-top: 8px;
}
.header-stats {
display: flex;
gap: 25px;
flex-wrap: wrap;
}
.stat-item {
display: flex;
align-items: center;
gap: 15px;
padding: 20px;
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.stat-item:hover {
transform: translateY(-5px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.stat-icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #667eea, #764ba2);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
color: white;
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}
.stat-info {
display: flex;
flex-direction: column;
}
.stat-value {
font-size: 1.5rem;
font-weight: 800;
background: linear-gradient(135deg, #4ecdc4, #45b7d1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stat-label {
color: rgba(255, 255, 255, 0.7);
font-size: 0.9rem;
font-weight: 500;
}
.filters-section {
margin-bottom: 40px;
padding: 30px;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(30px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 25px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
}
@media (max-width: 1024px) {
.filters-section {
flex-direction: column;
align-items: stretch;
}
.filter-controls {
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
}
@media (max-width: 768px) {
.filters-section {
padding: 20px;
}
.filter-controls {
flex-direction: column;
gap: 15px;
}
.results-count {
margin-left: 0;
text-align: center;
}
}
@media (max-width: 480px) {
.filters-section {
padding: 15px 10px;
}
.filter-controls {
gap: 12px;
}
.filter-group {
width: 100%;
}
.Premium-select {
width: 100%;
}
}
.filter-controls {
display: flex;
align-items: center;
gap: 24px;
margin: 0;
}
.searchh-container {
position: relative;
width: 100%;
max-width: 400px;
margin: 0 auto;
}
.searchh-input-wrapper {
position: relative;
}
.searchh-input-wrapper input {
width: 100%;
padding: 10px 15px 10px 45px;
font-size: 16px;
border: none;
border-radius: 30px;
background: rgba(255, 255, 255, 0.15);
color: #fff;
outline: none;
backdrop-filter: blur(6px);
transition: background 0.3s ease, box-shadow 0.3s ease;
}
.searchh-input-wrapper input::placeholder {
color: rgba(255, 255, 255, 0.6);
}
.searchh-input-wrapper input:focus {
background: rgba(255, 255, 255, 0.25);
box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
.searchh-icon {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: rgba(255, 255, 255, 0.7);
font-size: 18px;
pointer-events: none;
}
.search-input {
width: 100%;
padding: 16px 20px 16px 50px;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 25px;
color: white;
font-size: 1rem;
transition: all 0.3s ease;
}
.search-input:focus {
outline: none;
background: rgba(255, 255, 255, 0.15);
border-color: rgba(102, 126, 234, 0.5);
box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}
.search-input::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.filter-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.filter-group label {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
font-weight: 500;
}
.Premium-select {
padding: 10px 16px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 15px;
color: white;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.Premium-select:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.3);
}
.Premium-select option {
background: #1a1a2e;
color: white;
}
.filter-dropdown {
position: relative;
width: 100%;
min-width: 180px;
padding:10px;
z-index: 99999;
}
.filter-dropdown-selected {
color: white;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.filter-dropdown-selected:hover {
border-color: rgba(255, 255, 255, 0.5);
}
.dropdown-arrow {
transition: transform 0.3s ease;
color: rgba(255, 255, 255, 0.7);
}
.dropdown-arrow.open {
transform: rotate(180deg);
}
.filter-dropdown-options {
position: absolute;
top: 100%;
left: 0;
right: 0;
margin-bottom: 16px;
background: rgba(73, 96, 115, 0.777);
backdrop-filter: blur(20px);
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
z-index: 9999999;
max-height: 150px;
overflow-y: auto;
}
.filter-dropdown-option {
padding: 12px 16px;
color: white;
cursor: pointer;
transition: all 0.2s ease;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.filter-dropdown-option:last-child {
border-bottom: none;
}
.filter-dropdown-option:hover {
background: rgba(23, 75, 97, 0.875);
}
.filter-dropdown-option.selected {
background: rgba(7, 52, 85, 0.878);
font-weight: 600;
}
.filter-dropdown-options::-webkit-scrollbar {
width: 6px;
}
.filter-dropdown-options::-webkit-scrollbar-track {
background: rgba(105, 97, 97, 0.414);
border-radius: 3px;
}
.filter-dropdown-options::-webkit-scrollbar-thumb {
background: rgba(8, 56, 80, 0.121);
border-radius: 3px;
}
.results-count {
margin-left: 0;
display: flex;
align-items: center;
gap: 8px;
color: rgba(255, 255, 255, 0.7);
font-size: 0.9rem;
font-weight: 500;
}
.orders-list {
display: flex;
flex-direction: column;
gap: 25px;
margin-bottom: 50px;
}
@media (min-width: 1025px) {
.orders-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
gap: 25px;
}
}
.order-card {
position: relative;
padding: 30px;
border-radius: 25px;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
cursor: pointer;
display: flex;
flex-direction: column;
height: 100%;
}
.order-card:hover {
transform: translateY(-10px);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.order-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
flex-wrap: wrap;
gap: 15px;
}
@media (max-width: 768px) {
.order-header {
justify-content: space-between;
}
.delete-order-btn {
margin-left: auto;
}
}
.order-info {
display: flex;
flex-direction: column;
gap: 8px;
}
.order-number {
font-size: 1.3rem;
font-weight: 700;
color: white;
}
.order-date {
display: flex;
align-items: center;
gap: 8px;
color: rgba(255, 255, 255, 0.7);
font-size: 0.95rem;
font-weight: 500;
}
.order-status {
display: flex;
align-items: center;
}
.status-badge {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
backdrop-filter: blur(10px);
text-transform: capitalize;
}
.order-items {
margin-bottom: 25px;
}
.order-items-list ul {
margin: 0;
padding: 0;
list-style: none;
}
.order-items-list li {
margin-bottom: 12px;
}
.order-item {
display: flex;
align-items: center;
gap: 15px;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.order-item:last-child {
border-bottom: none;
}
.item-image {
width: 70px;
height: 70px;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.item-details {
flex: 1;
}
.item-name {
font-weight: 600;
color: white;
margin-bottom: 4px;
font-size: 1rem;
}
.item-price {
color: rgba(255, 255, 255, 0.7);
font-size: 0.9rem;
font-weight: 500;
}
.more-items {
color: #667eea;
font-size: 0.9rem;
text-align: center;
padding: 12px;
background: rgba(102, 126, 234, 0.1);
border-radius: 12px;
margin-top: 10px;
font-weight: 500;
border: 1px solid rgba(102, 126, 234, 0.2);
}
.order-footer {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
margin-top: auto;
}
.order-total {
display: flex;
align-items: center;
gap: 10px;
}
.total-label {
color: rgba(255, 255, 255, 0.7);
font-size: 1rem;
font-weight: 500;
}
.total-amount {
font-size: 1.5rem;
font-weight: 800;
background: linear-gradient(135deg, #4ecdc4, #45b7d1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.order-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.action-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
color: white;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
backdrop-filter: blur(10px);
transition: all 0.3s ease;
}
.action-btn:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.action-btn.view {
background: rgba(102, 126, 234, 0.2);
border-color: rgba(102, 126, 234, 0.3);
}
.action-btn.download {
background: rgba(76, 175, 80, 0.2);
border-color: rgba(76, 175, 80, 0.3);
}
.action-btn.track {
background: rgba(156, 39, 176, 0.2);
border-color: rgba(156, 39, 176, 0.3);
}
.action-btn.reorder {
background: rgba(255, 152, 0, 0.2);
border-color: rgba(255, 152, 0, 0.3);
}
.card-glow {
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(246, 211, 101, 0.3));
border-radius: 27px;
filter: blur(20px);
z-index: -1;
opacity: 0;
transition: opacity 0.4s ease;
}
.order-card:hover .card-glow {
opacity: 1;
}
.card-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
.card-particle {
position: absolute;
width: 4px;
height: 4px;
background: #f6d365;
border-radius: 50%;
opacity: 0;
animation: cardParticleFloat 3s ease-in-out infinite;
}
.particle-1 {
top: 20%;
left: 20%;
animation-delay: 0s;
}
.particle-2 {
top: 20%;
right: 20%;
animation-delay: 0.5s;
}
.particle-3 {
bottom: 20%;
left: 20%;
animation-delay: 1s;
}
.particle-4 {
bottom: 20%;
right: 20%;
animation-delay: 1.5s;
}
.particle-5 {
top: 50%;
left: 10%;
animation-delay: 2s;
}
.particle-6 {
top: 50%;
right: 10%;
animation-delay: 2.5s;
}
@keyframes cardParticleFloat {
0%,
100% {
opacity: 0;
transform: translateY(0) scale(0);
}
50% {
opacity: 1;
transform: translateY(-20px) scale(1);
}
}
.empty-orders {
text-align: center;
padding: 80px 40px;
}
.empty-content {
max-width: 600px;
margin: 0 auto;
}
.empty-icon {
margin-bottom: 30px;
}
.empty-title {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 20px;
}
.empty-subtitle {
color: rgba(255, 255, 255, 0.8);
font-size: 1.2rem;
margin-bottom: 40px;
line-height: 1.6;
}
.empty-actions {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}
.clear-filters-btn {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 16px 32px;
border: none;
border-radius: 50px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.4s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.Premium-btn-primary {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
}
.clear-filters-btn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}
.order-details-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 20px;
}
.order-details-modal {
min-height: 70vh;
max-height: none;
overflow-y: visible;
display: flex;
flex-direction: column;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 30px 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-title {
display: flex;
align-items: center;
gap: 12px;
font-size: 1.6rem;
font-weight: 700;
color: white;
}
.close-btn {
width: 45px;
height: 45px;
border: none;
background: rgba(255, 255, 255, 0.1);
color: white;
border-radius: 50%;
font-size: 1.5rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.close-btn:hover {
background: rgba(255, 255, 255, 0.2);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.modal-content {
padding: 30px;
}
.order-summary {
margin-bottom: 30px;
padding: 25px;
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.summary-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.summary-row:last-child {
border-bottom: none;
}
.summary-row span:first-child {
color: rgba(255, 255, 255, 0.7);
font-weight: 500;
}
.summary-row span:last-child {
color: white;
font-weight: 600;
}
.highlight {
color: #4ecdc4 !important;
font-weight: 700 !important;
}
.cancel-reason {
color: #ff6b6b !important;
font-style: italic;
}
.order-items-detailed {
margin-bottom: 30px;
}
.order-items-detailed h3 {
margin-bottom: 20px;
color: white;
font-size: 1.3rem;
font-weight: 600;
}
.detailed-item {
display: flex;
align-items: center;
gap: 20px;
padding: 20px;
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
margin-bottom: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.detailed-item:hover {
background: rgba(255, 255, 255, 0.08);
transform: translateY(-2px);
}
.detailed-item-image {
width: 90px;
height: 90px;
object-fit: cover;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.detailed-item-info {
flex: 1;
}
.detailed-item-name {
font-weight: 600;
color: white;
margin-bottom: 8px;
font-size: 1.1rem;
}
.detailed-item-price {
color: rgba(255, 255, 255, 0.7);
font-size: 0.95rem;
font-weight: 500;
}
.detailed-item-total {
font-weight: 700;
background: linear-gradient(135deg, #4ecdc4, #45b7d1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 1.2rem;
}
.shipping-info,
.payment-info {
margin-bottom: 30px;
}
.shipping-info h3,
.payment-info h3 {
margin-bottom: 20px;
color: white;
font-size: 1.3rem;
font-weight: 600;
}
.address-card,
.payment-card {
padding: 25px;
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.address-row,
.payment-row {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
color: rgba(255, 255, 255, 0.8);
font-weight: 500;
}
.address-row:last-child,
.payment-row:last-child {
margin-bottom: 0;
}
.address-name {
font-weight: 700 !important;
color: white !important;
font-size: 1.1rem;
}
.payment-row.total-row {
justify-content: space-between;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: 20px;
font-size: 1.1rem;
}
.payment-row.total-row .total-amount {
font-weight: 800;
background: linear-gradient(135deg, #4ecdc4, #45b7d1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 1.3rem;
}
.modal-actions {
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
.modal-action-btn {
display: flex;
align-items: center;
gap: 10px;
padding: 18px 36px;
border: 1.5px solid rgba(255,255,255,0.18);
border-radius: 22px;
color: #fff;
font-weight: 800;
font-size: 1.08rem;
cursor: pointer;
letter-spacing: 0.5px;
outline: none;
text-transform: uppercase;
box-shadow: 0 4px 32px 0 rgba(80, 80, 180, 0.10), 0 1.5px 16px 0 rgba(246, 211, 101, 0.08);
background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.10) 100%);
backdrop-filter: blur(18px) saturate(180%);
transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border 0.2s;
position: relative;
overflow: hidden;
}
.modal-action-bttn.download {
background: linear-gradient(135deg, #14923e 0%, #38f9d7 50%, #05837c 100%);
color: #eef0f8;
border: 1.5px solid #38f9d7;
box-shadow: 0 4px 32px 0 rgba(67, 233, 123, 0.13);
}
.modal-action-bttn.reorder {
background: linear-gradient(135deg, #f6d365 0%, #fda085 50%, #fbc2eb 100%);
color: #fff;
border: 1.5px solid #fda085;
box-shadow: 0 4px 32px 0 rgba(246, 211, 101, 0.13);
}
.modal-action-bttn.support {
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #89f7fe 100%);
color: #ecedf5;
border: 1.5px solid #764ba2;
box-shadow: 0 4px 32px 0 rgba(102, 126, 234, 0.13);
}
.modal-action-bttn.cancel {
background: linear-gradient(135deg, #ff6b6b 0%, #fda085 50%, #f857a6 100%);
color: #fff;
border: 1.5px solid #ff6b6b;
box-shadow: 0 4px 32px 0 rgba(255, 107, 107, 0.13);
}
.modal-action-btn:before {
content: '';
position: absolute;
inset: 0;
border-radius: 22px;
background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 100%);
filter: blur(10px);
opacity: 0.7;
z-index: 0;
pointer-events: none;
}
.modal-action-btn span, .modal-action-btn svg {
position: relative;
z-index: 1;
}
.modal-action-btn:hover {
filter: brightness(1.12) saturate(1.2);
transform: translateY(-2px) scale(1.04);
box-shadow: 0 8px 32px rgba(246, 211, 101, 0.18), 0 2px 24px rgba(102, 126, 234, 0.13);
border: 1.5px solid #fff;
}
.order-details-modal {
background: rgba(34, 54, 68, 0.344);
box-shadow: 0 16px 64px 0 rgba(80, 80, 180, 0.25), 0 1.5px 16px 0 rgba(246, 211, 101, 0.08);
border-radius: 32px;
border: 2.5px solid rgba(246, 211, 101, 0.13);
backdrop-filter: blur(24px) saturate(180%);
overflow: hidden;
animation: modalPopIn 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes modalPopIn {
0% { transform: scale(0.85) translateY(60px); opacity: 0; }
100% { transform: scale(1) translateY(0); opacity: 1; }
}
.order-details-content {
min-height: 70vh;
max-height: none;
overflow-y: visible;
padding: 48px 40px 64px 40px;
color: #fff;
position: relative;
}
.close-modal-btn {
position: absolute;
top: 24px;
right: 32px;
background: linear-gradient(135deg, #ff9a9e, #fad0c4);
color: #232946;
border: none;
border-radius: 50%;
width: 44px;
height: 44px;
font-size: 2rem;
font-weight: 700;
box-shadow: 0 2px 12px rgba(255, 154, 158, 0.18);
cursor: pointer;
transition: background 0.2s, box-shadow 0.2s;
z-index: 10;
}
.close-modal-btn:hover {
background: linear-gradient(135deg, #f6d365, #fda085);
box-shadow: 0 4px 24px rgba(246, 211, 101, 0.18);
}
.order-details-content h2 {
font-size: 2.2rem;
font-weight: 800;
background: linear-gradient(135deg, #f6d365, #fda085, #a8edea);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 18px;
letter-spacing: 1px;
}
.order-details-content ul {
margin: 0 0 18px 0;
padding: 0 0 0 12px;
}
.order-details-content li {
margin-bottom: 15px;
font-size: 1.08rem;
display: flex;
align-items: center;
gap: 8px;
}
.order-details-content img {
box-shadow: 0 2px 12px rgba(102, 126, 234, 0.18);
margin: 5px;
}
.order-status-badge {
display: inline-block;
padding: 6px 18px;
border-radius: 16px;
font-size: 1rem;
font-weight: 700;
background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
color: #232946 !important;
box-shadow: 0 2px 12px rgba(67, 233, 123, 0.13);
margin-left: 8px;
}
.order-details-actions {
margin-top: 32px !important;
display: flex;
gap: 20px;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.modal-action-btn {
background: linear-gradient(135deg, #667eea, #764ba2);
color: #fff;
border: none;
border-radius: 18px;
padding: 14px 32px;
font-size: 1.08rem;
font-weight: 700;
box-shadow: 0 2px 16px rgba(102, 126, 234, 0.13);
transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
cursor: pointer;
letter-spacing: 0.5px;
outline: none;
}
.modal-action-btn.download {
background: linear-gradient(135deg, #43e97b, #38f9d7);
color: #232946;
}
.modal-action-btn.reorder {
background: linear-gradient(135deg, #f6d365, #fda085);
color: #232946;
}
.modal-action-btn.support {
background: linear-gradient(135deg, #667eea, #764ba2);
color: #fff;
}
.modal-action-btn.cancel {
background: linear-gradient(135deg, #ff6b6b, #fda085);
color: #fff;
}
.modal-action-btn:hover {
transform: translateY(-2px) scale(1.04);
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
filter: brightness(1.08);
}
.order-status-progress {
margin: 32px 0 18px 0;
display: flex;
justify-content: center;
align-items: center;
gap: 0;
background: rgba(255,255,255,0.04);
border-radius: 18px;
padding: 18px 0 10px 0;
box-shadow: 0 2px 16px rgba(102, 126, 234, 0.08);
}
.order-status-progress > div {
position: relative;
}
.order-status-progress span {
font-size: 1.01rem !important;
font-weight: 600;
letter-spacing: 0.2px;
margin-top: 2px;
}
.order-status-progress .status-badge {
background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
color: #232946;
font-weight: 700;
border-radius: 16px;
padding: 6px 18px;
box-shadow: 0 2px 12px rgba(67, 233, 123, 0.13);
}
.order-status-progress .cancelled {
background: linear-gradient(135deg, #ff6b6b, #fda085);
color: #fff;
font-weight: 700;
border-radius: 16px;
padding: 6px 18px;
box-shadow: 0 2px 12px rgba(255, 107, 107, 0.13);
}
.order-extra-info {
background: rgba(255,255,255,0.06);
border-radius: 14px;
padding: 18px 24px;
margin-bottom: 18px;
box-shadow: 0 2px 16px rgba(246, 211, 101, 0.10);
color: #fff;
font-size: 1.08rem;
border: 1.5px solid rgba(246, 211, 101, 0.13);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.order-extra-info b {
color: #f6d365;
font-weight: 800;
letter-spacing: 0.2px;
display: block;
margin-bottom: 4px;
}
.order-extra-info span, .order-extra-info div {
color: #fff !important;
font-weight: 600;
letter-spacing: 0.1px;
opacity: 0.95;
text-align: center;
margin-bottom: 2px;
}
@media (max-width: 600px) {
.order-details-content {
min-height: 60vh;
max-height: none;
padding: 18px 4px 32px 4px;
}
.order-details-modal {
min-height: 60vh;
max-height: none;
}
.order-details-actions {
flex-direction: column;
gap: 12px;
justify-content: center;
align-items: center;
}
}
@media (max-width: 1024px) {
.header-content {
flex-direction: column;
text-align: center;
gap: 20px;
}
.header-stats {
justify-content: center;
}
.filter-controls {
flex-direction: column;
gap: 15px;
}
.results-count {
margin-left: 0;
}
.order-footer {
flex-direction: column;
align-items: stretch;
}
.order-actions {
justify-content: center;
}
}
@media (max-width: 768px) {
.Premium-order-history-page {
padding: 100px 0 60px;
}
.gradient-text-Premium {
font-size: 2.2rem;
}
.filters-section {
padding: 20px;
}
.search-input-wrapper {
max-width: 100%;
}
.filter-controls {
flex-direction: column;
align-items: stretch;
}
.filter-group {
width: 100%;
}
.Premium-select {
width: 100%;
}
.order-card {
padding: 20px;
}
.order-header {
flex-direction: column;
align-items: stretch;
text-align: center;
}
.order-footer {
flex-direction: column;
text-align: center;
}
.order-actions {
flex-direction: column;
}
.action-btn {
justify-content: center;
}
.modal-actions {
flex-direction: column;
}
.order-details-overlay {
padding: 10px;
}
.modal-header {
padding: 20px;
}
.modal-content {
padding: 20px;
}
}
@media (max-width: 480px) {
.container {
padding: 0 15px;
}
.gradient-text-Premium {
font-size: 1.8rem;
}
.header-stats {
flex-direction: column;
width: 100%;
}
.stat-item {
justify-content: center;
}
.order-actions {
gap: 8px;
}
.action-btn {
padding: 8px 12px;
font-size: 0.8rem;
}
.empty-title {
font-size: 2rem;
}
.empty-subtitle {
font-size: 1rem;
}
}
@media (max-width: 375px) {
.Premium-order-history-page {
padding: 80px 0 40px;
}
.container {
padding: 0 10px;
}
.gradient-text-Premium {
font-size: 1.5rem;
line-height: 1.2;
}
.page-subtitle {
font-size: 0.9rem;
line-height: 1.3;
}
.header-stats {
gap: 12px;
}
.stat-item {
padding: 12px 8px;
min-width: 120px;
}
.stat-value {
font-size: 1.1rem;
}
.stat-label {
font-size: 0.75rem;
}
.filters-section {
padding: 15px 10px;
}
.search-input {
font-size: 0.9rem;
padding: 10px 12px;
}
.Premium-select {
font-size: 0.9rem;
padding: 10px 12px;
}
.order-card {
padding: 15px 10px;
margin-bottom: 15px;
}
.order-header {
gap: 8px;
}
.order-number {
font-size: 0.9rem;
}
.order-date {
font-size: 0.8rem;
}
.status-badge {
font-size: 0.75rem;
padding: 4px 8px;
}
.order-item {
padding: 8px 0;
}
.item-name {
font-size: 0.85rem;
line-height: 1.2;
}
.item-price {
font-size: 0.8rem;
}
.order-total {
font-size: 0.9rem;
}
.total-amount {
font-size: 1rem;
}
.action-btn {
padding: 6px 10px;
font-size: 0.75rem;
min-width: 60px;
}
.action-btn svg {
width: 14px;
height: 14px;
}
.empty-title {
font-size: 1.6rem;
}
.empty-subtitle {
font-size: 0.9rem;
line-height: 1.4;
}
.order-details-modal {
margin: 10px;
max-height: 90vh;
}
.modal-header {
padding: 15px 10px;
}
.modal-title {
font-size: 1.2rem;
}
.modal-content {
padding: 15px 10px;
}
.detailed-item {
padding: 10px 8px;
}
.detailed-item-name {
font-size: 0.85rem;
}
.detailed-item-price {
font-size: 0.8rem;
}
.modal-action-btn {
padding: 8px 12px;
font-size: 0.8rem;
}
}
@media (max-width: 320px) {
.Premium-order-history-page {
padding: 70px 0 30px;
}
.container {
padding: 0 8px;
}
.gradient-text-Premium {
font-size: 1.3rem;
}
.page-subtitle {
font-size: 0.8rem;
}
.header-stats {
gap: 8px;
}
.stat-item {
padding: 10px 6px;
min-width: 100px;
}
.stat-value {
font-size: 1rem;
}
.stat-label {
font-size: 0.7rem;
}
.filters-section {
padding: 12px 8px;
}
.search-input {
font-size: 0.85rem;
padding: 8px 10px;
}
.Premium-select {
font-size: 0.85rem;
padding: 8px 10px;
}
.order-card {
padding: 12px 8px;
margin-bottom: 12px;
}
.order-number {
font-size: 0.85rem;
}
.order-date {
font-size: 0.75rem;
}
.status-badge {
font-size: 0.7rem;
padding: 3px 6px;
}
.item-name {
font-size: 0.8rem;
}
.item-price {
font-size: 0.75rem;
}
.order-total {
font-size: 0.85rem;
}
.total-amount {
font-size: 0.9rem;
}
.action-btn {
padding: 5px 8px;
font-size: 0.7rem;
min-width: 50px;
}
.action-btn svg {
width: 12px;
height: 12px;
}
.empty-title {
font-size: 1.4rem;
}
.empty-subtitle {
font-size: 0.8rem;
}
.order-details-modal {
margin: 5px;
max-height: 95vh;
}
.modal-header {
padding: 12px 8px;
}
.modal-title {
font-size: 1.1rem;
}
.modal-content {
padding: 12px 8px;
}
.detailed-item {
padding: 8px 6px;
}
.detailed-item-name {
font-size: 0.8rem;
}
.detailed-item-price {
font-size: 0.75rem;
}
.modal-action-btn {
padding: 6px 10px;
font-size: 0.75rem;
}
}
.order-card {
will-change: transform;
}
.floating-element {
will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
.floating-element,
.cosmic-particle,
.card-particle {
animation: none;
}
.order-card,
.action-btn,
.modal-action-btn {
transition: none;
}
}
.action-btn:focus,
.modal-action-btn:focus,
.close-btn:focus,
.search-input:focus {
outline: 2px solid rgba(102, 126, 234, 0.5);
outline-offset: 2px;
}
@media (prefers-contrast: high) {
.Premium-order-history-page {
background: #000;
}
.order-card {
border: 2px solid white;
background: rgba(0, 0, 0, 0.8);
}
.gradient-text-Premium {
color: white;
}
.action-btn,
.modal-action-btn {
border: 2px solid white;
}
}
.order-confetti {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1001;
}
.confetti-piece {
position: absolute;
top: 0;
font-size: 2.2rem;
opacity: 0.85;
animation: confettiDrop 1.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes confettiDrop {
0% { transform: translateY(-40px) rotate(-10deg) scale(0.7); opacity: 0.7; }
60% { opacity: 1; }
100% { transform: translateY(420px) rotate(20deg) scale(1.1); opacity: 0; }
}
.pulse-animate {
animation: pulseGlow 1.2s infinite alternate cubic-bezier(0.4, 0, 0.6, 1);
box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.18), 0 0 16px 4px rgba(67, 233, 123, 0.13);
}
@keyframes pulseGlow {
0% { box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.18), 0 0 16px 4px rgba(67, 233, 123, 0.13); }
100% { box-shadow: 0 0 0 12px rgba(67, 233, 123, 0.04), 0 0 32px 8px rgba(67, 233, 123, 0.18); }
}
.modal-action-bttn {
display: flex;
align-items: center;
gap: 12px;
padding: 22px 48px;
border: 2.5px solid rgba(255,255,255,0.18);
border-radius: 38px;
color: #fff;
font-weight: 900;
font-size: 1.22rem;
cursor: pointer;
letter-spacing: 0.7px;
outline: none;
text-transform: uppercase;
box-shadow: 0 6px 36px 0 rgba(80, 80, 180, 0.13), 0 2px 18px 0 rgba(246, 211, 101, 0.10);
background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.10) 100%);
backdrop-filter: blur(20px) saturate(200%);
transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border 0.2s;
position: relative;
overflow: hidden;
}
.modal-action-bttn.download {
background: linear-gradient(135deg, #14923e 0%, #38f9d7 50%, #05837c 100%);
color: #eef0f8;
border: 2.5px solid #38f9d7;
box-shadow: 0 6px 36px 0 rgba(67, 233, 123, 0.13);
}
.modal-action-bttn.reorder {
background: linear-gradient(135deg, #f6d365 0%, #fda085 50%, #fbc2eb 100%);
color: #fff;
border: 2.5px solid #fda085;
box-shadow: 0 6px 36px 0 rgba(246, 211, 101, 0.13);
}
.modal-action-bttn.support {
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #89f7fe 100%);
color: #ecedf5;
border: 2.5px solid #764ba2;
box-shadow: 0 6px 36px 0 rgba(102, 126, 234, 0.13);
}
.modal-action-bttn.cancel {
background: linear-gradient(135deg, #ff6b6b 0%, #fda085 50%, #f857a6 100%);
color: #fff;
border: 2.5px solid #ff6b6b;
box-shadow: 0 6px 36px 0 rgba(255, 107, 107, 0.13);
}
.modal-action-bttn:before {
content: '';
position: absolute;
inset: 0;
border-radius: 38px;
background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 100%);
filter: blur(12px);
opacity: 0.7;
z-index: 0;
pointer-events: none;
}
.modal-action-bttn span, .modal-action-bttn svg {
position: relative;
z-index: 1;
}
.modal-action-bttn:hover {
box-shadow: 0 12px 48px rgba(246, 211, 101, 0.18), 0 4px 32px rgba(102, 126, 234, 0.13);
border: 2.5px solid #fff;
}
.view-details-btn-medium {
font-size: 1.08rem;
padding: 12px 32px;
border-radius: 18px;
font-weight: 700;
background: linear-gradient(135deg, #667eea, #764ba2);
color: #fff;
border: none;
box-shadow: 0 2px 16px rgba(102, 126, 234, 0.13);
transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
cursor: pointer;
letter-spacing: 0.5px;
outline: none;
margin-top: 0;
margin-bottom: 0;
}
.view-details-btn-medium:hover {
background: linear-gradient(135deg, #764ba2, #667eea);
transform: translateY(-2px) scale(1.04);
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
filter: brightness(1.08);
}
.left-align {
margin-left: 0 !important;
margin-right: auto !important;
display: block !important;
text-align: left !important;
}