:root {
    --fd-bg: #ffcea9;
    --fd-bg-hover: #ff9748;
    --fd-text: #000000;
    --fd-border: #333;
    --muted: #30343c;
    --fd-gradient1: #fe6201;
    --fd-gradient2: #ff904a;
    --fd-text-gradient: #ffff00;
    --fd-cell-border: #333;
    --fd-box-shadow: rgba(0, 0, 0, 0.2);
    --fd-btn-shadow: rgba(0, 0, 0, 0.2);
}

[data-theme='dark'] {
    --fd-bg: #686cff;
    --fd-bg-hover: #474dfb;
    --fd-text: #ffffff;
    --muted: #baccee;
    --fd-border: #d9d8d8;
    --fd-gradient1: #0015ff;
    --fd-gradient2: #4a4aff;
    --fd-cell-border: #d9d8d8;
    --fd-box-shadow: rgba(255, 255, 255, 0.5);
    --fd-btn-shadow: rgba(0, 0, 0, 0.2);
}

.fb-container {
    inset: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px;
    border-radius: 5px;
    z-index: 10;
    width: 95%;
    height: 95%;
    overflow-y: auto;
    text-align: center;
    border: 2px solid var(--fd-border);
    background: var(--fd-bg);
    color: var(--fd-text);
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* overflow: hidden; */
}

.fb-header-btn-close {
    display: flex;
    gap: 1.2vw;
    width: 95%;
    align-items: center;
    margin: 1vw;
}

