.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(229, 9, 20, 0.12),
            transparent 35%
        ),
        #050505;
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
}

.admin-login-card {
    width: min(440px, 100%);
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(15, 15, 15, 0.96);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55);
}

.admin-login-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    object-fit: contain;
}

.admin-login-card h1 {
    margin-bottom: 12px;
    font-size: 35px;
    text-align: center;
}

.admin-login-card > p {
    margin-bottom: 28px;
    color: var(--gray);
    line-height: 1.6;
    text-align: center;
}

.admin-login-card .section-label {
    display: block;
    text-align: center;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
}

.admin-form-group label {
    font-size: 12px;
    font-weight: 800;
}

.admin-form-group input {
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: #090909;
    color: var(--white);
}

.admin-form-group input:focus {
    border-color: var(--red);
    box-shadow:
        0 0 0 4px rgba(229, 9, 20, 0.08);
}

.admin-login-button {
    width: 100%;
    margin-top: 7px;
    border: none;
}

.admin-form-message {
    min-height: 22px;
    margin-top: 15px;
    color: #ff7777 !important;
    font-size: 12px;
}

.admin-back-link {
    display: block;
    margin-top: 20px;
    color: var(--gray);
    font-size: 12px;
    text-align: center;
}

.admin-header {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 max(30px, calc((100% - 1300px) / 2));
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.94);
}

.admin-header-actions {
    display: flex;
    gap: 10px;
}

.admin-secondary-button,
.admin-logout-button,
.admin-save-product,
.admin-update-order {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 800;
}

.admin-secondary-button {
    border: 1px solid var(--border);
    background: #111111;
}

.admin-logout-button {
    border: 1px solid rgba(229, 9, 20, 0.35);
    background: rgba(229, 9, 20, 0.12);
}

.admin-main {
    width: min(100% - 40px, 1300px);
    margin-inline: auto;
    padding: 60px 0 100px;
}

.admin-title-section {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.admin-title-section h1 {
    margin-bottom: 12px;
    font-size: clamp(40px, 6vw, 70px);
}

.admin-title-section p {
    color: var(--gray);
}

.admin-system-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.admin-status {
    padding: 9px 13px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 900;
}

.admin-status.active {
    background: rgba(60, 200, 80, 0.13);
    color: #79e388;
}

.admin-status.inactive {
    background: rgba(229, 9, 20, 0.12);
    color: #ff7777;
}

.admin-statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.admin-statistics article {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #101010;
}

.admin-statistics span {
    display: block;
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 12px;
}

.admin-statistics strong {
    font-size: 34px;
}

.admin-panel-section {
    margin-bottom: 30px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #0d0d0d;
}

.admin-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.admin-section-heading h2 {
    font-size: 30px;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

.admin-table th {
    color: var(--gray);
    font-size: 11px;
    text-transform: uppercase;
}

.admin-table td {
    font-size: 13px;
}

.admin-stock-input {
    width: 90px;
    min-height: 39px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    outline: none;
    background: #080808;
    color: var(--white);
}

.admin-save-product,
.admin-update-order {
    border: 1px solid rgba(229, 9, 20, 0.35);
    background: rgba(229, 9, 20, 0.12);
}

.admin-empty {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--gray);
    text-align: center;
}

.admin-empty strong {
    color: var(--white);
    font-size: 19px;
}

.admin-orders {
    display: grid;
    gap: 18px;
}

.admin-order-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #111111;
}

.admin-order-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.admin-order-top span {
    color: var(--gray);
    font-size: 11px;
}

.admin-order-top h3 {
    margin-top: 6px;
    font-size: 20px;
}

.admin-order-top > strong {
    color: var(--red);
    font-size: 20px;
}

.admin-order-customer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    margin-bottom: 18px;
    color: var(--light-gray);
    font-size: 12px;
}

.admin-order-items {
    padding: 14px;
    border-radius: 9px;
    background: #090909;
}

.admin-order-items > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 7px 0;
    font-size: 12px;
}

.admin-order-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.admin-order-status {
    min-height: 42px;
    flex: 1;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #090909;
    color: var(--white);
}

.admin-notification {
    position: fixed;
    z-index: 3000;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 48px);
    padding: 15px 19px;
    border: 1px solid rgba(60, 200, 80, 0.25);
    border-radius: 10px;
    background: #101610;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.admin-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.admin-notification > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #42b854;
}

