/* Modern GNP Cloud Design - 2025 Premium Edition */

@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap);

/* Remix Icon Compatibility - Font Awesome to Remix Icon Mapping */
.ri,
[class*="ri-"] {
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Icon Size Utilities for Remix Icon */
.ri-xs { font-size: 0.75rem; }
.ri-sm { font-size: 0.875rem; }
.ri-md { font-size: 1rem; }
.ri-lg { font-size: 1.25rem; }
.ri-xl { font-size: 1.5rem; }
.ri-2x { font-size: 2rem; }
.ri-3x { font-size: 3rem; }

:root {
    /* Premium Color Palette - Soft & Elegant */
    --primary: #8f93f6;
    --primary-light: #b3b6f9;
    --primary-dark: #6b6fd4;
    --primary-50: rgba(71, 136, 255, 0.1);
    
    --secondary: #6c757d;
    --success: #7fdd85;
    --info: #fcbba5;
    --warning: #fad263;
    --danger: #ef9fc4;
    --light: #FAFAFA;
    --dark: #01041b;
    
    --orange: #fd7e14;
    --purple: #4731b6;
    --pink: #FFE0E0;
    
    /* Background Colors - Soft Tints */
    --iq-primary: rgba(71, 136, 255, 0.1);
    --iq-secondary: rgba(108, 117, 125, 0.1);
    --iq-success: rgba(55, 230, 178, 0.1);
    --iq-info: rgba(135, 108, 254, 0.1);
    --iq-warning: rgba(254, 114, 28, 0.1);
    --iq-danger: rgba(255, 75, 75, 0.1);
    --iq-light: rgba(199, 203, 211, 0.1);
    --iq-dark: rgba(1, 4, 27, 0.1);
    --iq-orange: rgba(253, 126, 20, 0.1);
    --iq-purple: rgba(71, 49, 182, 0.1);
    
    /* Neutral Grays - Soft & Refined */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Unified Spacing System (8px grid) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Soft Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.03);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    
    /* Unified Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--light);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Layout */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - Soft Glassmorphism */
.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid var(--gray-200);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-xs);
}

.sidebar-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.sidebar-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.sidebar .components {
    padding: var(--spacing-md) 0;
}

.sidebar .components li {
    margin: var(--spacing-xs) var(--spacing-md);
}

.sidebar .components li a {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: 500;
    font-size: 14px;
}

.sidebar .components li a:hover {
    background: var(--iq-primary);
    color: var(--primary);
    transform: translateX(2px);
}

.sidebar .components li.active a {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateX(2px);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.sidebar .components li.active a i {
    color: white;
}

.sidebar .components li a i {
    width: 20px;
    margin-right: var(--spacing-sm);
    font-size: 16px;
}

/* Main Content */
.content {
    flex: 1;
    margin-left: 280px;
    padding: var(--spacing-lg);
    padding-top: 100px;
    background: var(--light);
}

/* Top Navigation - Soft Style */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-xs);
}

.navbar-brand {
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.navbar-nav .nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-size: 14px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: var(--iq-primary);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* 모바일 메뉴 (PC에서는 숨김, 레이아웃 유지) */
@media (min-width: 992px) {
    .navbar .mobile-nav-menu {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        /* position, width, height 변경하지 않음 - flex 공간 유지 */
        /* margin, padding도 유지하여 레이아웃 보존 */
    }
    
    .navbar .mobile-nav-menu li {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

/* 모바일 화면에서만 표시 */
@media (max-width: 991.98px) {
    .navbar .mobile-nav-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    
    .navbar .mobile-nav-menu li {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}

/* Premium Cards */
.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-lg);
    flex-shrink: 0;
}

.card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    flex-shrink: 0;
}

/* Premium Buttons */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    transition: all var(--transition-base);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #6dd473;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #e8a5c3;
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--warning);
    color: var(--gray-800);
}

.btn-warning:hover {
    background: #f9c952;
    transform: translateY(-1px);
}

.btn-info {
    background: var(--info);
    color: var(--gray-800);
}

.btn-info:hover {
    background: #fcad8f;
    transform: translateY(-1px);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 13px;
}

.btn-outline-secondary {
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-800);
}

/* Premium Form Elements - Square Design */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1.5px solid var(--gray-300);
    border-radius: 0;
    background: white;
    transition: all var(--transition-base);
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-800);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--iq-primary);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--gray-400);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xs);
    font-size: 14px;
    display: block;
}

/* Input Group - Square Design */
.input-group {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gray-100);
    border: 1.5px solid var(--gray-300);
    border-radius: 0;
    color: var(--gray-600);
    font-size: 14px;
}

.input-group .form-control:first-child,
.input-group .form-select:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control:last-child,
.input-group .form-select:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-text:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-text:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 13px;
}

/* File Items - Soft Style */
.file-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.file-item .file-info {
    flex: 1;
    min-width: 0;
}

.file-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
    background: var(--iq-primary);
}

.file-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.file-meta {
    color: var(--gray-500);
    font-size: 13px;
}

.file-actions {
    opacity: 1;
    transition: opacity var(--transition-base);
    display: flex;
    gap: var(--spacing-sm);
    margin-left: auto;
    flex-shrink: 0;
}

.file-actions.list-actions,
.list-layout .file-actions.list-actions,
.list-layout .d-flex .file-actions.list-actions,
.view-mode-list .list-layout .file-actions.list-actions {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
    order: 999 !important;
}

.file-item:hover .file-actions {
    opacity: 1;
}

