/* 
 * 사원 평가 시스템(EES) 표준 디자인 시스템
 * 작성일: 2026-04-28
 */

:root {
    /* Design Tokens */
    --ees-card-bg: rgba(30, 32, 40, 0.6);
    --ees-card-blur: 10px;
    --ees-card-border: rgba(255, 255, 255, 0.1);
    --ees-card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --ees-primary-gradient: linear-gradient(90deg, #6366f1, #a855f7);
    --ees-secondary-gradient: linear-gradient(90deg, #4facfe, #00f2fe);
    
    /* Status Colors */
    --ees-status-performance: #0d6efd;
    --ees-status-competency: #198754;
    --ees-status-multi: #f59e0b;
    --ees-status-self: #10b981;
    --ees-status-executive: #0dcaf0;
    --ees-status-danger: #ef4444;
    
    /* Transitions */
    --ees-transition-fast: all 0.2s ease;
    --ees-transition-base: all 0.3s ease;

    /* Filter Bar System Tokens */
    --ees-filter-height: 42px;
    --ees-filter-radius: 8px;
    --ees-filter-gap: 1rem;
    --ees-bg-control: #1a1a1a;
    --ees-border-control: rgba(255, 255, 255, 0.1);
    --ees-text-label: rgba(255, 255, 255, 0.5);
    --ees-primary-glow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Glassmorphism Card */
.ees-card {
    background: var(--ees-card-bg);
    backdrop-filter: blur(var(--ees-card-blur));
    -webkit-backdrop-filter: blur(var(--ees-card-blur));
    border: 1px solid var(--ees-card-border);
    border-radius: 12px;
    box-shadow: var(--ees-card-shadow);
}

/* High-end Glass Button */
.ees-btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: var(--ees-transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ees-btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ees-btn-glass .bi-gear {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ees-btn-glass:hover .bi-gear {
    transform: rotate(90deg);
}

.ees-btn-glass:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.18);
}

/* Large Glass Button (Mapping Special) */
.ees-btn-glass-lg {
    font-size: 1.05rem !important;
    padding: 0.65rem 1.3rem !important;
    border-radius: 10px !important;
}

/* Primary Glass Button */
.ees-btn-glass-primary {
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--ees-transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ees-btn-glass-primary:hover {
    background: rgba(99, 102, 241, 0.25);
    color: #fff;
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.ees-btn-glass-primary:active {
    transform: translateY(0);
    background: rgba(99, 102, 241, 0.35);
}

/* Danger Glass Button */
.ees-btn-glass-danger {
    background: rgba(239, 68, 68, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--ees-transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ees-btn-glass-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fff;
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.ees-btn-glass-danger:active {
    transform: translateY(0);
}

/* Glass Tool Group */
.ees-glass-group {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
    display: inline-flex;
    padding: 0;
}

.ees-glass-group form {
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
}

.ees-glass-group .btn {
    border-radius: 0 !important;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 0 !important;
    padding: 0.4rem 0.6rem !important;
    height: 100% !important;
    background: transparent !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: var(--ees-transition-fast);
}

.ees-glass-group .btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.ees-glass-group .ees-btn-glass-danger:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
}

.ees-glass-group .btn:last-child,
.ees-glass-group form:last-child .btn {
    border-right: none !important;
}

/* EES Table System */
.ees-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ees-table thead th {
    background: transparent;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ees-table tbody td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.ees-table tbody tr {
    transition: var(--ees-transition-fast);
}

.ees-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* EES Form Control */
.ees-form-control {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    transition: var(--ees-transition-fast);
}

.ees-form-control:focus {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
    outline: none;
}

.ees-filter-control:focus {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
}

/* EES Tab System (Pill Style) */
.ees-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ees-tab-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--ees-transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    outline: none;
}

.ees-tab-pill:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ees-tab-pill.active {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.ees-tab-count {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

.ees-tab-pill.active .ees-tab-count {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
}

.ees-tab-count-danger {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
    opacity: 1 !important;
}

.ees-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ees-filter-gap);
    align-items: flex-end;
}

.ees-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease; /* No background transition */
}

/* Standard Badges */
.ees-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 6px;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    min-height: 26px;
    white-space: nowrap;
    text-align: center;
}

.ees-badge-performance { background: rgba(13, 110, 253, 0.15); color: var(--ees-status-performance); border: 1px solid rgba(13, 110, 253, 0.3); }
.ees-badge-competency { background: rgba(25, 135, 84, 0.15); color: var(--ees-status-competency); border: 1px solid rgba(25, 135, 84, 0.3); }
.ees-badge-multi { background: rgba(245, 158, 11, 0.15); color: var(--ees-status-multi); border: 1px solid rgba(245, 158, 11, 0.3); }
.ees-badge-self { background: rgba(16, 185, 129, 0.15); color: var(--ees-status-self); border: 1px solid rgba(16, 185, 129, 0.3); }
.ees-badge-executive { background: rgba(13, 202, 240, 0.15); color: var(--ees-status-executive); border: 1px solid rgba(13, 202, 240, 0.3); }
.ees-badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--ees-status-danger); border: 1px solid rgba(239, 68, 68, 0.3); }

/* Text Gradient */
.ees-text-gradient {
    background: var(--ees-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HTMX Loading Indicator */
.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease-in;
}
.htmx-request .htmx-indicator {
    opacity: 1;
}
.htmx-request.htmx-indicator {
    opacity: 1;
}

/* Weight Control Bar (Premium Capsule Design) */
.ees-weight-control-bar {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    overflow: hidden;
    display: inline-flex;
    align-items: stretch;
    transition: var(--ees-transition-base);
}

.ees-weight-control-bar:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.weight-section {
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
    position: relative;
}

.weight-section:not(:last-child):not(.border-0)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.weight-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.weight-input {
    background: transparent;
    border: none;
    color: #fff;
    width: 50px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 0.5rem 0;
    outline: none !important;
}

/* Chrome, Safari, Edge, Opera - hide arrows */
.weight-input::-webkit-outer-spin-button,
.weight-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox - hide arrows */
.weight-input[type=number] {
    -moz-appearance: textfield;
}

.weight-unit {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}

.weight-save-btn {
    background: #6366f1 !important;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0 1.75rem;
    transition: var(--ees-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.weight-save-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.weight-save-btn:active {
    transform: scale(0.98);
}

.weight-save-btn:disabled {
    background: #475569 !important;
    cursor: not-allowed;
    opacity: 0.5;
}

.text-performance { color: #60a5fa !important; }
.text-competency { color: #10b981 !important; }

/* Unified Glass Hover Colors (High Priority) */
.ees-glass-group .btn.ees-btn-glass-edit-hover:hover,
.ees-btn-glass-edit-hover:hover {
    background: rgba(99, 102, 241, 0.25) !important;
    color: #818cf8 !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

.ees-glass-group .btn.ees-btn-glass-success-hover:hover,
.ees-btn-glass-success-hover:hover {
    background: rgba(16, 185, 129, 0.25) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

.ees-glass-group .btn.ees-btn-glass-warning-hover:hover,
.ees-btn-glass-warning-hover:hover {
    background: rgba(245, 158, 11, 0.25) !important;
    color: #f59e0b !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}

/* Unified Rules Card Component */
.ees-rules-card {
    background: rgba(30, 41, 59, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid #6366f1 !important;
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--ees-transition-base);
}

.ees-rules-card:hover {
    background: rgba(30, 41, 59, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-2px);
}

.ees-rules-card h6 {
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ees-rules-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.ees-rules-list li {
    position: relative;
    padding-left: 1.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.ees-rules-list li:last-child {
    margin-bottom: 0;
}

.ees-rules-list li::before {
    content: "•";
    position: absolute;
    left: 0.25rem;
    color: #6366f1;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: -2px;
}

/* --- Premium Dark Selector UI --- */

/* Modal Backdrop Blur */
.modal-backdrop.show {
    backdrop-filter: blur(12px);
    background-color: rgba(10, 11, 14, 0.7);
}

/* Premium Glass Modal */
.ees-modal-glass {
    background: rgba(28, 31, 38, 1) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid #2d313e !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
}

.ees-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
}

.ees-modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* Selector Layout */
.selector-container {
    display: flex;
    height: 500px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.selector-sidebar {
    width: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
    padding: 1rem 0;
}

.selector-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-x: hidden;
}

/* Sidebar Item */
.dept-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dept-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.dept-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border-left-color: #6366f1;
    font-weight: 600;
}

/* Employee Item */
.emp-item {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.emp-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.emp-item.selected {
    background: rgba(99, 102, 241, 0.08);
}

/* Premium Avatar */
.ees-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.ees-avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
}

/* Avatar Colors */
.bg-avatar-1 { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.bg-avatar-2 { background: linear-gradient(135deg, #a855f7, #9333ea); }
.bg-avatar-3 { background: linear-gradient(135deg, #ec4899, #db2777); }
.bg-avatar-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-avatar-5 { background: linear-gradient(135deg, #10b981, #059669); }
.bg-avatar-6 { background: linear-gradient(135deg, #0ea5e9, #0284c7); }

/* Main Selection Card (Main Modal) */
.selection-display {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(18, 20, 28, 0.5);
    border-radius: 16px;
    border: 1px solid #2d313e;
    margin-bottom: 1.5rem;
}

.selection-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.selection-node .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.selection-node .placeholder {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.selection-node .placeholder:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6366f1;
    color: #818cf8;
}

.selection-arrow {
    color: #334155;
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; color: #6366f1; }
}

/* Scrollbar Style */
.custom-scroll::-webkit-scrollbar {
    width: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hover-primary:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    cursor: pointer;
}
.transition-base { transition: all 0.2s ease; }

.ees-grid-item {
    background-color: rgba(22, 26, 35, 1) !important;
    border: 1px solid #2d313e;
    transition: all 0.2s ease;
}

.ees-grid-item:hover {
    background-color: #1f242d !important;
}

/* Premium Search Bar UI */
.ees-search-wrapper {
    background: #12141c;
    border: 1px solid #2d313e;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.ees-search-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.ees-search-input {
    background: transparent !important;
    border: none !important;
    color: #f8fafc !important;
    padding: 0 !important;
    font-size: 0.95rem;
    flex: 1;
}

.ees-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ees-search-input::placeholder {
    color: #475569;
}

.ees-search-icon {
    color: #475569;
    font-size: 1.1rem;
}

.ees-search-clear {
    color: #475569;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: none;
}

.ees-search-clear:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
}

.ees-search-input:not(:placeholder-shown) ~ .ees-search-clear {
    display: block;
}
/* ==========================================================================
   Multi-Source Evaluation Feedback Dashboard
   ========================================================================== */
.multi-eval-container {
    background: #1f2937; /* 바깥쪽을 회색으로 변경 */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #10b981;
    padding: 24px;
    margin-bottom: 24px;
}

.multi-eval-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.multi-eval-title {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.multi-eval-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.participation-badge {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.average-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.feedback-list::-webkit-scrollbar {
    width: 6px;
}

.feedback-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.feedback-item {
    background: rgba(255, 255, 255, 0.04); /* 호버 색상을 상시 적용 */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px; /* 아이템 간 간격 추가 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, background 0.2s;
}

.feedback-item:last-child {
    margin-bottom: 0;
}

.feedback-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.evaluator-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.evaluator-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.evaluator-label {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evaluator-name {
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.95rem;
}

.comment-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
}

.score-box-highlight {
    background: #1f2937;
    border-radius: 10px;
    padding: 10px 15px;
    min-width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.score-value {
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================================
   Filter Bar System
   ========================================================================== */

.ees-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ees-filter-gap);
    align-items: flex-end;
}

.ees-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ees-filter-gap);
    align-items: flex-end;
    width: 100%;
}

.ees-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ees-filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ees-text-label);
    height: 1.2rem; /* Fixed label height for baseline stability */
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.ees-filter-control-wrap {
    display: flex;
    flex-direction: column;
}

.ees-filter-control {
    height: var(--ees-filter-height);
    background-color: var(--ees-bg-control) !important;
    border: 1px solid var(--ees-border-control) !important;
    border-radius: var(--ees-filter-radius) !important;
    color: #fff !important;
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    outline: none;
}

.ees-filter-control:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.ees-filter-control:focus {
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: var(--ees-primary-glow);
}

.ees-filter-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Validation States */
.ees-filter-control.is-invalid {
    border-color: var(--ees-status-danger) !important;
}

.ees-filter-helper {
    font-size: 0.7rem;
    color: var(--ees-text-label);
    margin-top: 4px;
}

.ees-filter-error {
    font-size: 0.7rem;
    color: var(--ees-status-danger);
    margin-top: 4px;
}

/* Actions */
.ees-filter-actions {
    display: flex;
    gap: 0.5rem;
    height: var(--ees-filter-height);
    align-items: flex-end;
}

.btn-ees-filter {
    height: var(--ees-filter-height);
    padding: 0 1.25rem;
    border-radius: var(--ees-filter-radius);
    background-color: #6366f1;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--ees-transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.btn-ees-filter:hover {
    background-color: #4f46e5;
    transform: translateY(-1px);
    color: #fff;
}

.btn-ees-filter:active {
    transform: scale(0.98);
}

/* Responsive Rules */
@media (max-width: 991.98px) {
    .ees-filter-group {
        flex: 1 1 calc(50% - var(--ees-filter-gap));
    }
}

@media (max-width: 575.98px) {
    .ees-filter-group {
        flex: 1 1 100%;
    }
    .btn-ees-filter {
        width: 100%;
        justify-content: center;
    }
}