@media (max-width: 850px) {
    .admin-title-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-system-status {
        justify-content: flex-start;
    }

    .admin-statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-order-customer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .admin-header {
        padding-inline: 15px;
    }

    .admin-header .brand-text {
        display: none;
    }

    .admin-main {
        width: min(100% - 24px, 1300px);
        padding-top: 40px;
    }

    .admin-statistics {
        grid-template-columns: 1fr;
    }

    .admin-panel-section {
        padding: 18px;
    }

    .admin-section-heading,
    .admin-order-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
/* ------------------------------
   ÇEKİLİŞ YÖNETİMİ
------------------------------ */

.admin-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.admin-giveaway-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 18px;
}

.admin-giveaway-form textarea,
.admin-giveaway-form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: #090909;
    color: var(--white);
}

.admin-giveaway-form textarea {
    padding: 14px;
    resize: vertical;
}

.admin-giveaway-form select {
    min-height: 50px;
    padding: 0 14px;
}

.admin-create-giveaway {
    border: none;
}

.admin-giveaway-list {
    display: grid;
    gap: 18px;
}

.admin-giveaway-card {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #111111;
}

.admin-giveaway-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.admin-giveaway-top > div:first-child > span {
    color: var(--red);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-giveaway-top h3 {
    margin: 7px 0;
    font-size: 23px;
}

.admin-giveaway-top p {
    color: var(--light-gray);
    font-size: 12px;
}

.admin-giveaway-count {
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    background: #090909;
}

.admin-giveaway-count strong {
    font-size: 28px;
}

.admin-giveaway-count span {
    color: var(--gray);
    font-size: 10px;
}

.admin-giveaway-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 25px;
    margin-top: 18px;
    color: var(--gray);
    font-size: 11px;
}

.admin-giveaway-winner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(255, 190, 45, 0.25);
    border-radius: 9px;
    background: rgba(255, 190, 45, 0.07);
    font-size: 12px;
}

.admin-giveaway-winner strong {
    color: #ffc767;
}

.admin-giveaway-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.admin-giveaway-actions select {
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #090909;
    color: var(--white);
}

.admin-giveaway-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.admin-giveaway-entries {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.admin-giveaway-entries[hidden] {
    display: none;
}

.admin-entry-list {
    display: grid;
    gap: 10px;
}

.admin-entry-list article {
    display: grid;
    grid-template-columns:
        1fr 1.2fr 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #090909;
    font-size: 11px;
}

.admin-entry-list span {
    color: var(--light-gray);
}

.admin-entry-list small {
    color: var(--gray);
}

@media (max-width: 750px) {
    .admin-giveaway-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-entry-list article {
        grid-template-columns: 1fr;
    }

    .admin-giveaway-top {
        flex-direction: column;
    }
}
/* ==================================================
   YÖNETİM PANELİ ÜRÜN RESMİ ALANI
================================================== */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
}

.admin-table {
    min-width: 1050px;
}

.admin-product-image-cell {
    width: 190px;
    min-width: 190px;
    vertical-align: top;
}

.admin-product-image-preview {
    width: 160px;
    height: 100px;
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
}

.admin-product-image-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-product-image-preview span {
    padding: 10px;
    color: #888888;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.admin-product-image-input {
    width: 160px;
    margin-bottom: 8px;
    padding: 7px;
    color: #dddddd;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.30);
}

.admin-product-image-input::file-selector-button {
    margin-right: 7px;
    padding: 6px 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    border-radius: 6px;
    background: #d60914;
}

.admin-upload-product-image {
    width: 160px;
    padding: 9px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    background: #d60914;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}

.admin-upload-product-image:hover {
    transform: translateY(-1px);
    background: #f01825;
}

.admin-upload-product-image:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.admin-image-message {
    width: 160px;
    min-height: 16px;
    margin-top: 7px;
    display: block;
    color: #ff626a;
    font-size: 11px;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .admin-product-image-cell {
        width: 155px;
        min-width: 155px;
    }

    .admin-product-image-preview {
        width: 130px;
        height: 82px;
    }

    .admin-product-image-input,
    .admin-upload-product-image,
    .admin-image-message {
        width: 130px;
    }
}
/* ==========================================
   ÖZEL SİLME ONAY PENCERESİ
========================================== */

.admin-confirm-overlay[hidden] {
    display: none;
}

.admin-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.72);

    backdrop-filter:
        blur(6px);
}

