/* Feedback Page Styles */

:root {
    --status-pending: var(--warning, #ffd700);
    --status-progress: var(--info, #3498db);
    --status-done: var(--success, #2ecc71);
}

.app-header {
    margin-bottom: 30px;
    text-align: center;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding-bottom: 50px;
}

.card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px var(--shadow-color);
    border-left: 5px solid var(--status-pending);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px var(--shadow-color);
}

.card[data-status="pending"] { border-left-color: var(--status-pending); }
.card[data-status="inprogress"] { border-left-color: var(--status-progress); }
.card[data-status="completed"] { border-left-color: var(--status-done); }

.card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.user-link {
    font-weight: 600;
    color: var(--accent-primary);
}

.story-tag a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.story-tag a:hover {
    color: var(--accent-primary);
}

.content {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-todo {
    background: var(--bg-hover);
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-todo:hover {
    background: var(--accent-primary);
    color: white;
}

.btn-reply {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-reply:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.hidden {
    display: none;
}

.todo-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

.todo-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.todo-input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
}

.todo-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.status-select {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    cursor: pointer;
}

.status-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .filters {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .card {
        margin: 0 0 15px 0;
    }
}