dialog {
    padding: 0;
    border: none !important;
    margin: auto;
    border-radius: 16px;
    background-color: var(--bg-main);
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.8);
}

dialog:focus {
    border: none;
    outline: none;
}

dialog::backdrop {
    backdrop-filter: blur(5px) !important;
}

.dialog-open {
    overflow: hidden;
}

.detail-card{
    display: flex;
    justify-content: space-between;
}

.detail-card-btn{
    border: none;
    height: 100%;
    width: 32px;
    background-color: #18647e;
    cursor: pointer;
}

.detail-card-btn>img{
    height: 20px;
}

.detail-card-btn:focus{
    outline: none;
}

.detail-card-btn:hover{
    background-color: #4fb8db;
}

.detail-card-container {
    height: 560px;
    width: 360px;
    display: flex;
    flex-direction: column;
}

.detail-card-header {
    display: flex;
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    align-items: center;
    width: 100%;
    height: 40px;

}

.detail-card-header p {
    font-size: 16px;
    color: var(--font-light-color);
}

.detail-card-header p:nth-child(2) {
    text-align: center;
    flex-grow: 1;
}

.detail-card-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 16px;
}

.detail-card-body>img {
    height: 250px;
}

.detail-card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%;
    height: 48px;
}

.detail-type-logo {
    width: 60px;
}

.detail-card-nav {
    display: flex;
    justify-content: center;
}

.detail-card-nav button {
    flex-grow: 1;
    background-color: #0f3e4e;
    color: var(--font-light-color);
    border: none;
    cursor: pointer;
    margin: 0 1px;
    padding: 3px;
    height: 28px;
    font-size: 14px;
}

.active{
    border-bottom: 2px solid var(--border-color-btn)!important; 
}

.dialog-nav-btn:hover {
    border-bottom: 2px solid var(--font-light-color);
}

.detail-card-data-section {
    background-color: var(--bg-h-and-f);
    height: 180px;
}

.detail-card-main-table {
    display: flex;
    flex-direction: column;
    margin-left: 24px;
    margin-right: 24px;
    color: var(--font-light-color);
    margin-bottom: 36px;
    padding-top: 16px;
    max-height: 160px;
}

.detail-card-main-row{
    display: flex;
    justify-content: space-between;
}

.detail-card-main-row p{
    text-align: left;
}

.table-main-col-1 {
    width: 115px;
}

.table-main-col-2{
    flex-grow: 1;
    text-align: left;
    word-wrap: break-word;
}


.detail-card-stats-table{
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    color: var(--font-light-color);
    font-size: 14px;
    table-layout: fixed;
    margin-bottom: 36px;
    padding-top: 16px;
}

.stats-progress-bar{
    width: 80%;
}


.meter {
    box-sizing: content-box;
    height: 5px;
    position: relative;
    background: #555;
    border-radius: 25px;
    padding: 2px;
    box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
}

.meter>span {
    display: block;
    height: 100%;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: rgb(43, 194, 83);
    background-image: linear-gradient(center bottom,
            rgb(43, 194, 83) 37%,
            rgb(84, 240, 84) 69%);
    box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
        inset 0 -2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.meter>span:after,
.animate>span>span {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(-45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent);
    z-index: 1;
    background-size: 50px 50px;
    animation: move 2s linear infinite;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

.animate>span:after {
    display: none;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}


.red>span {
    background-image: linear-gradient(#d65b5b, #f42323);
}

.nostripes>span>span,
.nostripes>span::after {
    background-image: none;
}