/*=========================================
        PESANAN SAYA CSS
        PART 1
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',Tahoma,sans-serif;
    background:#f5f7fb;
    color:#333;
}

.section{
    padding:45px 15px;
}

.container{
    max-width:1200px;
    margin:auto;
}

/*==============================*/

.section-title{

    font-size:34px;

    font-weight:700;

    margin-bottom:30px;

    color:#222;

    position:relative;

}

.section-title::after{

    content:"";

    width:80px;

    height:4px;

    background:#2563eb;

    border-radius:20px;

    display:block;

    margin-top:10px;

}

/*==============================*/

.order-card{

    background:#fff;

    border-radius:18px;

    margin-bottom:25px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.07);

    transition:.35s;

    border:1px solid #ececec;

}

.order-card:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

/*==============================*/

.order-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 28px;

    border-bottom:1px solid #eee;

    background:#fafafa;

}

.order-header h3{

    color:#2563eb;

    font-size:22px;

    margin-bottom:5px;

}

.order-header p{

    color:#777;

    font-size:14px;

}

/*==============================*/

.order-body{

    display:flex;

    justify-content:space-between;

    padding:25px 28px;

    gap:20px;

}

.order-body b{

    display:block;

    margin-bottom:6px;

    color:#111;

}

.order-body div{

    flex:1;

    font-size:15px;

}

/*==============================*/

.order-footer{

    display:flex;

    gap:15px;

    padding:20px 28px;

    border-top:1px solid #eee;

    background:#fcfcfc;

}

/*==============================*/

.btn-detail,
.btn-upload{

    text-decoration:none;

    padding:12px 22px;

    border-radius:10px;

    color:#fff;

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-weight:600;

    transition:.3s;

}

.btn-detail{

    background:#2563eb;

}

.btn-detail:hover{

    background:#1d4ed8;

}

.btn-upload{

    background:#10b981;

}

.btn-upload:hover{

    background:#059669;

}

/*==============================*/

.status-pending,
.status-proses,
.status-kirim,
.status-sampai,
.status-selesai{

    color:#fff;

    padding:9px 18px;

    border-radius:50px;

    font-size:13px;

    font-weight:bold;

}

.status-pending{

    background:#f59e0b;

}

.status-proses{

    background:#3b82f6;

}

.status-kirim{

    background:#8b5cf6;

}

.status-sampai{

    background:#0891b2;

}

.status-selesai{

    background:#10b981;

}

/*==============================*/

.empty-order{

    background:#fff;

    padding:70px 30px;

    text-align:center;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.empty-order i{

    font-size:70px;

    color:#2563eb;

    display:block;

    margin-bottom:20px;

}

.empty-order h3{

    margin-bottom:12px;

    font-size:28px;

}

.empty-order p{

    color:#777;

    margin-bottom:30px;

}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357ab8, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Small variant */
.btn-primary.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 10px;
}

/*=========================================
        PESANAN SAYA CSS
        PART 2
=========================================*/

/* CARD EFFECT */

.order-card{
    position:relative;
    overflow:hidden;
}

.order-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:4px;
    height:100%;

    background:#2563eb;

}

.order-card:hover::before{

    width:8px;

}

/* HEADER */

.order-header{

    transition:.3s;

}

.order-card:hover .order-header{

    background:#f7faff;

}

/* TITLE */

.order-header h3{

    transition:.3s;

}

.order-card:hover h3{

    color:#1d4ed8;

}

/* BODY */

.order-body{

    align-items:center;

}

.order-body div{

    padding:10px;

    border-radius:10px;

    transition:.3s;

}

.order-body div:hover{

    background:#f8fbff;

}

/* BUTTON */

.btn-detail,
.btn-upload,
.btn-primary{

    position:relative;

    overflow:hidden;

}

.btn-detail::after,
.btn-upload::after,
.btn-primary::after{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:100%;
    height:100%;

    background:
    linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.35),
    transparent);

    transition:.6s;

}

.btn-detail:hover::after,
.btn-upload:hover::after,
.btn-primary:hover::after{

    left:120%;

}

.btn-detail:hover,
.btn-upload:hover,
.btn-primary:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(0,0,0,.18);

}

/* STATUS */

.status-pending,
.status-proses,
.status-kirim,
.status-selesai{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:110px;

    text-align:center;

    letter-spacing:.4px;

}

/* EMPTY */

.empty-order{

    transition:.35s;

}

.empty-order:hover{

    transform:translateY(-5px);

}

/* ICON */

.empty-order i{

    transition:.35s;

}

.empty-order:hover i{

    transform:scale(1.1);

}

/* SCROLL */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#f3f3f3;

}

/* SELECTION */

::selection{

    background:#2563eb;

    color:#fff;

}

/* ANIMATION */