.fbpopupHeadeer {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    width: 95%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.fbHeadLeft {
    display: flex;
    flex-direction: row;
    width: 95%;
    background: var(--fb-bg);
    padding: 0.2vw;
    border-radius: 1vw;
    overflow: auto;
    justify-content: center;
}

.fblogin {
    background: var(--fb-bg);
    border-radius: 1vw;
    border: 1px solid rgba(0, 0, 0, .06);
    padding: 0.2vw 1vw;
    font-size: 1.6vw;
    margin-top: 0.1vh;
    margin-left: 1vw;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 0.5vw 2.5vw 0 var(--fb-box-shadow);
    cursor: pointer;
    color: var(--fb-text);
    border: 0.2vw solid var(--fb-cell-border);
    text-decoration: none;
}

.fblogin:hover {
    background: var(--fb-bg-hover);
}


.fdClose {
    display: flex;
    flex-direction: column;
}

.fbh2 {
    text-align: center;
    font-family: 'EnglishFontBangers', Arial, Helvetica, sans-serif;
    color: var(--fb-text);
    letter-spacing: .8vw;
    text-shadow: 0 1px 0 #030303,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px var(--fb-box-shadow),
        0 0 5px var(--fb-box-shadow),
        0 1px 3px var(--fb-box-shadow),
        0 3px 5px var(--fb-box-shadow),
        0 5px 10px var(--fb-box-shadow),
        0 10px 10px var(--fb-box-shadow),
        0 20px 20px var(--fb-box-shadow);
    margin-bottom: 1vw;
    margin: 0vw;
}

.fbpopupContent {
    margin-top: 0vw;
    height: calc(100% - 6vw);
    overflow-y: auto;
}

.fbclose-btn {
    position: absolute;
    padding: 0.1vw 0.1vw;
    top: 0vw;
    right: -1.6vw;
    background-color: #e74c3c;
    border: none;
    border-radius: 1vw;
    color: white;
    font-size: 1.6vw;
    width: 10vw;
    height: 3vw;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fbclose-btn:hover {
    background-color: #c0392b;
}


.fb-card {
    background: var(--fd-bg);
    padding: 1.4vw;
    border-radius: 1.2vw;
    margin-bottom: 1.4vw;
    border: 0.1vw solid var(--fd-cell-border);
}

.fb-label {
    font-size: 2vw;
    color: var(--muted);
    margin-bottom: 0.6vw;
    text-align: left;
}

textarea {
    min-height: 7.2vw;
    resize: vertical;
    font-size: 2vw;
    color: var(--fd-text);
}

.fb-controls {
    display: flex;
    gap: 0.8vw;
    align-items: center;
    margin-top: 1vw;
    flex-wrap: wrap
}

.fb-btn-ghost {
    cursor: pointer;
    padding: 0.8vw 1.2vw;
    border-radius: 1vw;
    background: transparent;
    border: 0.1vw solid var(--fd-cell-border);
    color: var(--muted)
}

.fb-server-status {
    color: var(--muted);
    margin-left: auto
}

.fb-btn-primary{
    gap: 0.8vw;
    align-items: center;
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1vw 1.2vw;
    margin: 1vw 0.2vw 0.5vw 0.2vw;
    font-size: 1.6vw;
    display: inline-block;
    margin-top: 0.1vh;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 0.5vw 2.5vw 0 var(--fd-box-shadow);
    border-radius: 0.5vw;
    color: var(--fd-text);
    ;
    border-color: transparent;
    border: none;
    box-shadow: 0 1vw 4vw var(--fd-box-shadow);
}

.fb-btn-primary:hover {
    background: linear-gradient(90deg, #6eeb7f, #3aed3a);
}

.fb-btn-primary{
    background: linear-gradient(90deg, #9c6eeb, #7c3aed);
}

/* responsive */
@media (max-width:600px) {
    .fb-controls {
        flex-direction: column;
        align-items: stretch
    }

    .meta {
        flex-direction: column;
        align-items: flex-start
    }
}

/* .fb-container {
    max-width: 600px;
    margin: auto;
} */

textarea {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
}

.fb-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:1rem;

    margin-top:1rem;

}

#feedbackPageInfo{

    font-weight:bold;

    min-width:80px;

    text-align:center;

}

.fb-empty{

    padding:40px;

    text-align:center;

    opacity:.6;

    font-size:20px;

}

.feedback {
    background: var(--fd-bg-hover);
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

/* ==========================================
   Feedback reply Card
========================================== */
.reply {
    margin-left: 20px;
    background: var(--fd-bg);
    padding: 5px;
    margin-top: 5px;
}

.reply-card{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:18px;
    margin-bottom:15px;
    border-radius:14px;
    background:var(--fd-bg);
    border:1px solid var(--fd-cell-border);
    box-shadow:0 8px 20px var(--fd-box-shadow);
    transition:.25s;
}

.reply-card:hover{
    transform:translateY(-3px);
}


.reply-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.reply-author-left{
    font-size:18px;
    font-weight:bold;
}

.reply-date-right{
    text-align:right;
}

.reply-message{
    text-align: center;
}

/* ==========================================
   Feedback Card V2
========================================== */

.fb-item{

    display:flex;

    flex-direction:column;

    gap:12px;

    padding:18px;

    margin-bottom:15px;

    border-radius:14px;

    background:var(--fd-bg);

    border:1px solid var(--fd-cell-border);

    box-shadow:0 8px 20px var(--fd-box-shadow);

    transition:.25s;

}

.fb-item:hover{

    transform:translateY(-3px);

}

.fb-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.fb-left{

    display:flex;

    flex-direction:column;

}

.fb-name{

    font-size:18px;

    font-weight:bold;

}

.fb-game{

    font-size:14px;

    opacity:.8;

}

.fb-right{

    text-align:right;

}

.fb-category{

    display:inline-block;

    padding:4px 10px;

    border-radius:20px;

    background:#4caf50;

    color:white;

    font-size:13px;

}

.fb-title{

    font-size:20px;

    font-weight:bold;

}

.fb-message{
    line-height:1.5;
}

.fb-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

}

.fb-actions{

    display:flex;

    gap:10px;

}

.fb-action{

    cursor:pointer;

    border:none;

    background:none;

    font-size:16px;

}

.fb-time{

    opacity:.65;

    font-size:13px;

}

.fb-list {

    overflow-y: auto;

    max-height: 45vh;

    padding: 15px 20px;
}