.admin-confirm-modal {
    width: min(430px, 100%);

    padding: 30px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #18181c,
            #0e0e11
        );

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.65);

    text-align: center;

    animation:
        adminConfirmOpen
        0.22s ease-out;
}

.admin-confirm-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin:
        0 auto
        18px;

    border-radius: 50%;

    background:
        rgba(214, 9, 20, 0.15);

    border:
        2px solid
        #d60914;

    color:
        #ff3541;

    font-size: 34px;
    font-weight: 800;
}

.admin-confirm-modal h3 {
    margin:
        0 0
        10px;

    color:
        #ffffff;

    font-size: 24px;
}

.admin-confirm-modal p {
    margin:
        0 0
        26px;

    color:
        #b8b8c2;

    line-height: 1.6;
}

.admin-confirm-actions {
    display: flex;
    gap: 12px;
}

.admin-confirm-actions button {
    flex: 1;

    min-height: 48px;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        background 0.18s ease;
}

.admin-confirm-actions button:hover {
    transform:
        translateY(-2px);
}

.admin-confirm-cancel {
    background:
        #29292f;

    color:
        #ffffff;
}

.admin-confirm-cancel:hover {
    background:
        #36363e;
}

.admin-confirm-delete {
    background:
        linear-gradient(
            135deg,
            #d60914,
            #ff2633
        );

    color:
        #ffffff;

    box-shadow:
        0 10px 28px
        rgba(214, 9, 20, 0.3);
}

.admin-confirm-delete:hover {
    opacity: 0.9;
}

@keyframes adminConfirmOpen {
    from {
        opacity: 0;
        transform:
            translateY(18px)
            scale(0.96);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

@media (max-width: 520px) {
    .admin-confirm-modal {
        padding: 24px 18px;
    }

    .admin-confirm-actions {
        flex-direction: column;
    }
}
/* ==========================================
   SİPARİŞ KUPON VE İNDİRİM BİLGİLERİ
========================================== */

.admin-order-discount-summary {
    margin-top: 18px;
    padding: 16px;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.035);
}

.admin-order-discount-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 9px 0;

    color: #b9b9c3;
}

.admin-order-discount-summary span {
    font-size: 14px;
}

.admin-order-discount-summary strong {
    color: #ffffff;
    font-size: 15px;
}

.admin-order-discount-row {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);

    color: #ff4550 !important;
}

.admin-order-discount-row span,
.admin-order-discount-row strong {
    color: #ff4550;
}

.admin-order-final-total {
    padding-bottom: 0 !important;
}

.admin-order-final-total span {
    color: #ffffff;
    font-weight: 700;
}

.admin-order-final-total strong {
    color: #3ee68a;
    font-size: 18px;
}
/* ==========================================
   CANLI DESTEK YÖNETİM PANELİ
========================================== */

.admin-support-section {
    margin-top: 28px;
}

.admin-support-layout {
    min-height: 590px;

    display: grid;
    grid-template-columns:
        minmax(280px, 340px)
        minmax(0, 1fr);

    overflow: hidden;

    background: #0b0b0b;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 18px;
}

/* SOL GÖRÜŞME LİSTESİ */

.admin-support-sidebar {
    min-width: 0;

    background:
        linear-gradient(
            180deg,
            #151515,
            #0c0c0c
        );

    border-right: 1px solid
        rgba(255, 255, 255, 0.08);
}

.admin-support-sidebar-title {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 15px 17px;

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.07);
}

.admin-support-sidebar-title strong {
    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
}

.admin-support-total {
    min-width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 8px;

    color: #ffffff;
    background: #e50914;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 900;
}

/* FİLTRELER */

.admin-support-filters {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 7px;

    padding: 12px;
}

.admin-support-filter {
    height: 37px;

    color: #9e9e9e;
    background: #111111;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.admin-support-filter:hover {
    color: #ffffff;

    border-color:
        rgba(229, 9, 20, 0.5);
}

.admin-support-filter.active {
    color: #ffffff;
    background:
        rgba(229, 9, 20, 0.16);

    border-color:
        rgba(229, 9, 20, 0.7);
}

/* GÖRÜŞMELER */

.admin-support-conversations {
    height: 485px;
    overflow-y: auto;

    padding: 0 10px 12px;

    scrollbar-width: thin;
    scrollbar-color:
        #e50914
        #111111;
}

.admin-support-conversations::-webkit-scrollbar {
    width: 5px;
}

.admin-support-conversations::-webkit-scrollbar-track {
    background: #111111;
}

.admin-support-conversations::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 10px;
}

