:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}textarea,option,select{color:#000;background:#fff}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.dashboard{display:flex;min-height:100vh;background-color:#f8fafc}.sidebar{width:280px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;box-shadow:2px 0 10px #0000000d;max-height:100vh;position:sticky;top:0}.sidebar-header{padding:24px 20px;border-bottom:1px solid #e2e8f0}.sidebar-header h1{color:#2d3748;font-size:24px;font-weight:700;margin:0 0 20px}.user-info{display:flex;align-items:center;gap:12px}.user-avatar{width:40px;height:40px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px}.user-details{flex:1}.user-name{color:#2d3748;font-weight:600;margin:0 0 4px;font-size:14px}.user-role{color:#718096;font-size:12px;margin:0;text-transform:uppercase;letter-spacing:.5px}.sidebar-nav{flex:1;padding:20px 0}.nav-item{border-radius:0;display:flex;align-items:center;width:100%;padding:12px 20px;border:none;background:none;text-align:left;cursor:pointer;transition:all .2s ease;gap:12px;position:relative}.nav-item:hover{background-color:#f7fafc}.nav-item.active{background-color:#edf2f7}.nav-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(135deg,#667eea,#764ba2)}.nav-icon{font-size:18px;width:24px;text-align:center}.nav-title{flex:1;color:#2d3748;font-weight:500;font-size:14px}.nav-count{background:#e2e8f0;color:#4a5568;font-size:12px;font-weight:600;padding:2px 8px;border-radius:12px;min-width:20px;text-align:center}.nav-item.active .nav-count{background:#667eea;color:#fff}.sidebar-footer{padding:20px;border-top:1px solid #e2e8f0}.logout-button{display:flex;align-items:center;gap:8px;width:100%;padding:12px 16px;background:#fed7d7;color:#c53030;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s ease}.logout-button:hover{background:#feb2b2;transform:translateY(-1px)}.main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.content-header{background:#fff;padding:24px 32px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.quick-actions{display:flex;gap:12px}.quick-action{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;color:#4a5568;font-weight:500;transition:all .2s ease}.quick-action:hover{background:#edf2f7;border-color:#cbd5e0}.content-body{flex:1;padding:32px 0;overflow-y:auto}.content-section h2{color:#2d3748;font-size:24px;font-weight:600;margin:0 0 24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:#fff;padding:24px;border-radius:12px;border:1px solid #e2e8f0;display:flex;align-items:center;gap:16px;transition:all .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px #0000001a}.stat-icon{width:60px;height:60px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}.stat-info h3{color:#2d3748;font-size:32px;font-weight:700;margin:0 0 4px}.stat-info p{color:#718096;margin:0;font-size:14px;font-weight:500}.action-buttons{display:flex;gap:16px;flex-wrap:wrap}.primary-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.primary-button:hover{transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.secondary-button{background:#fff;color:#4a5568;border:1px solid #e2e8f0;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.secondary-button:hover{background:#f7fafc;border-color:#cbd5e0}@media (max-width: 1024px){.dashboard{flex-direction:column}.sidebar{width:100%;height:auto}.content-header{flex-direction:column;align-items:flex-start;gap:16px}.quick-actions{width:100%;justify-content:flex-start}}@media (max-width: 768px){.content-body{padding:20px 0}.content-header{padding:20px}.stats-grid{grid-template-columns:1fr}.action-buttons{flex-direction:column}.primary-button,.secondary-button{width:100%}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.loading-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.loading-container p{color:#64748b;font-size:16px;margin:0}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.error-message{color:#ef4444;font-size:16px;margin:0 0 20px;font-weight:500}.retry-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.retry-button:hover{background:#5a6fd8;transform:translateY(-1px)}.retry-button:active{transform:translateY(0)}.dashboard-actions{margin-top:40px}.dashboard-actions h3{color:#2d3748;font-size:20px;font-weight:600;margin:0 0 20px}.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.action-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;display:flex;align-items:flex-start;gap:16px;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}.action-card:hover{border-color:#667eea;box-shadow:0 4px 20px #667eea1a;transform:translateY(-2px)}.action-icon{font-size:24px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#f7fafc;border-radius:12px;flex-shrink:0}.action-text{flex:1}.action-text h4{color:#2d3748;font-size:16px;font-weight:600;margin:0 0 8px}.action-text p{color:#64748b;font-size:14px;margin:0;line-height:1.5}@media (max-width: 768px){.action-grid{grid-template-columns:1fr}.action-card{padding:20px}}.stats-summary{padding:16px 20px;border-top:1px solid #e2e8f0;margin-bottom:16px}.stats-loading{color:#64748b;font-size:12px;margin:0;text-align:center}.stats-info{display:flex;flex-direction:column;gap:8px}.stat-item{display:flex;justify-content:space-between;align-items:center}.stat-label{color:#64748b;font-size:12px;font-weight:500}.stat-value{color:#2d3748;font-size:12px;font-weight:600}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000001a;padding:40px;width:100%;max-width:400px;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-header{text-align:center;margin-bottom:30px}.auth-header h1{color:#2d3748;font-size:28px;font-weight:700;margin:0 0 8px}.auth-header p{color:#718096;font-size:16px;margin:0}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column}.form-group label{color:#2d3748;font-weight:600;margin-bottom:8px;font-size:14px}.form-group input{padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:16px;transition:all .2s ease;background:#f7fafc}.form-group input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{opacity:.6;cursor:not-allowed}.password-field{position:relative;display:flex;align-items:center}.password-field input{flex:1;padding-right:50px}.password-toggle{position:absolute;right:12px;background:none;border:none;font-size:18px;cursor:pointer;padding:4px;border-radius:4px;transition:background-color .2s ease}.password-toggle:hover{background-color:#f7fafc}.password-toggle:disabled{opacity:.6;cursor:not-allowed}.error-message{background:#fed7d7;color:#c53030;padding:12px 16px;border-radius:8px;font-size:14px;border:1px solid #feb2b2}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:14px 20px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:10px}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.auth-footer{text-align:center;margin-top:30px;padding-top:20px;border-top:1px solid #e2e8f0}.auth-footer p{color:#718096;font-size:14px;margin:0}@media (max-width: 480px){.auth-container{padding:10px}.auth-card{padding:30px 20px}.auth-header h1{font-size:24px}}.advertising-container{padding:32px;background-color:#f8fafc;min-height:100vh}.advertising-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.advertising-header h1{color:#2d3748;font-size:32px;font-weight:700;margin:0}.create-button{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:14px}.create-button:hover{transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.error-banner{background:#fed7d7;color:#c53030;padding:16px 20px;border-radius:8px;border:1px solid #feb2b2;margin-bottom:24px;display:flex;align-items:center;gap:12px}.error-banner button{background:none;border:none;color:#c53030;cursor:pointer;font-size:18px;margin-left:auto;padding:4px;border-radius:4px}.error-banner button:hover{background:#feb2b2}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:16px}.loading-state .spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.loading-state p{color:#718096;font-size:16px}.table-container{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0}.advertising-table{width:100%;border-collapse:collapse}.advertising-table th{background:#f7fafc;color:#2d3748;font-weight:600;padding:16px 20px;text-align:left;border-bottom:1px solid #e2e8f0;font-size:14px}.advertising-table td{padding:16px 20px;border-bottom:1px solid #f1f5f9;vertical-align:top}.advertising-table tbody tr:hover{background:#f8fafc}.advertising-table tbody tr:last-child td{border-bottom:none}.header-cell{font-weight:600;color:#2d3748;max-width:200px}.description-cell{color:#4a5568;max-width:250px;line-height:1.5}.url-cell{max-width:200px}.url-cell a{color:#667eea;text-decoration:none;word-break:break-all}.url-cell a:hover{text-decoration:underline}.identifier-cell{font-family:monospace;background:#f7fafc;padding:4px 8px;border-radius:4px;font-size:12px;color:#4a5568}.actions-cell{display:flex;gap:8px}.edit-button,.delete-button{background:none;border:none;cursor:pointer;padding:8px;border-radius:6px;font-size:16px;transition:all .2s ease}.empty-content{display:flex;flex-direction:column;align-items:center;gap:16px}.empty-content span{font-size:48px}.empty-content p{color:#718096;font-size:18px;margin:0}.empty-content button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.empty-content button:hover{transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px #00000026;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 16px;border-bottom:1px solid #e2e8f0}.modal-header h2{color:#2d3748;font-size:24px;font-weight:700;margin:0}.close-button{background:none;border:none;font-size:24px;color:#718096;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease}.close-button:hover{background:#f7fafc;color:#2d3748}.modal-form{padding:24px}.form-group label{display:block;color:#2d3748;font-weight:600;margin-bottom:8px;font-size:14px}.form-group input,.form-group textarea{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:16px;transition:all .2s ease;background:#f7fafc;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:80px;font-family:inherit}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:16px;border-top:1px solid #e2e8f0}.cancel-button{background:#fff;color:#4a5568;border:1px solid #e2e8f0;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-button:hover{background:#f7fafc;border-color:#cbd5e0}.save-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.save-button:hover{transform:translateY(-1px);box-shadow:0 8px 16px #667eea4d}.delete-confirm-button{background:#e53e3e;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.delete-confirm-button:hover{background:#c53030;transform:translateY(-1px)}.confirm-content{padding:24px;text-align:center}.warning-icon{font-size:48px;margin-bottom:16px}.confirm-content h3{color:#2d3748;font-size:20px;font-weight:700;margin:0 0 12px}.confirm-content p{color:#4a5568;margin:8px 0;line-height:1.5}.warning-text{color:#e53e3e;font-weight:600;font-size:14px}@media (max-width: 768px){.advertising-container{padding:20px}.advertising-header{flex-direction:column;align-items:flex-start;gap:16px}.advertising-header h1{font-size:24px}.table-container{overflow-x:auto}.advertising-table{min-width:600px}.modal-overlay{padding:10px}.modal-content{max-height:95vh}.modal-actions{flex-direction:column}.cancel-button,.save-button,.delete-confirm-button{width:100%}}.articles-container{padding:24px;max-width:1600px;margin:0 auto;background-color:#f8fafc;min-height:100vh}.articles-header{display:flex;flex-direction:column;gap:20px;margin-bottom:32px}.articles-header h1{font-size:32px;font-weight:700;color:#1e293b;margin:0}.tab-navigation{display:flex;gap:8px;border-bottom:2px solid #e2e8f0}.tab-button{padding:12px 24px;background:none;border:none;font-size:16px;font-weight:500;color:#64748b;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s ease;white-space:nowrap}.tab-button:hover{color:#3b82f6;background-color:#f1f5f9}.tab-button.active{color:#3b82f6;border-bottom-color:#3b82f6;background-color:#f8fafc}.tab-content{background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;overflow:hidden}.tab-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px}.tab-header h2{font-size:24px;font-weight:600;color:#1e293b;margin:0}.tab-description{color:#64748b;margin:8px 0 0;font-size:14px}.create-button{display:flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #3b82f64d}.create-button:hover{background:linear-gradient(135deg,#2563eb,#1e40af);transform:translateY(-1px);box-shadow:0 4px 8px #3b82f666}.table-container{overflow-x:auto}.content-table{width:100%;border-collapse:collapse;font-size:14px}.content-table th{background:#f8fafc;padding:16px 12px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap}.content-table td{padding:16px 12px;border-bottom:1px solid #e5e7eb;vertical-align:middle}.content-table tr:hover{background-color:#f9fafb}.image-cell{width:80px;text-align:center}.thumbnail{width:60px;height:40px;object-fit:cover;border-radius:6px;border:2px solid #e5e7eb}.no-image{width:60px;height:40px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border:2px dashed #d1d5db;border-radius:6px;font-size:20px;color:#9ca3af}.header-cell{font-weight:600;color:#1f2937;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-badge{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.type-badge{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;text-transform:uppercase}.type-badge.post{background:#dbeafe;color:#1e40af}.type-badge.sell{background:#dcfce7;color:#166534}.author-info{display:flex;align-items:center;gap:8px;min-width:150px}.author-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.author-name{font-weight:500;color:#1f2937;font-size:13px}.author-nickname{color:#6b7280;font-size:12px}.stats-cell{text-align:center;font-weight:500;color:#374151}.comments-button{background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;padding:4px 8px;font-size:12px;cursor:pointer;transition:all .2s ease}.comments-button:hover{background:#e5e7eb;border-color:#9ca3af}.actions-cell{width:80px;text-align:center}.edit-button,.delete-button{background:none;border:none;font-size:18px;cursor:pointer;padding:8px;border-radius:6px;margin:0 4px;transition:all .2s ease}.edit-button:hover{background:#dbeafe;transform:scale(1.1)}.delete-button:hover{background:#fee2e2;transform:scale(1.1)}.pagination-button{padding:8px 16px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;transition:all .2s ease;font-size:14px}.pagination-button:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.comments-list{padding:24px;display:flex;flex-direction:column;gap:16px}.comment-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:16px;transition:all .2s ease}.comment-card:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.comment-author{display:flex;align-items:center;gap:8px}.comment-meta{display:flex;align-items:center;gap:12px;color:#6b7280;font-size:12px}.comment-date{color:#9ca3af}.comment-likes{color:#ef4444}.comment-body{color:#374151;line-height:1.5;margin-bottom:12px}.comment-actions{display:flex;gap:8px}.comment-actions button{padding:6px 12px;border:none;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s ease}.comment-actions .edit-button{background:#dbeafe;color:#1e40af}.comment-actions .edit-button:hover{background:#bfdbfe}.comment-actions .delete-button{background:#fee2e2;color:#dc2626}.comment-actions .delete-button:hover{background:#fecaca}.large-modal{max-width:800px}.modal-header{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.modal-header h2{font-size:20px;font-weight:600;color:#1f2937;margin:0}.close-button{background:#f3f4f6;border:none;border-radius:8px;width:32px;height:32px;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-button:hover{background:#e5e7eb;transform:scale(1.1)}.modal-form{padding:24px;display:flex;flex-direction:column;gap:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:500;color:#374151;font-size:14px}.form-group input,.form-group textarea,.form-group select{padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:all .2s ease;font-family:inherit}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group textarea{resize:vertical;min-height:100px}.image-upload-section{display:flex;flex-direction:column;gap:12px}.image-input{padding:8px 0}.upload-progress{display:flex;align-items:center;gap:12px;padding:12px;background:#f0f9ff;border:1px solid #0ea5e9;border-radius:6px;color:#0369a1;font-size:14px}.image-preview{position:relative;display:inline-block}.image-preview img{width:200px;height:120px;object-fit:cover;border-radius:8px;border:2px solid #e5e7eb}.remove-image-button{position:absolute;top:-8px;right:-8px;background:#ef4444;color:#fff;border:none;border-radius:50%;width:24px;height:24px;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0003;transition:all .2s ease}.remove-image-button:hover{background:#dc2626;transform:scale(1.1)}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:16px}.cancel-button,.save-button,.delete-confirm-button{padding:12px 24px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:14px}.save-button{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 4px #10b9814d}.save-button:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 4px 8px #10b98166}.confirm-modal{max-width:400px}.warning-icon{font-size:48px;display:block;margin-bottom:16px}.confirm-content h3{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 12px}.confirm-content p{color:#6b7280;margin:0 0 8px;font-size:14px}.warning-text{color:#dc2626;font-weight:500}.spinner.small{width:20px;height:20px;border-width:2px;margin:0}@media (max-width: 768px){.articles-container{padding:16px}.articles-header{margin-bottom:24px}.articles-header h1{font-size:24px}.tab-button{padding:10px 16px;font-size:14px}.tab-header{padding:20px;flex-direction:column;align-items:stretch}.create-button{align-self:flex-start}.form-row{grid-template-columns:1fr}.modal-content{max-width:95%;margin:20px}.content-table{font-size:12px}.content-table th,.content-table td{padding:8px 6px}.header-cell{max-width:150px}.comment-header{flex-direction:column;align-items:flex-start;gap:8px}.comment-actions{flex-wrap:wrap}}.users-container{padding:24px;max-width:1600px;margin:0 auto;background-color:#f8fafc;min-height:100vh}.users-header{display:flex;flex-direction:column;gap:20px;margin-bottom:32px}.users-header h1{font-size:32px;font-weight:700;color:#1e293b;margin:0}.users-stats{display:flex;gap:16px}input{background:#fff}.stat-card{background:#fff;padding:20px;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;display:flex;flex-direction:column;align-items:center;min-width:120px}.stat-number{font-size:24px;font-weight:700;color:#3b82f6;margin-bottom:4px}.stat-label{font-size:12px;color:#6b7280;text-align:center}.control-panel{background:#fff;padding:20px;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;margin-bottom:24px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.search-section{flex:1;min-width:300px}.search-input{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:all .2s ease}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.filter-section{display:flex;align-items:center;gap:8px}.filter-section label{font-weight:500;color:#374151;font-size:14px;white-space:nowrap}.sort-select{padding:8px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:14px;background:#fff;cursor:pointer;transition:border-color .2s ease}.sort-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.table-container{background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;overflow:hidden}.users-table{width:100%;border-collapse:collapse;font-size:14px}.users-table th{background:#f8fafc;padding:16px 12px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap}.users-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease}.users-table th.sortable:hover{background:#f1f5f9;color:#3b82f6}.users-table th.sorted{background:#eff6ff;color:#1e40af}.users-table td{padding:16px 12px;border-bottom:1px solid #e5e7eb;vertical-align:middle}.users-table tr:hover{background-color:#f9fafb}.avatar-cell{width:60px;text-align:center}.user-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.no-avatar{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border:2px dashed #d1d5db;border-radius:50%;font-size:16px;color:#9ca3af;margin:0 auto}.name-cell{font-weight:600;color:#1f2937;min-width:150px}.login-cell{color:#374151;font-family:Courier New,monospace;background:#f1f5f9;padding:4px 8px;border-radius:4px;font-size:12px}.nickname-cell{color:#3b82f6;font-weight:500}.about-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.about-text{color:#374151}.no-about{color:#9ca3af;font-style:italic}.date-cell{color:#6b7280;font-size:12px;white-space:nowrap}.stats-cell{text-align:center}.articles-count{background:#dbeafe;color:#1e40af;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;white-space:nowrap}.actions-cell{width:60px;text-align:center}.delete-button{background:#fee2e2;color:#dc2626;border:none;border-radius:6px;padding:8px;font-size:16px;cursor:pointer;transition:all .2s ease}.delete-button:hover{background:#fecaca;transform:scale(1.1)}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:24px;background:#fff;border-top:1px solid #e5e7eb}.pagination-button{padding:8px 16px;background:#3b206d;border:1px solid black;border-radius:6px;cursor:pointer;transition:all .2s ease;font-size:14px}.pagination-button:hover:not(:disabled){background:#2a0967;border-color:#000}.pagination-button:disabled{opacity:.5;cursor:not-allowed}.pagination-info{color:#6b7280;font-size:14px}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.confirm-modal{max-width:450px}.confirm-content{text-align:center;padding:32px 24px 24px}.warning-icon{font-size:48px;display:block;margin-bottom:16px;color:#f59e0b}.confirm-content h3{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 16px}.user-info{display:flex;align-items:center;gap:12px;background:#f8fafc;padding:16px;border-radius:8px;margin:16px 0;text-align:left}.confirm-avatar{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.user-info p{margin:0 0 4px;font-size:14px;color:#374151}.articles-info{color:#6b7280;font-size:12px}.warning-text{color:#dc2626;font-weight:500;font-size:14px;margin-top:16px}.modal-actions{display:flex;gap:12px;justify-content:flex-end;padding:0 24px 24px}.cancel-button,.delete-confirm-button{padding:12px 24px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:14px}.cancel-button{background:#f3f4f6;color:#374151}.cancel-button:hover{background:#e5e7eb}.delete-confirm-button{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 2px 4px #ef44444d}.delete-confirm-button:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-1px);box-shadow:0 4px 8px #ef444466}.message{padding:16px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;font-size:14px}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.success-message{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.message button{background:none;border:none;font-size:18px;cursor:pointer;padding:4px;border-radius:4px;transition:background-color .2s ease}.error-message button{color:#991b1b}.error-message button:hover{background:#b91c1c1a}.success-message button{color:#166534}.success-message button:hover{background:#1665341a}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;color:#6b7280}.spinner{width:40px;height:40px;border:4px solid #e5e7eb;border-top:4px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.empty-state{text-align:center;padding:80px 20px}.empty-content{color:#9ca3af}.empty-content span{font-size:48px;display:block;margin-bottom:16px}.empty-content p{font-size:18px;margin:0 0 24px}.empty-content button{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease}.empty-content button:hover{background:linear-gradient(135deg,#2563eb,#1e40af);transform:translateY(-1px)}@media (max-width: 1200px){.users-table{font-size:12px}.about-cell{max-width:150px}}@media (max-width: 768px){.users-container{padding:16px}.users-header{margin-bottom:24px}.users-header h1{font-size:24px}.control-panel{flex-direction:column;align-items:stretch;gap:16px}.search-section{min-width:auto}.filter-section{justify-content:space-between}.users-table{font-size:11px}.users-table th,.users-table td{padding:8px 6px}.name-cell{min-width:100px}.about-cell{max-width:100px}.user-info{flex-direction:column;text-align:center;gap:8px}.modal-content{max-width:95%;margin:20px}.stat-card{min-width:100px;padding:16px}.stat-number{font-size:20px}.stat-label{font-size:11px}}@media (max-width: 480px){.users-table{display:block;overflow-x:auto;white-space:nowrap}.users-table thead,.users-table tbody,.users-table th,.users-table td,.users-table tr{display:block}.users-table thead tr{position:absolute;top:-9999px;left:-9999px}.users-table tr{border:1px solid #ccc;margin-bottom:10px;padding:10px;border-radius:8px;background:#fff}.users-table td{border:none;position:relative;padding-left:50%}.users-table td:before{content:attr(data-label);position:absolute;left:6px;width:45%;padding-right:10px;white-space:nowrap;font-weight:700;color:#6b7280}.pagination{flex-direction:column;gap:8px}.pagination-info{order:-1}}.settings-container{padding:0;max-width:none;background:#f8fafc;min-height:100vh}.settings-header{background:#fff;padding:24px 32px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.header-left h1{color:#2d3748;font-size:28px;font-weight:700;margin:0 0 4px}.header-left p{color:#718096;margin:0;font-size:16px}.notification{margin:20px 32px;padding:12px 16px;border-radius:8px;display:flex;align-items:center;gap:8px;font-weight:500}.notification.error{background:#fed7d7;color:#c53030;border:1px solid #feb2b2}.notification.success{background:#c6f6d5;color:#2f855a;border:1px solid #9ae6b4}.notification button{margin-left:auto;background:none;border:none;cursor:pointer;font-size:16px;opacity:.7}.notification button:hover{opacity:1}.tabs-container{background:#fff;margin:20px 32px;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.tabs-header{display:flex;background:#f7fafc;border-bottom:1px solid #e2e8f0}.tab-button{flex:1;padding:16px 24px;background:none;border:none;cursor:pointer;font-size:14px;font-weight:500;color:#4a5568;transition:all .2s ease;border-bottom:3px solid transparent}.tab-button:hover{background:#edf2f7;color:#2d3748}.tab-button.active{background:#fff;color:#667eea;border-bottom-color:#667eea}.tab-content{padding:32px}.tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.tab-header h2{color:#2d3748;font-size:24px;font-weight:600;margin:0}.positions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.position-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.position-header{padding:20px;background:#f7fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.position-header h3{color:#2d3748;font-size:18px;font-weight:600;margin:0}.position-content{padding:20px}.current-variants h4{color:#2d3748;font-size:16px;font-weight:600;margin:0 0 16px}.empty-variants{text-align:center;padding:40px 20px;color:#718096}.empty-variants span{font-size:48px;display:block;margin-bottom:16px}.variants-list{display:flex;flex-direction:column;gap:12px}.variant-item{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0}.variant-info{flex:1}.variant-info h5{color:#2d3748;font-size:14px;font-weight:600;margin:0 0 4px}.variant-info p{color:#4a5568;font-size:12px;margin:0 0 4px}.variant-info a{color:#667eea;font-size:12px;text-decoration:none}.variant-info a:hover{text-decoration:underline}.remove-variant{background:#fed7d7;color:#c53030;border:none;border-radius:4px;width:24px;height:24px;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center}.remove-variant:hover{background:#feb2b2}.add-variant{margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0}.add-variant h4{color:#2d3748;font-size:16px;font-weight:600;margin:0 0 16px}.available-variants{display:flex;flex-direction:column;gap:8px}.available-item{display:flex;align-items:center;gap:12px;padding:8px 12px;background:#f7fafc;border-radius:6px;border:1px solid #e2e8f0}.available-info{flex:1}.available-info strong{color:#2d3748;font-size:13px;display:block;margin-bottom:2px}.available-info p{color:#718096;font-size:11px;margin:0}.add-button{background:#48bb78;color:#fff;border:none;border-radius:4px;width:24px;height:24px;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center}.add-button:hover{background:#38a169}.save-button{display:flex;align-items:center;gap:8px;padding:12px 24px;background:#667eea;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s ease}.save-button:hover:not(:disabled){background:#5a67d8;transform:translateY(-1px)}.save-button:disabled{opacity:.6;cursor:not-allowed}.create-button{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#48bb78;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s ease}.create-button:hover{background:#38a169;transform:translateY(-1px)}.spinner{width:20px;height:20px;border:2px solid #e2e8f0;border-top:2px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.spinner.small{width:16px;height:16px;border-width:1.5px}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#718096}.loading-state .spinner{margin-bottom:16px}.table-container{background:#fff;border-radius:8px;max-width:70vw;overflow-x:scroll;box-shadow:0 1px 3px #0000001a}.table-header{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#f7fafc;border-bottom:1px solid #e2e8f0}.table-filters{display:flex;align-items:center;gap:16px}.filter-checkbox{display:flex;align-items:center;gap:8px;font-size:14px;color:#4a5568;cursor:pointer}.filter-checkbox input[type=checkbox]{width:16px;height:16px}.data-table{width:100%;border-collapse:collapse}.data-table th{background:#f7fafc;padding:12px 16px;text-align:left;font-weight:600;color:#2d3748;font-size:14px;border-bottom:1px solid #e2e8f0}.data-table td{padding:12px 16px;border-bottom:1px solid #e2e8f0;font-size:14px;color:#4a5568}.data-table tr:hover{background:#f7fafc}.status{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.status.active{background:#c6f6d5;color:#2f855a}.status.inactive{background:#fed7d7;color:#c53030}.action-buttons{display:flex;gap:8px}.edit-button,.delete-button{background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;font-size:14px;transition:all .2s ease}.edit-button:hover{background:#edf2f7}.delete-button:hover{background:#fed7d7}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e2e8f0}.modal-header h3{color:#2d3748;font-size:20px;font-weight:600;margin:0}.modal-close{background:none;border:none;cursor:pointer;font-size:20px;color:#718096;padding:4px;border-radius:4px}.modal-close:hover{background:#f7fafc;color:#4a5568}.form{padding:24px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#2d3748;font-weight:500;font-size:14px}.form-group input[type=text],.form-group textarea{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:border-color .2s ease;box-sizing:border-box}.form-group input[type=text]:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:80px}.checkbox-label{display:flex!important;align-items:center;gap:8px;cursor:pointer;margin-bottom:0!important}.checkbox-label input[type=checkbox]{width:16px;height:16px;margin:0}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid #e2e8f0}.cancel-button{padding:10px 20px;background:#e2e8f0;color:#4a5568;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s ease}.cancel-button:hover{background:#cbd5e0}.submit-button{padding:10px 20px;background:#667eea;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s ease}.submit-button:hover{background:#5a67d8}@media (max-width: 768px){.settings-header{padding:16px 20px}.header-left h1{font-size:24px}.tabs-container{margin:16px 20px}.tab-content{padding:20px}.positions-grid{grid-template-columns:1fr}.table-header{flex-direction:column;gap:16px;align-items:stretch}.data-table{font-size:12px}.data-table th,.data-table td{padding:8px 12px}.modal-content{width:95%;margin:20px}.form-actions{flex-direction:column}}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;line-height:1.5}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;color:#2d3748}#root{min-height:100vh;width:100%}.App{min-height:100vh}.loading-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:#f8fafc}.loading-spinner{text-align:center}.spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-spinner p{color:#718096;font-size:16px;font-weight:500}.text-center{text-align:center}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.hidden{display:none}@media (max-width: 768px){.md\:hidden{display:none}}@media (max-width: 640px){.sm\:hidden{display:none}}button:focus,input:focus,select:focus,textarea:focus{outline:2px solid #667eea;outline-offset:2px}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}input{color:#000}.dashboard-content{padding:2rem;width:100%;margin:0 auto}.stat-info{color:#fff}.content-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.header-left h1{font-size:2rem;font-weight:700;color:#1a202c;margin-bottom:.5rem}.header-left p{color:#718096;font-size:1rem}.content-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.content-section h2{font-size:1.5rem;font-weight:600;color:#1a202c;margin-bottom:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{display:flex;align-items:center;padding:1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px #667eea4d}.stat-icon{font-size:2.5rem;margin-right:1rem;opacity:.9}.stat-info h3{font-size:2rem;font-weight:700;margin-bottom:.25rem;line-height:1;color:#fff}.stat-info p{font-size:.875rem;opacity:.9;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:#fff}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;min-height:200px}.loading-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.error-container{text-align:center;padding:2rem}.error-message{color:#e53e3e;font-size:1rem;margin-bottom:1rem}.retry-button{background:#667eea;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:background-color .2s ease}.retry-button:hover{background:#5a67d8}@media (max-width: 768px){.dashboard-content{padding:1rem}.content-header{flex-direction:column;gap:1rem}.header-left h1{font-size:1.5rem}.stats-grid{grid-template-columns:1fr;gap:1rem}.stat-card{padding:1rem}.stat-icon{font-size:2rem}.stat-info h3{font-size:1.5rem}}
