/* ==========================================================
GLOBAL RESET & BASE
========================================================== */

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background-color: #0d0d0f;
color: #e0e0e0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 100px 40px 40px;
transition: background-color 0.4s ease, color 0.4s ease;
line-height: 1.6;
}

/* Smooth fade-in animation for page load */
body {
opacity: 0;
animation: fadeInBody 0.8s ease forwards;
}

@keyframes fadeInBody {
to {
opacity: 1;
}
}

/* ==========================================================
PAGE TITLES & HEADERS
========================================================== */
h1 {
font-size: 2.5rem;
font-weight: 700;
color: #ffffff;
margin-bottom: 30px;
text-align: left;
letter-spacing: 0.5px;
animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-15px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* ==========================================================
FEEDBACK SECTION
========================================================== */
ul {
list-style: none;
padding: 0;
}

.feedback {
display: flex;
align-items: flex-start;
gap: 18px;
background-color: #151525;
padding: 22px;
border-radius: 12px;
margin-bottom: 22px;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.6s ease forwards;
border: 1px solid #1f1f1f;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
}

.feedback:hover {
background-color: #1b1b2e;
transform: translateY(-4px);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}

/* Avatar */
.avatar {
width: 52px;
height: 52px;
border-radius: 50%;
background-color: #252545;
background-image: url('../images/avatar.png');
background-size: cover;
background-position: center;
flex-shrink: 0;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Feedback text */
.feedback strong {
font-size: 0.95rem;
font-weight: 700;
color: #c0c0c0;
display: block;
margin-bottom: 4px;
}

.feedback em {
display: block;
font-size: 1.4rem;
font-weight: 600;
color: #ffffff;
font-style: normal;
margin-bottom: 6px;
}

.feedback p {
font-size: 1rem;
color: #d0d0d0;
line-height: 1.6;
}

/* ==========================================================
PAGINATION
========================================================== */
.pagination {
margin-top: 25px;
text-align: center;
}

.pagination a,
.pagination strong {
margin: 0 6px;
padding: 8px 14px;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
color: #cfcfcf;
border: 1px solid #2b2b2b;
transition: all 0.3s ease;
}

.pagination a:hover {
background-color: #2E3192;
color: #ffffff;
}

.pagination strong {
background-color: #F90618;
color: white;
border-color: #F90618;
}

/* ==========================================================
LOGO
========================================================== */
.logo {
width: 160px;
height: auto;
display: block;
position: absolute;
top: 25px;
left: 40px;
cursor: pointer;
transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover {
transform: scale(1.05);
opacity: 0.9;
}

/* ==========================================================
STATUS LABELS
========================================================== */
.status-label {
position: absolute;
top: 10px;
right: 20px;
padding: 6px 14px;
border-radius: 14px;
font-size: 0.8rem;
font-weight: 600;
color: #ffffff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
transition: transform 0.3s ease;
}

.status-label:hover {
transform: scale(1.05);
}

.status-label.in-development {
background-color: #F90618;
}

.status-label.planned {
background-color: #f0c93d;
color: #000;
}

.status-label.completed {
background-color: #2E3192;
}

/* ==========================================================
FILTER & ACTION BAR
========================================================== */
.filter-container {
margin: 25px 0;
padding: 18px 22px;
background-color: #151525;
border: 1px solid #2E3192;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
animation: fadeInUp 0.7s ease forwards;
}

.filter-container form {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}

/* Dropdown */
.filter-container select {
padding: 8px 12px;
background-color: #1a1a2e;
color: #f0f0f0;
border: 1px solid #2E3192;
border-radius: 6px;
outline: none;
transition: border 0.3s ease, background-color 0.3s ease;
}

.filter-container select:hover {
border-color: #F90618;
}

/* Buttons */
.filter-container button {
padding: 8px 18px;
background-color: #2E3192;
color: #ffffff;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.filter-container button:hover {
background-color: #232578;
transform: translateY(-2px);
}

/* Links */
.filter-container a {
color: #F90618;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}

.filter-container a:hover {
color: #ff5c6a;
text-decoration: underline;
}

/* Action Button */
.button-wrapper a {
padding: 8px 18px;
background-color: #F90618;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.button-wrapper a:hover {
background-color: #d00415;
transform: translateY(-2px);
}

/* ==========================================================
RESPONSIVENESS
========================================================== */
@media (max-width: 768px) {
body {
padding: 25px;
}

.filter-container {
flex-direction: column;
gap: 12px;
align-items: stretch;
}

.feedback {
flex-direction: column;
align-items: flex-start;
}

h1 {
font-size: 2rem;
}
}

/* ==========================================================
GO TO GRAPHS BUTTON (Top-Right Corner)
========================================================== */
.go-to-graphs-btn {
position: absolute;
top: 30px;
right: 40px;
background-color: #2E3192;
color: #ffffff;
font-weight: 600;
padding: 10px 20px;
border: none;
border-radius: 8px;
cursor: pointer;
text-decoration: none;
font-size: 0.95rem;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
transition: background-color 0.3s ease, transform 0.25s ease;
}

.go-to-graphs-btn:hover {
background-color: #232578;
transform: translateY(-2px);
}

.go-to-graphs-btn:active {
background-color: #1c1e60;
transform: translateY(0);
}

@media (max-width: 768px) {
.go-to-graphs-btn {
top: 20px;
right: 20px;
font-size: 0.9rem;
padding: 8px 16px;
}
}

/* ==========================================================
VOTE BUTTONS (BOTTOM-RIGHT OF FEEDBACK)
========================================================== */
.vote-buttons {
    position: absolute;
    bottom: 12px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 30, 45, 0.7);
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.vote-btn {
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vote-btn img {
    width: 22px;
    height: 22px;
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.vote-btn:hover img {
    transform: scale(1.2);
    opacity: 1;
}

/* 🔵 Upvote selected - Bright Blue Glow */
.vote-btn.upvote.selected {
    background: rgba(0, 140, 255, 0.95);
    box-shadow: 0 0 16px rgba(0, 180, 255, 0.8);
    transform: scale(1.1);
}

/* 🔴 Downvote selected - Bright Red Glow */
.vote-btn.downvote.selected {
    background: rgba(255, 60, 60, 0.95);
    box-shadow: 0 0 16px rgba(255, 70, 70, 0.8);
    transform: scale(1.1);
}

.vote-count {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ccc;
    min-width: 20px;
    text-align: center;
    user-select: none;
}

/* 📱 Mobile Layout */
@media (max-width: 768px) {
    .vote-buttons {
        position: static;
        margin-top: 10px;
        justify-content: flex-end;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
}