.admin-support-loading,
.admin-support-list-empty {
    min-height: 170px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    color: #777777;

    font-size: 13px;
    text-align: center;
}

.admin-support-conversation {
    width: 100%;

    display: block;

    margin-bottom: 8px;
    padding: 13px;

    color: #ffffff;
    background: #111111;

    border: 1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 12px;

    text-align: left;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.admin-support-conversation:hover {
    transform:
        translateX(2px);

    background: #171717;

    border-color:
        rgba(229, 9, 20, 0.4);
}

.admin-support-conversation.active {
    background:
        linear-gradient(
            135deg,
            rgba(229, 9, 20, 0.2),
            #151515
        );

    border-color:
        rgba(229, 9, 20, 0.75);
}

.admin-support-conversation.unread {
    box-shadow:
        inset 3px 0 0
        #e50914;
}

.admin-support-conversation-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 7px;
}

.admin-support-conversation-name {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 13px;
    font-weight: 900;
}

.admin-support-unread {
    min-width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 6px;

    color: #ffffff;
    background: #e50914;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 900;
}

.admin-support-conversation-preview {
    margin: 0 0 8px;

    overflow: hidden;

    color: #9b9b9b;

    font-size: 12px;
    line-height: 1.4;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.admin-support-conversation-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    color: #686868;

    font-size: 10px;
    font-weight: 700;
}

.admin-support-conversation-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-support-conversation-state::before {
    content: "";

    width: 6px;
    height: 6px;

    background: #51df75;
    border-radius: 50%;
}

.admin-support-conversation-state.closed::before {
    background: #777777;
}

/* SAĞ MESAJLAŞMA ALANI */

.admin-support-chat {
    min-width: 0;
    min-height: 590px;

    position: relative;

    background:
        radial-gradient(
            circle at top right,
            rgba(229, 9, 20, 0.08),
            transparent 40%
        ),
        #090909;
}

.admin-support-empty {
    min-height: 590px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;
}

.admin-support-empty span {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    background:
        rgba(229, 9, 20, 0.12);

    border: 1px solid
        rgba(229, 9, 20, 0.3);

    border-radius: 50%;

    font-size: 28px;
}

.admin-support-empty strong {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 900;
}

.admin-support-empty p {
    max-width: 380px;
    margin: 0;

    color: #777777;

    font-size: 13px;
    line-height: 1.6;
}

.admin-support-chat-content {
    min-height: 590px;

    display: flex;
    flex-direction: column;
}

.admin-support-chat-content[hidden] {
    display: none !important;
}

/* MESAJ BAŞLIĞI */

.admin-support-chat-header {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 14px 17px;

    background:
        rgba(18, 18, 18, 0.96);

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.08);
}

.admin-support-chat-header > div:first-child {
    min-width: 0;
}

.admin-support-chat-header strong {
    display: block;

    margin-bottom: 5px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
}

.admin-support-chat-header span {
    display: block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #858585;

    font-size: 11px;
}

.admin-support-chat-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}

.admin-support-status {
    padding: 7px 10px;

    color: #62e982;
    background:
        rgba(82, 223, 116, 0.1);

    border: 1px solid
        rgba(82, 223, 116, 0.25);

    border-radius: 999px;

    font-size: 10px !important;
    font-weight: 900;
}

.admin-support-status.closed {
    color: #a3a3a3;
    background:
        rgba(255, 255, 255, 0.06);

    border-color:
        rgba(255, 255, 255, 0.1);
}

/* MESAJLAR */

.admin-support-messages {
    height: 390px;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 18px;

    scrollbar-width: thin;
    scrollbar-color:
        #e50914
        #111111;
}

.admin-support-messages::-webkit-scrollbar {
    width: 6px;
}

.admin-support-messages::-webkit-scrollbar-track {
    background: #111111;
}

.admin-support-messages::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 10px;
}

.admin-support-message-row {
    display: flex;
}

.admin-support-message-row.visitor {
    justify-content: flex-start;
}

.admin-support-message-row.admin {
    justify-content: flex-end;
}

.admin-support-message-bubble {
    max-width: 78%;

    padding: 10px 12px 8px;

    border-radius: 14px;

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.25);
}

.admin-support-message-row.visitor
.admin-support-message-bubble {
    background: #202020;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-bottom-left-radius: 4px;
}

.admin-support-message-row.admin
.admin-support-message-bubble {
    background:
        linear-gradient(
            135deg,
            #e50914,
            #9b0710
        );

    border-bottom-right-radius: 4px;
}

