:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --primary-gradient: linear-gradient(135deg, #3063A0 0%, #1e3a5f 100%);
    --accent-color: #38bdf8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

#feedbackVue {
    padding: 2rem;
    font-family: 'Fira Sans', sans-serif;
    color: #334155;
}

/* Glass Card */
.feedback-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

.feedback-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Header Section */
.hero-section {
    background: var(--primary-gradient);
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Search and Filters */
.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 0.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-select {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    transition: border-color 0.2s;
}

.filter-select:hover {
    border-color: var(--accent-color);
}

/* Feedback Grid */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    transition: opacity 0.3s ease;
}

.feedback-grid.refreshing {
    opacity: 0.5;
    pointer-events: none;
}

.feedback-grid-wrapper {
    position: relative;
}

.refreshing-indicator {
    position: absolute;
    top: -2rem;
    right: 0;
    font-size: 0.85rem;
    color: var(--primary-gradient);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.card-top {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending { background: rgba(245, 158, 11, 0.1); color: var(--warning-color); }
.status-assigned { background: rgba(56, 189, 248, 0.1); color: var(--accent-color); }
.status-completed { background: rgba(16, 185, 129, 0.1); color: var(--success-color); }
.status-cancelled { background: rgba(239, 64, 64, 0.1); color: var(--danger-color); }

.card-body-content {
    padding: 0 1.5rem 1.5rem;
}

.feedback-subject {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.feedback-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.feedback-text {
    line-height: 1.6;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-actions {
    padding: 1rem 1.5rem;
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pagination */
.pagination-modern .page-item {
    margin: 0 0.25rem;
}

.pagination-modern .page-link {
    border: none;
    border-radius: 0.75rem !important;
    color: #475569;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
    background: transparent;
}

.pagination-modern .page-item.active .page-link {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(48, 99, 160, 0.3);
}

.pagination-modern .page-item.disabled .page-link {
    opacity: 0.5;
    background: transparent;
}

.pagination-modern .page-link:hover:not(.active) {
    background: rgba(48, 99, 160, 0.1);
    color: var(--primary-gradient);
}

/* FAB */
.add-feedback-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(48, 99, 160, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-feedback-fab:hover {
    transform: scale(1.1) rotate(90deg);
}

/* Details Panel */
.details-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 600px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 50px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem;
    overflow-y: auto;
}

.details-sidebar.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.35rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--accent-color);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.timeline-content {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
}

.timeline-meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* Modal Styling */
.modern-modal {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 2rem !important;
}

.form-control-modern {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
}

.form-control-modern:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .details-sidebar {
        width: 100%;
    }
}