.order-card{

    animation:fadeCard .45s ease;

}

@keyframes fadeCard{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* TABLET */

@media(max-width:992px){

.order-header{

flex-direction:column;

align-items:flex-start;

gap:15px;

}

.order-body{

flex-direction:column;

align-items:flex-start;

gap:18px;

}

.order-footer{

flex-wrap:wrap;

}

}

/* MOBILE */

@media(max-width:768px){

.section{

padding:25px 12px;

}

.section-title{

font-size:28px;

}

.order-card{

border-radius:14px;

}

.order-header{

padding:18px;

}

.order-body{

padding:18px;

}

.order-footer{

padding:18px;

flex-direction:column;

}

.btn-detail,
.btn-upload{

width:100%;

justify-content:center;

}

.empty-order{

padding:50px 20px;

}

}

/* EXTRA SMALL */

@media(max-width:480px){

.order-header h3{

font-size:18px;

}

.order-header p{

font-size:13px;

}

.order-body{

font-size:14px;

}

.status-pending,
.status-proses,
.status-kirim,
.status-selesai{

font-size:12px;

padding:8px 15px;

}

}

/*=========================================
        PESANAN SAYA CSS
        PART 3 (FINAL)
=========================================*/

/* GLASS EFFECT */

.order-card{
    backdrop-filter:blur(8px);
    background:rgba(255,255,255,.98);
}

/* DECORATION */

.order-card::after{

    content:"";

    position:absolute;

    right:-70px;
    top:-70px;

    width:180px;
    height:180px;

    border-radius:50%;

    background:rgba(37,99,235,.05);

}

/* TITLE */

.section-title{

    letter-spacing:.5px;

}

/* HEADER */

.order-header{

    position:relative;
    z-index:2;

}

.order-body,
.order-footer{

    position:relative;
    z-index:2;

}

/* BODY */

.order-body div{

    border:1px solid transparent;

}

.order-body div:hover{

    border-color:#dbeafe;

}

/* BUTTON */

.btn-detail,
.btn-upload,
.btn-primary{

    font-weight:600;
    letter-spacing:.3px;

}

.btn-detail{

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

}

.btn-upload{

    background:linear-gradient(135deg,#10b981,#059669);

}

.btn-primary{

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

}

/* STATUS */

.status-pending{

    box-shadow:0 8px 20px rgba(245,158,11,.25);

}

.status-proses{

    box-shadow:0 8px 20px rgba(59,130,246,.25);

}

.status-kirim{

    box-shadow:0 8px 20px rgba(139,92,246,.25);

}

.status-selesai{

    box-shadow:0 8px 20px rgba(16,185,129,.25);

}

/* EMPTY ORDER */

.empty-order{

    position:relative;
    overflow:hidden;

}

.empty-order::before{

    content:"";

    position:absolute;

    left:-80px;
    bottom:-80px;

    width:180px;
    height:180px;

    border-radius:50%;

    background:rgba(37,99,235,.05);

}

.empty-order::after{

    content:"";

    position:absolute;

    right:-70px;
    top:-70px;

    width:160px;
    height:160px;

    border-radius:50%;

    background:rgba(16,185,129,.05);

}

/* ICON */

.empty-order i{

    animation:floatIcon 2.5s ease-in-out infinite;

}

@keyframes floatIcon{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}

/* ORDER */

.order-card:hover{

    border-color:#dbeafe;

}

/* BODY VALUE */

.order-body b{

    color:#2563eb;

    font-size:14px;

    text-transform:uppercase;

    letter-spacing:.5px;

}

/* FOOTER */

.order-footer{

    justify-content:flex-end;

}

/* RESPONSIVE */

@media(max-width:992px){

.order-footer{

justify-content:flex-start;

}

}

@media(max-width:768px){

.order-footer{

gap:12px;

}

.order-body div{

width:100%;

}

.section-title{

text-align:center;

}

.section-title::after{

margin:10px auto 0;

}

}

@media(max-width:480px){

.order-header{

padding:16px;

}

.order-body{

padding:16px;

}

.order-footer{

padding:16px;

}

.empty-order h3{

font-size:22px;

}

.empty-order p{

font-size:14px;

}

}

/* PRINT */

@media print{

body{

background:#fff;

}

.order-card{

box-shadow:none;

border:1px solid #ccc;

page-break-inside:avoid;

}

.order-card::before,
.order-card::after{

display:none;

}

.order-footer{

display:none;

}

.section-title{

font-size:28px;

}

}

/* ACCESSIBILITY */

.btn-detail:focus,
.btn-upload:focus,
.btn-primary:focus{

outline:3px solid rgba(37,99,235,.25);

outline-offset:2px;

}

/* END */

.order-card *,
.empty-order *{

box-sizing:border-box;

}