.admin-support-message-bubble p {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.5;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-support-message-bubble time {
    display: block;

    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 9px;
    text-align: right;
}

/* CEVAP YAZMA ALANI */

.admin-support-chat-content
.admin-form-message {
    min-height: 21px;

    margin: 0;
    padding: 4px 17px 0;
}

.admin-support-reply-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;

    margin-top: auto;
    padding: 10px 15px 15px;

    background:
        rgba(15, 15, 15, 0.96);

    border-top: 1px solid
        rgba(255, 255, 255, 0.07);
}

.admin-support-reply-form textarea {
    width: 100%;
    min-height: 48px;
    max-height: 120px;

    resize: vertical;

    padding: 12px 13px;

    color: #ffffff;
    background: #0a0a0a;

    border: 1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 11px;

    outline: none;

    font-family: inherit;
    font-size: 13px;
    line-height: 1.45;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-support-reply-form textarea:focus {
    border-color:
        rgba(229, 9, 20, 0.75);

    box-shadow:
        0 0 0 3px
        rgba(229, 9, 20, 0.1);
}

.admin-support-reply-form button {
    min-width: 125px;
    height: 48px;

    flex-shrink: 0;

    padding: 0 15px;
}

.admin-support-reply-form button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* TELEFON VE TABLET */

@media (max-width: 900px) {
    .admin-support-layout {
        grid-template-columns: 1fr;
    }

    .admin-support-sidebar {
        border-right: 0;

        border-bottom: 1px solid
            rgba(255, 255, 255, 0.08);
    }

    .admin-support-conversations {
        height: 300px;
    }

    .admin-support-chat,
    .admin-support-empty,
    .admin-support-chat-content {
        min-height: 520px;
    }

    .admin-support-messages {
        height: 325px;
    }
}

@media (max-width: 600px) {
    .admin-support-chat-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-support-chat-actions {
        width: 100%;

        justify-content: space-between;
    }

    .admin-support-reply-form {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-support-reply-form button {
        width: 100%;
    }

    .admin-support-message-bubble {
        max-width: 90%;
    }
}
/* ==========================================
   GELİŞMİŞ İSTATİSTİK PANELİ
========================================== */

.advanced-statistics-panel {
    margin-top: 28px;
}

.advanced-statistic-cards {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 14px;

    margin-bottom: 14px;
}

.advanced-statistic-card {
    position: relative;
    overflow: hidden;

    min-height: 130px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            #181818,
            #0d0d0d
        );

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.2);
}

.advanced-statistic-card::before {
    content: "";

    position: absolute;
    top: -45px;
    right: -45px;

    width: 120px;
    height: 120px;

    background:
        rgba(229, 9, 20, 0.14);

    border-radius: 50%;

    filter: blur(4px);
}

.advanced-statistic-card::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #e50914,
            transparent
        );
}

.advanced-statistic-card span {
    position: relative;
    z-index: 2;

    color: #909090;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.advanced-statistic-card strong {
    position: relative;
    z-index: 2;

    color: #ffffff;

    font-size: clamp(
        21px,
        2vw,
        30px
    );

    font-weight: 950;
    line-height: 1.2;
}

/* İKİNCİ İSTATİSTİK SATIRI */

.advanced-statistic-summary {
    display: grid;
    grid-template-columns:
        repeat(6, minmax(0, 1fr));
    gap: 10px;

    margin-bottom: 16px;
}

.advanced-statistic-summary article {
    min-height: 94px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 15px;

    background: #111111;

    border: 1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 13px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.advanced-statistic-summary article:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(229, 9, 20, 0.45);
}

.advanced-statistic-summary span {
    color: #858585;

    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
}

.advanced-statistic-summary strong {
    color: #ffffff;

    font-size: 24px;
    font-weight: 950;
}

/* GRAFİK VE ÜRÜN KUTULARI */

.advanced-statistic-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.75fr);
    gap: 15px;

    margin-bottom: 15px;
}

.advanced-statistic-box {
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            #141414,
            #0b0b0b
        );

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 16px;
}

.advanced-statistic-box-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 18px;
}

.advanced-statistic-box-heading h3 {
    margin: 5px 0 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
}

/* SON 7 GÜNLÜK GRAFİK */

.daily-sales-chart {
    min-height: 270px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;

    padding:
        20px 5px 4px;

    color: #777777;

    font-size: 13px;
}

