﻿:root {
    --border: #BBBBBB;
    --border1: #ECECEC;
}

.my-requests .search-bar {
    display: flex;
    gap: 12px;
    align-items: center;
}

.my-requests .btn-request:hover {
    border: 2px solid #015c2e !important;
}

.my-requests .item-header i:hover {
    color: #00994f !important;
}

.my-requests .search-input {
    flex: 1;
    height: 58px;
    border: 1px solid var(--Primitives-Neutral-4, #BBBBBB);
    background: #fff;
    border-radius: 999px;
    padding: 16px 45px 16px 25px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, .02);
}

.my-requests .search-input::placeholder {
    color: #9aa6b2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-requests .list {
    margin-top: 24px;
    overflow: hidden;
    border-bottom: 1px solid var(--border1);
}

.my-requests .item {
    background: #fff;
    border-bottom: 1px solid var(--border1);
}

.my-requests .item:last-child {
    border-bottom: none;
}

.my-requests .item-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 24px 18px 16px 18px;
    cursor: pointer;
}

.my-requests .item-header:hover {
    background: var(--surface-2)
}

.my-requests .right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted)
}

.my-requests .date {
    min-width: 100px;
    text-align: right;
}

.my-requests details.item>summary {
    list-style: none;
}

.my-requests details.item>summary::-webkit-details-marker {
    display: none;
}

.my-requests .item-body {
    padding: 0 18px 18px 18px;
    background: #fff;
}

.my-requests .subtitle {
    margin: 2px 0 10px;
}

.my-requests .timeline {
    position: relative;
    margin: 16px 0 6px;
}

.my-requests .timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 41px;
    height: 2px;
    background-image: repeating-linear-gradient(to right, var(--border) 0, var(--border) 6px, transparent 6px, transparent 10px);
}

.my-requests .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.my-requests .step {
    position: relative;
}

.my-requests .step.step-1 {
    text-align: start;
}

.my-requests .step.step-2 {
    text-align: center;
}

.my-requests .step.step-3 {
    text-align: end;
}

.my-requests .badge {
    width: auto;
    min-width: 88px;
    height: 26px;
    padding: 5px 12px;
    gap: 10px;
    opacity: 1;
    border-radius: 16px;
    text-transform: uppercase;
    margin-top: 8px;
}

.my-requests .badge.processing {
    display: inline-block;
    background: var(--Palette-Fill-Background-icon-bg-default, #ECFAE2);
    color: #00994F;
}

.my-requests .badge.closed {
    background: #f1f5f9;
    color: #747474;
}

@media (max-width:991px) {
    .my-requests .item-header {
        padding: 24px 0px 16px 0px;
    }

    .my-requests .item-body {
        padding: 0 0 12px 0;
    }

    .btn-request {
        display: none;
    }

    .my-requests .timeline::before {
        background-image: repeating-linear-gradient(to right, var(--border) 0, var(--border) 6px, transparent 6px, transparent 9px);
    }

    .my-requests .badge {
        min-width: unset;
    }

    .search-bar .ti-x {
        display: none !important;
    }
}

@media (min-width:992px) {
    .search-bar .ti-search {
        display: none !important;
    }
}

/* Result not found styles */
.my-requests .result-notfound {
    padding: 40px 20px;
    min-height: 400px;
}

.my-requests .result-notfound img {
    max-width: 200px;
    height: auto;
}

.my-requests .result-notfound .heading-notfound {
    margin-top: 24px;
}

/* Result error styles */
.my-requests .result-error {
    padding: 40px 20px;
    min-height: 400px;
}

.my-requests .result-error img {
    max-width: 200px;
    height: auto;
}