:root {
    --primary-accent: #6366F1; /* Indigo-500 */
    --secondary-accent: #818CF8; /* Indigo-400 */
    --success-color: #22C55E; /* Green-500 */
    --danger-color: #EF4444; /* Red-500 */
    --panel-border: #334155; /* Slate-700 */
}

body {
    font-family: 'Inter', sans-serif;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 20px 20px;
}

.card {
    background-color: rgba(30, 41, 59, 0.6); /* Slate-800 with transparency */
    backdrop-filter: blur(10px);
    border: 1px solid var(--panel-border);
    border-radius: 0.75rem;
    overflow: hidden; /* Ensures child elements respect border radius */
}

.input-field {
    background-color: rgba(51, 65, 85, 0.7); /* Slate-600 with transparency */
    border: 1px solid var(--panel-border);
    border-radius: 0.5rem;
    color: #F8FAFC; /* Slate-50 */
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.btn {
    padding: 0.65rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
    color: white;
    box-shadow: 0 4px 15px -5px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -5px rgba(99, 102, 241, 0.5);
}

.btn-primary:disabled {
    background: #475569; /* Slate-600 */
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Tab Styles */
.tab-button {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #94A3B8; /* Slate-400 */
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
}

.tab-button:hover {
    color: #CBD5E1; /* Slate-300 */
}

.tab-button.active {
    color: var(--primary-accent);
    border-bottom-color: var(--primary-accent);
}

/* Feature Card Styles */
.feature-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.vote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(51, 65, 85, 0.3); /* Slate-700 with transparency */
    border-radius: 0.5rem;
    padding: 0.5rem 0.25rem;
    align-self: flex-start;
}

.vote-button {
    color: #64748B; /* Slate-500 */
    transition: color 0.2s, transform 0.1s;
    padding: 0.25rem;
    border-radius: 9999px;
}
.vote-button:hover {
    color: white;
    transform: scale(1.1);
}
.vote-button.upvoted {
    color: var(--success-color);
}
.vote-button.downvoted {
    color: var(--danger-color);
}
.vote-button:active {
    transform: scale(0.95);
}

.vote-score {
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    margin: 0.25rem 0;
}

/* Status Badge Styles */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
}
.status-open { background-color: rgba(86, 101, 115, 0.5); color: #F8F9F9; }
.status-under-review { background-color: rgba(245, 176, 65, 0.7); color: #FEF9E7; }
.status-planned { background-color: rgba(52, 152, 219, 0.7); color: #EAF2F8; }
.status-completed { background-color: rgba(46, 204, 113, 0.7); color: #E8F8F5; }
.status-declined { background-color: rgba(231, 76, 60, 0.6); color: #F9EBEA; }

/* Styles for Admin Comment and Panel */
.admin-comment {
    background-color: rgba(99, 102, 241, 0.1); /* Indigo tint */
    border-left: 4px solid var(--primary-accent);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 0.25rem;
}
.admin-comment p { margin: 0; }
.admin-comment .comment-author { font-weight: 600; color: var(--secondary-accent); }

.admin-panel {
    border-top: 1px solid var(--panel-border);
    margin-top: 1rem;
    padding-top: 1rem;
}