/* Upload Drop Zone - Soft */
.upload-drop-zone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
    background: var(--light);
    transition: all var(--transition-slow);
    cursor: pointer;
}

.upload-drop-zone:hover,
.upload-drop-zone.dragover {
    border-color: var(--primary);
    background: var(--iq-primary);
    transform: scale(1.01);
}

.upload-drop-zone i {
    font-size: 48px;
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
}

.upload-drop-zone h5 {
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.upload-drop-zone p {
    color: var(--gray-500);
    margin: 0;
}

/* Progress Bar - Soft */
.progress {
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Search Box - Soft */
.search-box {
    position: relative;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) 44px;
    border: 1.5px solid var(--gray-300);
    border-radius: 0;
    background: white;
    transition: all var(--transition-base);
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--iq-primary);
}

.search-box i {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 16px;
}

/* Badge - Soft */
.badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white;
}

.badge.bg-success {
    background: var(--success) !important;
    color: white;
}

.badge.bg-danger {
    background: var(--danger) !important;
    color: white;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: var(--gray-800);
}

.badge.bg-info {
    background: var(--info) !important;
    color: var(--gray-800);
}

/* Alert - Soft */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid;
    font-size: 14px;
}

.alert-success {
    background: var(--iq-success);
    border-color: var(--success);
    color: #166534;
}

.alert-danger {
    background: var(--iq-danger);
    border-color: var(--danger);
    color: #991b1b;
}

.alert-warning {
    background: var(--iq-warning);
    border-color: var(--warning);
    color: #92400e;
}

.alert-info {
    background: var(--iq-info);
    border-color: var(--info);
    color: #0c4a6e;
}

/* Modal - Soft */
.modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}

/* Table & Grid Minimum Heights for Balance */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

table tbody tr {
    min-height: 56px;
}

table tbody td {
    padding: var(--spacing-md) var(--spacing-lg);
    vertical-align: middle;
    min-height: 56px;
}

table thead th {
    padding: var(--spacing-md) var(--spacing-lg);
    vertical-align: middle;
    min-height: 48px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-700);
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

/* Grid Items Minimum Height */
.stats-grid,
.content-grid,
.file-grid {
    align-items: stretch;
}

.stats-grid > *,
.content-grid > *,
.file-grid > * {
    display: flex;
    flex-direction: column;
}

/* Card Grid Layouts - Ensure Equal Heights */
.card-grid,
.cards-grid,
[class*="-grid"] .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Bootstrap Card Grid Support */
.row > .col > .card,
.row > [class*="col-"] > .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .content {
        padding: var(--spacing-md);
    }
    
    .stat-card {
        padding: var(--spacing-md);
    }
    
    .file-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .file-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== 파일 이동 관련 스타일 ==================== */

.file-list-container .file-item.move-selected,
.filesContainer .file-item.move-selected,
#filesContainer .file-item.move-selected,
div .file-item.move-selected {
    background: var(--iq-primary) !important;
    border: 2px solid var(--primary) !important;
    transform: scale(1.01) !important;
    box-shadow: 0 4px 12px rgba(143, 147, 246, 0.15) !important;
    position: relative !important;
    transition: all var(--transition-slow) !important;
}

.file-list-container .file-item.move-selected::before,
.filesContainer .file-item.move-selected::before,
#filesContainer .file-item.move-selected::before,
div .file-item.move-selected::before {
    content: '✓' !important;
    position: absolute !important;
    top: var(--spacing-sm) !important;
    right: var(--spacing-sm) !important;
    width: 24px !important;
    height: 24px !important;
    background: var(--primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: bold !important;
    z-index: 1000 !important;
    box-shadow: var(--shadow-md) !important;
    pointer-events: none !important;
}

/* 이동 버튼 헤더 스타일 */
.file-actions-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    animation: slideInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-actions-header .selected-count {
    font-weight: 600;
    font-size: 15px;
}

.file-actions-header .bulk-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.file-actions-header .btn {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    transition: all var(--transition-base);
}

.file-actions-header .btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.file-actions-header .btn-primary {
    background: rgba(255, 255, 255, 0.2);
}

.file-actions-header .btn-outline-secondary {
    background: transparent;
}

/* 폴더 선택 모달 스타일 */
.folder-tree {
    max-height: 400px;
    overflow-y: auto;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    background: var(--light);
}

.folder-tree-item {
    padding: var(--spacing-sm) var(--spacing-md);
    margin: var(--spacing-xs) 0;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 1.5px solid transparent;
}

.folder-tree-item:hover {
    background: var(--iq-primary);
    transform: translateX(2px);
}

.folder-tree-item.selected {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.folder-tree-item.selected i {
    color: white;
}

.folder-tree-item i {
    color: var(--primary);
    font-size: 18px;
}

.folder-tree-item .folder-name {
    flex: 1;
    font-weight: 500;
}

.folder-tree-item .folder-path {
    font-size: 12px;
    color: var(--gray-500);
}

.folder-tree-item.selected .folder-path {
    color: rgba(255, 255, 255, 0.8);
}

/* 클릭 방지 (액션 버튼 영역) */
.file-item .file-actions {
    pointer-events: auto;
    z-index: 20;
    position: relative;
}

.file-item.move-selected .file-actions {
    opacity: 0.7;
}

/* 애니메이션 */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(143, 147, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(143, 147, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(143, 147, 246, 0);
    }
}

.file-item.move-selected {
    animation: pulse 2s infinite;
}
