/* === Calitina Feedback Page Styles === */

/* Stats bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: .72rem;
    color: rgba(232, 246, 255, .5);
    letter-spacing: .1em;
}

.stat-item strong {
    color: var(--cyan);
    font-weight: 400;
}

/* Section title */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--cyan);
    letter-spacing: .15em;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(126, 232, 250, .3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Refresh button */
.refresh-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--cyan-dim);
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.refresh-btn:hover {
    border-color: var(--cyan-dim);
    color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}
.refresh-btn.loading {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Submit form */
.submit-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.input-field {
    width: 100%;
    padding: .7rem 1rem;
    margin-bottom: .6rem;
    background: rgba(4, 14, 32, .5);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Noto Sans SC', sans-serif;
    font-size: .82rem;
    transition: border-color .3s ease, box-shadow .3s ease;
    resize: vertical;
}

.input-field:focus {
    outline: none;
    border-color: var(--cyan-dim);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.input-field::placeholder {
    color: rgba(232, 246, 255, .3);
}

textarea.input-field {
    min-height: 100px;
}

.char-count {
    text-align: right;
    font-size: .65rem;
    color: rgba(232, 246, 255, .35);
    margin-bottom: .6rem;
    letter-spacing: .08em;
}

.char-count.warn {
    color: rgba(255, 180, 100, .7);
}

.form-error {
    padding: .6rem 1rem;
    margin-bottom: .6rem;
    background: rgba(255, 80, 60, .1);
    border: 1px solid rgba(255, 100, 80, .2);
    border-radius: 4px;
    color: rgba(255, 150, 130, .8);
    font-size: .75rem;
    letter-spacing: .05em;
}

.form-success {
    padding: .6rem 1rem;
    margin-bottom: .6rem;
    background: rgba(126, 232, 250, .08);
    border: 1px solid rgba(126, 232, 250, .2);
    border-radius: 4px;
    color: var(--cyan);
    font-size: .75rem;
    letter-spacing: .05em;
}

.submit-btn {
    width: 100%;
    padding: .75rem 2rem;
    border: 1px solid var(--cyan-dim);
    color: var(--cyan);
    font-family: 'Noto Sans SC', sans-serif;
    font-size: .85rem;
    letter-spacing: .25em;
    cursor: pointer;
    background: rgba(126, 232, 250, .06);
    border-radius: 4px;
    transition: all .35s ease;
}

.submit-btn:hover:not(:disabled) {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    background: rgba(126, 232, 250, .12);
}

.submit-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Confirm dialog */
.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.confirm-box {
    background: rgba(4, 20, 40, .95);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
}

.confirm-text {
    font-size: .85rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.confirm-buttons {
    display: flex;
    gap: .8rem;
    justify-content: center;
}

.confirm-btn {
    padding: .5rem 1.5rem;
    border-radius: 4px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: .78rem;
    cursor: pointer;
    transition: all .3s ease;
}

.confirm-btn.cancel {
    background: none;
    border: 1px solid var(--border);
    color: rgba(232, 246, 255, .6);
}
.confirm-btn.cancel:hover {
    border-color: var(--cyan-dim);
    color: var(--cyan);
}

.confirm-btn.ok {
    background: rgba(126, 232, 250, .1);
    border: 1px solid var(--cyan-dim);
    color: var(--cyan);
}
.confirm-btn.ok:hover {
    box-shadow: 0 0 12px var(--cyan-glow);
}

/* Feedback list */
.feedback-list-section {
    margin-bottom: 1rem;
}

.feedback-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.feedback-loading {
    text-align: center;
    padding: 3rem;
    color: var(--cyan-dim);
    font-size: .75rem;
    letter-spacing: .2em;
}
.feedback-loading span {
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: .3; }
    50% { opacity: .9; }
}

.feedback-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(232, 246, 255, .35);
    font-size: .8rem;
    letter-spacing: .15em;
}

.feedback-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.2rem 1.5rem;
    background: rgba(4, 14, 32, .35);
    transition: all .3s ease;
    position: relative;
}

.feedback-card:hover {
    box-shadow: 0 0 18px var(--cyan-glow);
}

.feedback-card.pinned {
    border-color: rgba(126, 232, 250, .35);
    background: rgba(126, 232, 250, .04);
}

.feedback-card.pinned::before {
    content: '📌 置顶';
    position: absolute;
    top: 0;
    right: 0;
    font-size: .6rem;
    background: var(--cyan);
    color: #020b1a;
    padding: .15rem .7rem;
    letter-spacing: .12em;
    border-radius: 0 6px 0 6px;
    opacity: .8;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .6rem;
    flex-wrap: wrap;
    gap: .5rem;
}

.feedback-player {
    font-family: 'Cinzel', serif;
    font-size: .9rem;
    color: var(--cyan);
    letter-spacing: .1em;
    text-shadow: 0 0 8px rgba(126, 232, 250, .3);
}

.feedback-date {
    font-size: .6rem;
    color: rgba(232, 246, 255, .35);
    letter-spacing: .1em;
}

.feedback-content {
    font-size: .82rem;
    line-height: 1.8;
    color: rgba(232, 246, 255, .82);
    letter-spacing: .04em;
    word-break: break-word;
    white-space: pre-wrap;
}

.feedback-status-badge {
    display: inline-block;
    font-size: .6rem;
    padding: .15rem .5rem;
    border-radius: 3px;
    letter-spacing: .1em;
    margin-left: .5rem;
}

.status-pending { background: rgba(240, 201, 110, .15); color: var(--gold); }
.status-approved { background: rgba(126, 232, 250, .1); color: var(--cyan); }
.status-wontfix { background: rgba(255, 100, 100, .1); color: rgba(255, 130, 130, .8); }
.status-worksasintended { background: rgba(100, 200, 100, .1); color: rgba(130, 255, 130, .7); }
.status-duplicate { background: rgba(180, 180, 180, .1); color: rgba(200, 200, 200, .6); }
.status-spam { background: rgba(255, 80, 60, .15); color: rgba(255, 100, 80, .7); }
.status-fixing { background: rgba(255, 180, 60, .1); color: rgba(255, 200, 100, .7); }
.status-custom { background: rgba(180, 160, 255, .1); color: rgba(200, 190, 255, .7); }