.daily-sales-column {
    width: 100%;
    min-width: 0;
    height: 230px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.daily-sales-column-value {
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.daily-sales-bar-area {
    width: 100%;
    height: 170px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding: 0 5px;

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.08);
}

.daily-sales-bar {
    width: min(40px, 80%);
    min-height: 4px;

    background:
        linear-gradient(
            180deg,
            #ff2934,
            #a4060e
        );

    border-radius:
        8px 8px 3px 3px;

    box-shadow:
        0 0 18px
        rgba(229, 9, 20, 0.25);

    transition:
        height 0.5s ease,
        filter 0.2s ease;
}

.daily-sales-column:hover
.daily-sales-bar {
    filter:
        brightness(1.25);
}

.daily-sales-column-date {
    color: #777777;

    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.daily-sales-column-orders {
    color: #555555;

    font-size: 9px;
    text-align: center;
}

/* EN ÇOK SATILAN ÜRÜNLER */

.top-products-list {
    display: grid;
    gap: 10px;
}

.top-product-item {
    display: grid;
    grid-template-columns:
        35px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;

    padding: 11px;

    background: #0e0e0e;

    border: 1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 11px;
}

.top-product-rank {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background:
        rgba(229, 9, 20, 0.14);

    border: 1px solid
        rgba(229, 9, 20, 0.28);

    border-radius: 9px;

    font-size: 12px;
    font-weight: 900;
}

.top-product-info {
    min-width: 0;
}

.top-product-info strong {
    display: block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #ffffff;

    font-size: 12px;
    font-weight: 850;
}

.top-product-info span {
    display: block;

    margin-top: 4px;

    color: #777777;

    font-size: 10px;
}

.top-product-sales {
    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    text-align: right;
}

.top-product-sales small {
    display: block;

    margin-top: 3px;

    color: #777777;

    font-size: 9px;
    font-weight: 600;
}

/* KATEGORİ SATIŞLARI */

.category-sales-list {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.category-sales-item {
    padding: 15px;

    background: #0e0e0e;

    border: 1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 12px;
}

.category-sales-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 12px;
}

.category-sales-item-top strong {
    color: #ffffff;

    font-size: 13px;
    font-weight: 900;
}

.category-sales-item-top span {
    color: #a0a0a0;

    font-size: 11px;
    font-weight: 750;
}

.category-sales-progress {
    height: 7px;
    overflow: hidden;

    background: #202020;

    border-radius: 99px;
}

.category-sales-progress span {
    height: 100%;
    display: block;

    background:
        linear-gradient(
            90deg,
            #e50914,
            #ff3540
        );

    border-radius: inherit;
}

.advanced-statistics-empty {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;

    font-size: 13px;
    text-align: center;
}

/* TABLET */

@media (max-width: 1100px) {
    .advanced-statistic-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .advanced-statistic-summary {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .advanced-statistic-grid {
        grid-template-columns: 1fr;
    }
}

/* TELEFON */

@media (max-width: 650px) {
    .advanced-statistic-cards {
        grid-template-columns: 1fr;
    }

    .advanced-statistic-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .category-sales-list {
        grid-template-columns: 1fr;
    }

    .daily-sales-chart {
        gap: 4px;
        overflow-x: auto;
    }

    .daily-sales-column {
        min-width: 62px;
    }
}
/* ==========================================
   GELİŞMİŞ SİPARİŞ YÖNETİMİ
========================================== */

.advanced-order-toolbar {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.5fr)
        minmax(150px, 0.7fr)
        minmax(145px, 0.65fr)
        minmax(190px, 0.8fr)
        auto
        auto;
    align-items: end;
    gap: 12px;

    margin-bottom: 14px;
    padding: 16px;

    background:
        linear-gradient(
            145deg,
            #151515,
            #0b0b0b
        );

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 16px;
}

.advanced-order-search,
.advanced-order-filter {
    min-width: 0;
}

.advanced-order-search label,
.advanced-order-filter label {
    display: block;

    margin-bottom: 7px;

    color: #858585;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.advanced-order-search input,
.advanced-order-filter select {
    width: 100%;
    height: 43px;

    padding: 0 12px;

    color: #ffffff;
    background: #0b0b0b;

    border: 1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 10px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 650;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.advanced-order-search input::placeholder {
    color: #555555;
}

.advanced-order-search input:focus,
.advanced-order-filter select:focus {
    background: #101010;

    border-color:
        rgba(229, 9, 20, 0.75);

    box-shadow:
        0 0 0 3px
        rgba(229, 9, 20, 0.1);
}

.advanced-order-filter select {
    cursor: pointer;
}

.advanced-order-filter select option {
    color: #ffffff;
    background: #111111;
}

.advanced-order-reset,
.advanced-order-export {
    min-width: max-content;
    height: 43px;

    padding: 0 14px;
}

.advanced-order-export {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #e50914,
            #a9060e
        );

    border-color:
        rgba(255, 50, 60, 0.45);
}

.advanced-order-export:hover {
    filter: brightness(1.13);
}

/* SONUÇ ÖZETİ */

.advanced-order-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 12px;
    padding: 11px 14px;

    background: #0e0e0e;

    border: 1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 11px;
}

.advanced-order-results span {
    color: #858585;

    font-size: 11px;
    font-weight: 700;
}

.advanced-order-results strong {
    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
}

/* GELİŞMİŞ SİPARİŞ KARTI */

.admin-order-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-order-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(229, 9, 20, 0.3);

    box-shadow:
        0 18px 35px
        rgba(0, 0, 0, 0.24);
}

.admin-order-card.order-hidden {
    display: none;
}

.advanced-order-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 5px 9px;

    border-radius: 99px;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.advanced-order-status-badge[data-status="Sipariş Alındı"] {
    color: #8bc8ff;
    background: rgba(30, 136, 229, 0.14);
    border: 1px solid rgba(30, 136, 229, 0.28);
}

.advanced-order-status-badge[data-status="Ödeme Bekleniyor"] {
    color: #ffd166;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.advanced-order-status-badge[data-status="Ödeme Kontrol Ediliyor"] {
    color: #d6a8ff;
    background: rgba(156, 39, 176, 0.14);
    border: 1px solid rgba(156, 39, 176, 0.28);
}

.advanced-order-status-badge[data-status="Hazırlanıyor"] {
    color: #ffac72;
    background: rgba(255, 111, 0, 0.14);
    border: 1px solid rgba(255, 111, 0, 0.28);
}

.advanced-order-status-badge[data-status="Teslim Edildi"] {
    color: #79e89d;
    background: rgba(25, 135, 84, 0.14);
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.advanced-order-status-badge[data-status="İptal Edildi"] {
    color: #ff7c84;
    background: rgba(229, 9, 20, 0.14);
    border: 1px solid rgba(229, 9, 20, 0.3);
}

/* SONUÇ BULUNAMADI */

.advanced-order-empty {
    min-height: 170px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 25px;

    color: #777777;
    background: #0e0e0e;

    border: 1px dashed
        rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    text-align: center;
}

.advanced-order-empty strong {
    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
}

.advanced-order-empty p {
    margin: 0;

    font-size: 11px;
}

/* TABLET */

@media (max-width: 1200px) {
    .advanced-order-toolbar {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .advanced-order-search {
        grid-column: 1 / -1;
    }

    .advanced-order-reset,
    .advanced-order-export {
        width: 100%;
    }
}

/* TELEFON */

@media (max-width: 650px) {
    .advanced-order-toolbar {
        grid-template-columns: 1fr;

        padding: 13px;
    }

    .advanced-order-search {
        grid-column: auto;
    }

    .advanced-order-results {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
/* ==========================================
   YETKİLİ DESTEK ADMİNİ SİSTEMİ
========================================== */

[data-owner-only][hidden] {
    display: none !important;
}

.admin-role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-role-badge[data-role="support"] {
    border-color: rgba(229, 9, 20, 0.38);
    background: rgba(229, 9, 20, 0.12);
    color: #ff6670;
}

.admin-staff-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.admin-staff-form label {
    display: grid;
    gap: 8px;
}

.admin-staff-form label > span {
    color: #d9d9d9;
    font-size: 13px;
    font-weight: 800;
}

.admin-staff-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
    background: #070707;
    color: #ffffff;
    outline: none;
}

.admin-staff-form input:focus {
    border-color: rgba(229, 9, 20, 0.75);
}

.admin-staff-list,
.admin-audit-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-staff-card,
.admin-audit-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.admin-staff-card-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-staff-card-main > div,
.admin-audit-card > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.admin-staff-card strong,
.admin-audit-card strong {
    color: #ffffff;
    font-size: 15px;
}

.admin-staff-card span,
.admin-staff-card small,
.admin-audit-card span,
.admin-audit-card small {
    color: #a9a9a9;
    overflow-wrap: anywhere;
}

.admin-staff-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-staff-state.active {
    background: rgba(42, 180, 80, 0.14);
    color: #5ee07f;
}

.admin-staff-state.inactive {
    background: rgba(229, 9, 20, 0.14);
    color: #ff6670;
}

.admin-staff-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-secondary-button.danger {
    border-color: rgba(229, 9, 20, 0.4);
    color: #ff6670;
}

.admin-secondary-button.success {
    border-color: rgba(42, 180, 80, 0.4);
    color: #5ee07f;
}

.admin-staff-empty {
    padding: 26px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #9d9d9d;
    text-align: center;
}

.admin-staff-empty.error {
    border-color: rgba(229, 9, 20, 0.32);
    color: #ff6670;
}

.admin-audit-card > div:last-child {
    text-align: right;
}

/* Sipariş kodu sorgulama */

.admin-support-order-lookup {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(300px, 1.25fr);
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid rgba(229, 9, 20, 0.24);
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(229, 9, 20, 0.1),
            rgba(255, 255, 255, 0.025)
        );
}

.admin-support-order-lookup h3 {
    margin: 7px 0;
    color: #ffffff;
    font-size: 22px;
}

.admin-support-order-lookup p {
    margin: 0;
    color: #a3a3a3;
    line-height: 1.6;
}

.admin-support-order-lookup form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-support-order-lookup input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: #050505;
    color: #ffffff;
    outline: none;
    text-transform: uppercase;
}

.admin-support-order-lookup input:focus {
    border-color: rgba(229, 9, 20, 0.8);
}

.admin-support-order-result {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.38);
}

.admin-support-order-result[hidden] {
    display: none;
}

.admin-support-order-result.loading {
    color: #c2c2c2;
    text-align: center;
}

.admin-support-order-result.error {
    border-color: rgba(229, 9, 20, 0.4);
    color: #ff6670;
}

.admin-support-order-result.error p {
    margin: 7px 0 0;
    color: #b8b8b8;
}

.support-order-result-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.support-order-result-heading > div:first-child,
.support-order-status-group {
    display: grid;
    gap: 5px;
}

.support-order-result-heading span,
.support-order-customer-grid span,
.support-order-note span {
    color: #969696;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.support-order-result-heading strong {
    color: #ffffff;
    font-size: 21px;
}

.support-order-status-group {
    justify-items: end;
}

.support-order-status {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(229, 9, 20, 0.16);
    color: #ff6670 !important;
}

.support-order-status-group small {
    color: #a7a7a7;
}

.support-order-customer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.support-order-customer-grid > div {
    display: grid;
    gap: 6px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.support-order-customer-grid strong {
    color: #ffffff;
    overflow-wrap: anywhere;
}

.support-order-note {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 190, 45, 0.2);
    border-radius: 10px;
}

.support-order-note p {
    margin: 6px 0 0;
    color: #dddddd;
}

.support-order-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.support-order-items,
.support-order-history {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;
}

.support-order-items h4,
.support-order-history h4 {
    margin: 0 0 12px;
    color: #ffffff;
}

.support-order-items > div,
.support-order-history > div {
    display: grid;
    gap: 5px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.support-order-items > div {
    grid-template-columns: 1fr auto;
}

.support-order-items > div:last-child,
.support-order-history > div:last-child {
    border-bottom: 0;
}

.support-order-items span,
.support-order-history span,
.support-order-history p {
    color: #a9a9a9;
}

.support-order-items strong,
.support-order-history strong {
    color: #ffffff;
}

.support-order-total {
    margin-top: 6px;
    padding-top: 14px !important;
    font-size: 17px;
}

@media (max-width: 1100px) {
    .admin-staff-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-support-order-lookup {
        grid-template-columns: 1fr;
    }

    .admin-support-order-result {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    .admin-role-badge {
        width: 100%;
        justify-content: center;
    }

    .admin-staff-form,
    .support-order-customer-grid,
    .support-order-result-grid {
        grid-template-columns: 1fr;
    }

    .admin-staff-card,
    .admin-audit-card,
    .support-order-result-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-staff-actions {
        justify-content: stretch;
    }

    .admin-staff-actions button {
        flex: 1;
    }

    .admin-audit-card > div:last-child,
    .support-order-status-group {
        text-align: left;
        justify-items: start;
    }

    .admin-support-order-lookup form {
        align-items: stretch;
        flex-direction: column;
    }
}
