/* ==========================================
   ORDERS PAGE
========================================== */

.orders-header{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:35px;

}

.orders-header h1{

font-size:38px;

}

.orders-header p{

color:#94a3b8;
margin-top:10px;

}

/* ==========================
SUMMARY
========================== */

.orders-summary{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-bottom:30px;

}

.order-card{

background:#0f172a;
border:1px solid rgba(255,255,255,.08);
border-radius:22px;
padding:25px;
transition:.3s;

}

.order-card:hover{

transform:translateY(-5px);
border-color:#22d3ee;
box-shadow:0 10px 30px rgba(34,211,238,.12);

}

.order-card p{

color:#94a3b8;
margin-bottom:10px;

}

.order-card h2{

font-size:30px;

}

/* ==========================
SEARCH
========================== */

.orders-toolbar{

display:flex;

gap:18px;

margin-bottom:30px;

align-items:center;

}

.orders-toolbar input{

flex:1;

height:56px;

background:#0b1220;

border:1px solid rgba(255,255,255,.08);

border-radius:16px;

padding:0 20px;

color:white;

font-size:15px;

outline:none;

transition:.3s;

}

.orders-toolbar input:focus{

border-color:#22d3ee;

}

.orders-toolbar select{

width:220px;

height:56px;

background:#0b1220;

border:1px solid rgba(255,255,255,.08);

border-radius:16px;

padding:0 18px;

color:white;

outline:none;

transition:.3s;

}

.orders-toolbar select:focus{

border-color:#22d3ee;

}

/* ==========================
ORDER ITEM
========================== */

.history-item{

background:#0b1220;

border:1px solid rgba(255,255,255,.08);

border-radius:20px;

padding:24px;

margin-bottom:18px;

transition:.3s;

}

.history-item:hover{

border-color:#22d3ee;

transform:translateY(-4px);

box-shadow:0 10px 30px rgba(34,211,238,.12);

}

.history-item h3{

font-size:22px;

margin-bottom:18px;

color:#22d3ee;

font-weight:700;

}

.history-item p{

display:flex;

justify-content:space-between;

align-items:center;

margin:12px 0;

color:#cbd5e1;

font-size:15px;

}

.history-item strong{

color:#94a3b8;

font-weight:600;

}

/* ==========================
MODAL
========================== */

.order-modal{

display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.75);
align-items:center;
justify-content:center;
padding:20px;
z-index:9999;

}

.order-modal-content{

background:#0f172a;
width:100%;
max-width:700px;
border-radius:22px;
padding:30px;
position:relative;
max-height:85vh;
overflow:auto;

}

.close-order-modal{

position:absolute;
top:20px;
right:25px;
font-size:28px;
cursor:pointer;
color:white;

}

.account-box{

background:#081225;
border-radius:15px;
padding:18px;
margin-top:18px;

}

.copy-btn{

margin-top:15px;

width:100%;

height:46px;

border:none;

border-radius:12px;

background:#22d3ee;

color:#fff;

font-weight:700;

cursor:pointer;

transition:.3s;

}

.copy-btn:hover{

background:#0891b2;

}

/* ==========================
RESPONSIVE
========================== */

@media(max-width:900px){

.orders-summary{

grid-template-columns:repeat(2,1fr);

}

.orders-toolbar{

flex-direction:column;

}

.orders-toolbar select{

width:100%;

}

}

@media(max-width:600px){

.orders-summary{

grid-template-columns:1fr;

}

.orders-header h1{

font-size:30px;

}

}

.status-badge{

display:inline-block;
padding:6px 12px;
border-radius:30px;
font-size:13px;
font-weight:600;
text-transform:capitalize;

}

.status-badge.completed,
.status-badge.successful{

background:#16a34a;
color:#fff;

}

.status-badge.pending{

background:#eab308;
color:#000;

}

.status-badge.failed,
.status-badge.cancelled{

background:#dc2626;
color:#fff;

}

.order-modal-content{

animation:popup .25s ease;

}

@keyframes popup{

from{

opacity:0;

transform:scale(.9);

}

to{

opacity:1;

transform:scale(1);

}

}