/* =====================================
   ORDERS ADMIN
===================================== */


.order-box {

    background: #fff;

    border-radius: 15px;

    padding: 25px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);

    margin-bottom: 25px;

}



.order-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

}



.order-header h2 {

    margin: 0;

    font-size: 24px;

}



.customer-card {

    background: #f8fafc;

    border-radius: 12px;

    padding: 20px;

    margin-bottom: 25px;

}



.customer-card p {

    margin: 8px 0;

    color: #555;

}



.order-products {

    margin-top: 20px;

}



.order-products table {

    width: 100%;

    border-collapse: collapse;

}



.order-products th {

    background: #f8fafc;

    padding: 12px;

    text-align: left;

}



.order-products td {

    padding: 14px 12px;

    border-bottom: 1px solid #eee;

}



.order-total {

    margin-top: 25px;

    padding: 20px;

    background: #fff7ed;

    border-radius: 12px;

    display: flex;

    justify-content: space-between;

    font-size: 20px;

}



.order-status-box {

    margin-top: 25px;

    padding: 20px;

    background: #f8fafc;

    border-radius: 12px;

}



.order-status-box select {

    padding: 10px 15px;

    border-radius: 8px;

    border: 1px solid #ddd;

}



.order-status-box button {

    padding: 10px 18px;

    border: 0;

    border-radius: 8px;

    background: #ff6600;

    color: #fff;

    cursor: pointer;

}



.order-status-box button:hover {

    background: #e55b00;

}


.item {

    padding: 10px 0;

    border-bottom: 1px solid #eee;

}


.total {

    margin-top: 20px;

    font-size: 20px;

    font-weight: bold;

}


.continue-shopping {

    display: inline-block;

    margin-top: 20px;

    padding: 12px 24px;

    background: #ff6600;

    color: #fff;

    text-decoration: none;

    border-radius: 6px;

    font-weight: bold;

}

.continue-shopping:hover {

    background: #e65c00;

}

/* Ana Konteyner ve İki Sütunlu Yapı */
.checkout-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: inherit;
    color: #333;
    box-sizing: border-box;
}

.checkout-container *,
.checkout-container *::before,
.checkout-container *::after {
    box-sizing: border-box;
}

.checkout-main {
    flex: 3;
}

.checkout-sidebar {
    flex: 1;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Adım Çubuğu (Stepper Kutuları) */
.checkout-steps-boxes {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.step-box {
    flex: 1;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.step-box .step-num {
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: #eaeaea;
    color: #666;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Aktif Adım Kutusu */
.step-box.active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.step-box.active .step-num {
    background: #fff;
    color: #111827;
}

/* Başarılı Sipariş ve İçerik Kutusu */
.success-box {

    width: 100%;
    min-height: 400px;

    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 12px;

    padding: 35px;

    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .08);

}

.success {
    font-size: 18px;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 15px;
}

.success-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #111827;
}

.success-box .item {
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    margin-bottom: 12px;
    font-size: 14px;
}

.success-box .total {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0;
    color: #111827;
}

.success-box p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #4b5563;
}

.payment-info {
    background: #f9fafb;
    border: 1px solid #eaeaea;
    padding: 25px;
    border-radius: 12px;
}

.payment-info h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: #111827;
}

.payment-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.payment-info p:last-child {
    margin-bottom: 0;
}

/* Alışverişe Devam Et Butonu */
.success-box a {
    display: inline-block;
    background: #111827;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.success-box a:hover {
    background: #1f2937;
}

/* Sağ Sidebar (Sipariş Özeti) İç Elemanları */
.summary-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #111827;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 12px;
}

.summary-body h3 {
    font-size: 14px;
    color: #111827;
    margin-bottom: 8px;
}

.summary-body .feature {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.summary-body .feature strong {
    color: #111827;
}

.checkout-sidebar hr {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 15px 0;
}

.price-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.price-line strong {
    color: #111827;
}

.total-line {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #111827;
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
    margin-top: 15px;
}

/* Ortak rozet (badge) tabanı */
.order-status {

    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-left: 8px;

}


/* Beklemede */
.status-pending {
    background: #ff8e00;
    color: #ffffff;
    border: 1px solid #00ff43;
}


/* Ödendi */
.status-paid {

    background: #058549;
    color: #ffffff;
    border: 1px solid #efe486;

}


/* Tamamlandı */
.status-completed {

    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #93c5fd;

}


/* İptal */
.status-cancelled {

    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;

}


.order-columns {
    display: flex;
    gap: 30px;
    width: 100%;
}


.order-left {
    flex: 2;
}

.order-left .item {
    color: #111 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.order-right {
    flex: 1;
}

@media(max-width:768px) {

    .order-columns {
        flex-direction: column;
    }

}

.order-right {
    flex: 1;
    margin-top: -32px;
}