
:root{
--bg-primary:#0a0e1a;
--bg-secondary:#111827;
--bg-card:rgba(17, 24, 39, 0.8);
--bg-card-hover:rgba(30, 41, 59, 0.9);
--text-primary:#f1f5f9;
--text-secondary:#94a3b8;
--text-muted:#64748b;
--accent-blue:#3b82f6;
--accent-purple:#8b5cf6;
--accent-cyan:#06b6d4;
--accent-pink:#ec4899;
--gradient-primary:linear-gradient(135deg, #3b82f6, #8b5cf6);
--gradient-secondary:linear-gradient(135deg, #06b6d4, #3b82f6);
--border-color:rgba(59, 130, 246, 0.2);
--border-hover:rgba(59, 130, 246, 0.5);
--glow-blue:0 0 20px rgba(59, 130, 246, 0.3);
--glow-purple:0 0 20px rgba(139, 92, 246, 0.3);
}


*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
background:var(--bg-primary);
color:var(--text-primary);
line-height:1.6;
overflow-x:hidden;
min-height:100vh;
}


body::before{
content:'';
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:
radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
pointer-events:none;
z-index:0;
}

a{
color:inherit;
text-decoration:none;
}

ul{
list-style:none;
}


.navbar{
position:sticky;
top:0;
z-index:100;
background:rgba(10, 14, 26, 0.9);
backdrop-filter:blur(20px);
border-bottom:1px solid var(--border-color);
}

.nav-container{
max-width:1400px;
margin:0 auto;
padding:0 24px;
height:64px;
display:flex;
align-items:center;
gap:32px;
}

.nav-logo{
display:flex;
align-items:center;
gap:8px;
flex-shrink:0;
}

.logo-icon{
font-size:24px;
background:var(--gradient-primary);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
background-clip:text;
}

.logo-text{
font-size:20px;
font-weight:700;
background:var(--gradient-primary);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
background-clip:text;
}

.logo-domain{
font-size:12px;
color:var(--text-muted);
}

.nav-links{
display:flex;
gap:4px;
flex-shrink:0;
}

.nav-link{
padding:8px 16px;
border-radius:8px;
font-size:14px;
color:var(--text-secondary);
transition:all 0.3s;
}

.nav-link:hover,
.nav-link.active{
color:var(--text-primary);
background:rgba(59, 130, 246, 0.1);
}

.nav-search{
flex:1;
max-width:400px;
position:relative;
}

.search-input{
width:100%;
padding:10px 40px 10px 16px;
background:rgba(17, 24, 39, 0.6);
border:1px solid var(--border-color);
border-radius:10px;
color:var(--text-primary);
font-size:14px;
outline:none;
transition:all 0.3s;
}

.search-input:focus{
border-color:var(--accent-blue);
box-shadow:var(--glow-blue);
}

.search-input::placeholder{
color:var(--text-muted);
}

.search-btn{
position:absolute;
right:8px;
top:50%;
transform:translateY(-50%);
background:none;
border:none;
cursor:pointer;
font-size:16px;
padding:4px;
}

.nav-actions{
display:flex;
align-items:center;
gap:12px;
flex-shrink:0;
}

.btn-submit{
padding:8px 16px;
background:rgba(59, 130, 246, 0.1);
border:1px solid var(--border-color);
border-radius:8px;
color:var(--text-primary);
font-size:14px;
cursor:pointer;
transition:all 0.3s;
}

.btn-submit:hover{
background:rgba(59, 130, 246, 0.2);
border-color:var(--border-hover);
}

.btn-login{
padding:8px 16px;
background:transparent;
border:1px solid var(--border-color);
border-radius:8px;
color:var(--text-secondary);
font-size:14px;
cursor:pointer;
transition:all 0.3s;
}

.btn-login:hover{
color:var(--text-primary);
border-color:var(--border-hover);
}

.btn-register{
padding:8px 20px;
background:var(--gradient-primary);
border:none;
border-radius:8px;
color:white;
font-size:14px;
font-weight:600;
cursor:pointer;
transition:all 0.3s;
}

.btn-register:hover{
transform:translateY(-1px);
box-shadow:var(--glow-blue);
}


.main-content{
position:relative;
z-index:1;
min-height:calc(100vh - 64px - 300px);
}


.loading-container{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
min-height:60vh;
gap:16px;
}

.spinner{
width:48px;
height:48px;
border:3px solid var(--border-color);
border-top-color:var(--accent-blue);
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{
to{transform:rotate(360deg);}
}

.loading-container p{
color:var(--text-muted);
font-size:14px;
}


.hero{
text-align:center;
padding:80px 24px 60px;
position:relative;
}

.hero-badge{
display:inline-block;
padding:6px 16px;
background:rgba(59, 130, 246, 0.1);
border:1px solid var(--border-color);
border-radius:20px;
font-size:13px;
color:var(--accent-cyan);
margin-bottom:24px;
}

.hero-title{
font-size:56px;
font-weight:800;
line-height:1.2;
margin-bottom:16px;
}

.hero-title .gradient-text{
background:var(--gradient-primary);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
background-clip:text;
}

.hero-subtitle{
font-size:18px;
color:var(--text-secondary);
max-width:600px;
margin:0 auto 40px;
}

.hero-search{
max-width:600px;
margin:0 auto 48px;
position:relative;
}

.hero-search input{
width:100%;
padding:16px 120px 16px 24px;
background:rgba(17, 24, 39, 0.8);
border:2px solid var(--border-color);
border-radius:16px;
color:var(--text-primary);
font-size:16px;
outline:none;
transition:all 0.3s;
}

.hero-search input:focus{
border-color:var(--accent-blue);
box-shadow:var(--glow-blue);
}

.hero-search button{
position:absolute;
right:8px;
top:50%;
transform:translateY(-50%);
padding:10px 28px;
background:var(--gradient-primary);
border:none;
border-radius:12px;
color:white;
font-size:15px;
font-weight:600;
cursor:pointer;
transition:all 0.3s;
}

.hero-search button:hover{
transform:translateY(-50%) scale(1.02);
box-shadow:var(--glow-blue);
}


.stats{
display:flex;
justify-content:center;
gap:64px;
margin-top:48px;
}

.stat-item{
text-align:center;
}

.stat-number{
font-size:40px;
font-weight:800;
background:var(--gradient-primary);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
background-clip:text;
}

.stat-label{
font-size:14px;
color:var(--text-muted);
margin-top:4px;
}


.section{
max-width:1400px;
margin:0 auto;
padding:48px 24px;
}

.section-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:32px;
}

.section-title{
display:flex;
align-items:center;
gap:12px;
}

.section-title h2{
font-size:24px;
font-weight:700;
}

.section-title p{
font-size:14px;
color:var(--text-muted);
}

.section-icon{
width:40px;
height:40px;
background:var(--gradient-primary);
border-radius:10px;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
}

.section-more{
color:var(--accent-blue);
font-size:14px;
cursor:pointer;
transition:all 0.3s;
}

.section-more:hover{
color:var(--accent-cyan);
}


.tools-grid{
display:grid;
grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
gap:20px;
}

.tool-card{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:20px;
cursor:pointer;
transition:all 0.3s;
position:relative;
overflow:hidden;
}

.tool-card::before{
content:'';
position:absolute;
top:0;
left:0;
right:0;
height:2px;
background:var(--gradient-primary);
opacity:0;
transition:opacity 0.3s;
}

.tool-card:hover{
background:var(--bg-card-hover);
border-color:var(--border-hover);
transform:translateY(-4px);
box-shadow:var(--glow-blue);
}

.tool-card:hover::before{
opacity:1;
}

.tool-header{
display:flex;
align-items:flex-start;
gap:12px;
margin-bottom:12px;
}

.tool-logo{
width:48px;
height:48px;
border-radius:12px;
background:var(--gradient-secondary);
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
flex-shrink:0;
overflow:hidden;
}

.tool-logo img{
width:100%;
height:100%;
object-fit:cover;
}

.tool-info{
flex:1;
min-width:0;
}

.tool-name{
font-size:16px;
font-weight:600;
margin-bottom:4px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.tool-category{
font-size:12px;
color:var(--accent-cyan);
}

.tool-desc{
font-size:13px;
color:var(--text-secondary);
line-height:1.5;
margin-bottom:16px;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

.tool-footer{
display:flex;
justify-content:space-between;
align-items:center;
}

.tool-rating{
display:flex;
align-items:center;
gap:4px;
font-size:13px;
color:#fbbf24;
}

.tool-tags{
display:flex;
gap:6px;
}

.tool-tag{
padding:2px 8px;
background:rgba(59, 130, 246, 0.1);
border-radius:4px;
font-size:11px;
color:var(--accent-blue);
}


.categories-grid{
display:grid;
grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));
gap:16px;
}

.category-card{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:12px;
padding:20px;
cursor:pointer;
transition:all 0.3s;
text-align:center;
}

.category-card:hover{
background:var(--bg-card-hover);
border-color:var(--border-hover);
transform:translateY(-2px);
}

.category-icon{
font-size:32px;
margin-bottom:12px;
}

.category-name{
font-size:15px;
font-weight:600;
margin-bottom:4px;
}

.category-count{
font-size:12px;
color:var(--text-muted);
}


.articles-list{
display:grid;
grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
gap:20px;
}

.article-card{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:24px;
cursor:pointer;
transition:all 0.3s;
}

.article-card:hover{
background:var(--bg-card-hover);
border-color:var(--border-hover);
transform:translateY(-2px);
}

.article-title{
font-size:17px;
font-weight:600;
margin-bottom:12px;
line-height:1.4;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

.article-excerpt{
font-size:14px;
color:var(--text-secondary);
line-height:1.6;
margin-bottom:16px;
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

.article-meta{
display:flex;
justify-content:space-between;
align-items:center;
font-size:12px;
color:var(--text-muted);
}

.article-author{
display:flex;
align-items:center;
gap:6px;
}


.footer{
background:rgba(10, 14, 26, 0.9);
border-top:1px solid var(--border-color);
padding:48px 24px 24px;
position:relative;
z-index:1;
}

.footer-container{
max-width:1400px;
margin:0 auto;
display:grid;
grid-template-columns:2fr 1fr 1fr 2fr;
gap:48px;
margin-bottom:32px;
}

.footer-logo{
display:flex;
align-items:center;
gap:8px;
margin-bottom:12px;
}

.footer-desc{
font-size:14px;
color:var(--text-secondary);
line-height:1.6;
}

.footer-section h4{
font-size:15px;
font-weight:600;
margin-bottom:16px;
color:var(--text-primary);
}

.footer-section ul li{
margin-bottom:10px;
}

.footer-section ul li a{
font-size:14px;
color:var(--text-secondary);
transition:color 0.3s;
}

.footer-section ul li a:hover{
color:var(--accent-blue);
}

.friend-links{
display:grid;
grid-template-columns:repeat(2, 1fr);
gap:8px;
}

.footer-bottom{
max-width:1400px;
margin:0 auto;
padding-top:24px;
border-top:1px solid var(--border-color);
text-align:center;
font-size:13px;
color:var(--text-muted);
}


.filter-bar{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-bottom:24px;
padding:16px;
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:12px;
}

.filter-group{
display:flex;
align-items:center;
gap:8px;
}

.filter-label{
font-size:13px;
color:var(--text-muted);
}

.filter-select{
padding:6px 12px;
background:rgba(17, 24, 39, 0.6);
border:1px solid var(--border-color);
border-radius:8px;
color:var(--text-primary);
font-size:13px;
outline:none;
cursor:pointer;
}

.filter-btn{
padding:6px 14px;
background:rgba(59, 130, 246, 0.1);
border:1px solid var(--border-color);
border-radius:8px;
color:var(--text-secondary);
font-size:13px;
cursor:pointer;
transition:all 0.3s;
}

.filter-btn:hover,
.filter-btn.active{
background:rgba(59, 130, 246, 0.2);
color:var(--text-primary);
border-color:var(--border-hover);
}


.pagination{
display:flex;
justify-content:center;
gap:8px;
margin-top:32px;
}

.page-btn{
width:36px;
height:36px;
display:flex;
align-items:center;
justify-content:center;
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:8px;
color:var(--text-secondary);
font-size:14px;
cursor:pointer;
transition:all 0.3s;
}

.page-btn:hover,
.page-btn.active{
background:var(--gradient-primary);
border-color:transparent;
color:white;
}


.detail-page{
max-width:1200px;
margin:0 auto;
padding:32px 24px;
}

.detail-header{
display:flex;
gap:24px;
margin-bottom:32px;
padding:32px;
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:20px;
}

.detail-logo{
width:96px;
height:96px;
border-radius:20px;
background:var(--gradient-secondary);
display:flex;
align-items:center;
justify-content:center;
font-size:48px;
flex-shrink:0;
overflow:hidden;
}

.detail-logo img{
width:100%;
height:100%;
object-fit:cover;
}

.detail-info{
flex:1;
}

.detail-title{
font-size:28px;
font-weight:700;
margin-bottom:8px;
}

.detail-category{
display:inline-block;
padding:4px 12px;
background:rgba(6, 182, 212, 0.1);
border-radius:6px;
font-size:13px;
color:var(--accent-cyan);
margin-bottom:12px;
}

.detail-desc{
font-size:15px;
color:var(--text-secondary);
line-height:1.7;
margin-bottom:16px;
}

.detail-meta{
display:flex;
gap:24px;
margin-bottom:20px;
}

.detail-meta-item{
display:flex;
align-items:center;
gap:6px;
font-size:14px;
color:var(--text-secondary);
}

.detail-actions{
display:flex;
gap:12px;
}

.btn-primary{
padding:12px 32px;
background:var(--gradient-primary);
border:none;
border-radius:12px;
color:white;
font-size:15px;
font-weight:600;
cursor:pointer;
transition:all 0.3s;
}

.btn-primary:hover{
transform:translateY(-1px);
box-shadow:var(--glow-blue);
}

.btn-secondary{
padding:12px 24px;
background:rgba(59, 130, 246, 0.1);
border:1px solid var(--border-color);
border-radius:12px;
color:var(--text-primary);
font-size:15px;
cursor:pointer;
transition:all 0.3s;
}

.btn-secondary:hover{
background:rgba(59, 130, 246, 0.2);
border-color:var(--border-hover);
}

.detail-content{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:20px;
padding:32px;
margin-bottom:32px;
}

.detail-content h3{
font-size:20px;
font-weight:600;
margin-bottom:16px;
}

.detail-content p{
font-size:15px;
color:var(--text-secondary);
line-height:1.8;
margin-bottom:16px;
}


.auth-page{
max-width:420px;
margin:64px auto;
padding:0 24px;
}

.auth-card{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:20px;
padding:40px;
}

.auth-title{
font-size:24px;
font-weight:700;
text-align:center;
margin-bottom:8px;
}

.auth-subtitle{
font-size:14px;
color:var(--text-muted);
text-align:center;
margin-bottom:32px;
}

.form-group{
margin-bottom:20px;
}

.form-label{
display:block;
font-size:14px;
color:var(--text-secondary);
margin-bottom:8px;
}

.form-input{
width:100%;
padding:12px 16px;
background:rgba(17, 24, 39, 0.6);
border:1px solid var(--border-color);
border-radius:10px;
color:var(--text-primary);
font-size:14px;
outline:none;
transition:all 0.3s;
}

.form-input:focus{
border-color:var(--accent-blue);
box-shadow:var(--glow-blue);
}

.form-btn{
width:100%;
padding:14px;
background:var(--gradient-primary);
border:none;
border-radius:10px;
color:white;
font-size:15px;
font-weight:600;
cursor:pointer;
transition:all 0.3s;
margin-top:8px;
}

.form-btn:hover{
transform:translateY(-1px);
box-shadow:var(--glow-blue);
}

.auth-footer{
text-align:center;
margin-top:24px;
font-size:14px;
color:var(--text-muted);
}

.auth-footer a{
color:var(--accent-blue);
}


@media (max-width:1024px){
.nav-links{
display:none;
}

.footer-container{
grid-template-columns:1fr 1fr;
}

.hero-title{
font-size:40px;
}

.stats{
gap:32px;
}
}

@media (max-width:768px){
.nav-container{
gap:12px;
padding:0 16px;
}

.nav-search{
display:none;
}

.nav-actions .btn-submit{
display:none;
}

.hero{
padding:48px 16px 40px;
}

.hero-title{
font-size:32px;
}

.hero-subtitle{
font-size:16px;
}

.stats{
flex-direction:column;
gap:24px;
}

.section{
padding:32px 16px;
}

.tools-grid{
grid-template-columns:1fr;
}

.categories-grid{
grid-template-columns:repeat(2, 1fr);
}

.articles-list{
grid-template-columns:1fr;
}

.footer-container{
grid-template-columns:1fr;
gap:32px;
}

.detail-header{
flex-direction:column;
padding:24px;
}

.detail-logo{
width:72px;
height:72px;
font-size:36px;
}

.detail-title{
font-size:22px;
}

.detail-actions{
flex-direction:column;
}

.btn-primary,
.btn-secondary{
width:100%;
text-align:center;
}

.user-center,
.admin-layout{
flex-direction:column;
}

.user-sidebar,
.admin-sidebar{
width:100%;
}
}


.btn-sm{
padding:6px 12px;
font-size:12px;
border-radius:6px;
cursor:pointer;
border:none;
transition:all 0.3s;
}


.comment-form{
margin-bottom:24px;
}

.comment-textarea{
width:100%;
padding:12px 16px;
background:rgba(17, 24, 39, 0.6);
border:1px solid var(--border-color);
border-radius:10px;
color:var(--text-primary);
font-size:14px;
outline:none;
resize:vertical;
min-height:80px;
transition:all 0.3s;
}

.comment-textarea:focus{
border-color:var(--accent-blue);
box-shadow:var(--glow-blue);
}

.comments-list{
display:flex;
flex-direction:column;
gap:20px;
}

.comment-item{
padding:16px;
background:rgba(17, 24, 39, 0.4);
border-radius:12px;
border:1px solid var(--border-color);
}

.comment-header{
display:flex;
align-items:center;
gap:12px;
margin-bottom:12px;
}

.comment-avatar{
width:40px;
height:40px;
border-radius:50%;
background:var(--gradient-secondary);
display:flex;
align-items:center;
justify-content:center;
font-size:16px;
font-weight:600;
color:white;
flex-shrink:0;
overflow:hidden;
}

.comment-avatar img{
width:100%;
height:100%;
object-fit:cover;
}

.comment-avatar-default{
background:var(--gradient-primary);
}

.comment-user-info{
display:flex;
flex-direction:column;
}

.comment-username{
font-weight:600;
font-size:14px;
}

.comment-time{
font-size:12px;
color:var(--text-muted);
}

.comment-content{
font-size:14px;
color:var(--text-secondary);
line-height:1.6;
margin-bottom:12px;
}

.comment-actions{
display:flex;
gap:16px;
}

.comment-action-btn{
background:none;
border:none;
color:var(--text-muted);
font-size:13px;
cursor:pointer;
transition:color 0.3s;
}

.comment-action-btn:hover{
color:var(--accent-blue);
}

.comment-replies{
margin-top:16px;
margin-left:52px;
display:flex;
flex-direction:column;
gap:12px;
}

.reply-form-container{
margin-top:12px;
margin-left:52px;
}

.reply-textarea{
width:100%;
padding:10px 12px;
background:rgba(17, 24, 39, 0.6);
border:1px solid var(--border-color);
border-radius:8px;
color:var(--text-primary);
font-size:13px;
outline:none;
resize:vertical;
min-height:60px;
}

.reply-actions{
display:flex;
justify-content:flex-end;
gap:8px;
margin-top:8px;
}


.user-center{
max-width:1200px;
margin:0 auto;
padding:32px 24px;
display:flex;
gap:24px;
}

.user-sidebar{
width:240px;
flex-shrink:0;
}

.user-card{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:24px;
text-align:center;
margin-bottom:16px;
}

.user-avatar-large{
width:80px;
height:80px;
border-radius:50%;
background:var(--gradient-primary);
display:flex;
align-items:center;
justify-content:center;
font-size:32px;
font-weight:700;
color:white;
margin:0 auto 12px;
overflow:hidden;
}

.user-avatar-large img{
width:100%;
height:100%;
object-fit:cover;
}

.user-card h3{
font-size:18px;
margin-bottom:4px;
}

.vip-badge{
display:inline-block;
margin-top:8px;
padding:4px 12px;
background:linear-gradient(135deg, #fbbf24, #f59e0b);
border-radius:20px;
font-size:12px;
color:#1a1a1a;
font-weight:600;
}

.user-nav{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:8px;
display:flex;
flex-direction:column;
gap:4px;
}

.user-nav-item{
padding:10px 16px;
border-radius:8px;
font-size:14px;
color:var(--text-secondary);
transition:all 0.3s;
}

.user-nav-item:hover,
.user-nav-item.active{
background:rgba(59, 130, 246, 0.1);
color:var(--text-primary);
}

.user-content{
flex:1;
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:32px;
min-height:500px;
}

.profile-form{
max-width:500px;
}

.ratings-list,
.submissions-list{
display:flex;
flex-direction:column;
gap:12px;
}

.rating-item,
.submission-item{
display:flex;
align-items:center;
gap:12px;
padding:16px;
background:rgba(17, 24, 39, 0.4);
border-radius:12px;
cursor:pointer;
transition:all 0.3s;
}

.rating-item:hover,
.submission-item:hover{
background:rgba(59, 130, 246, 0.1);
}

.status-badge{
display:inline-block;
padding:2px 8px;
border-radius:4px;
font-size:12px;
}

.status-pending{background:rgba(251, 191, 36, 0.2);color:#fbbf24;}
.status-approved{background:rgba(34, 197, 94, 0.2);color:#22c55e;}
.status-rejected{background:rgba(239, 68, 68, 0.2);color:#ef4444;}
.status-active{background:rgba(34, 197, 94, 0.2);color:#22c55e;}
.status-disabled{background:rgba(239, 68, 68, 0.2);color:#ef4444;}


.admin-layout{
max-width:1400px;
margin:0 auto;
padding:32px 24px;
display:flex;
gap:24px;
}

.admin-sidebar{
width:220px;
flex-shrink:0;
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:8px;
}

.admin-nav{
display:flex;
flex-direction:column;
gap:4px;
}

.admin-nav-item{
padding:10px 16px;
border-radius:8px;
font-size:14px;
color:var(--text-secondary);
transition:all 0.3s;
}

.admin-nav-item:hover,
.admin-nav-item.active{
background:rgba(59, 130, 246, 0.1);
color:var(--text-primary);
}

.admin-content{
flex:1;
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:32px;
min-height:600px;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
gap:16px;
}

.stat-card{
background:rgba(17, 24, 39, 0.6);
border:1px solid var(--border-color);
border-radius:12px;
padding:20px;
text-align:center;
}

.stat-card-icon{
font-size:32px;
margin-bottom:8px;
}

.stat-card-number{
font-size:28px;
font-weight:700;
background:var(--gradient-primary);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
background-clip:text;
}

.stat-card-label{
font-size:13px;
color:var(--text-muted);
margin-top:4px;
}

.admin-table-container{
overflow-x:auto;
}

.admin-table{
width:100%;
border-collapse:collapse;
font-size:14px;
}

.admin-table th,
.admin-table td{
padding:12px 16px;
text-align:left;
border-bottom:1px solid var(--border-color);
}

.admin-table th{
background:rgba(59, 130, 246, 0.1);
color:var(--text-primary);
font-weight:600;
}

.admin-table tr:hover{
background:rgba(59, 130, 246, 0.05);
}

.admin-table a{
color:var(--accent-blue);
}

.settings-tabs{
display:flex;
gap:8px;
border-bottom:1px solid var(--border-color);
padding-bottom:0;
}

.settings-tab{
padding:10px 20px;
background:none;
border:none;
color:var(--text-secondary);
font-size:14px;
cursor:pointer;
border-bottom:2px solid transparent;
transition:all 0.3s;
}

.settings-tab:hover,
.settings-tab.active{
color:var(--accent-blue);
border-bottom-color:var(--accent-blue);
}

.settings-form{
margin-top:24px;
}


.treehole-form{
margin-bottom:24px;
}

.treehole-list{
display:flex;
flex-direction:column;
gap:16px;
}

.treehole-item{
padding:20px;
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:12px;
transition:all 0.3s;
}

.treehole-item:hover{
border-color:var(--border-hover);
}

.treehole-header{
display:flex;
align-items:center;
gap:12px;
margin-bottom:12px;
}

.treehole-avatar{
width:36px;
height:36px;
border-radius:50%;
background:var(--gradient-secondary);
display:flex;
align-items:center;
justify-content:center;
font-size:14px;
font-weight:600;
color:white;
}

.treehole-content{
font-size:14px;
color:var(--text-secondary);
line-height:1.6;
margin-bottom:12px;
}

.treehole-actions{
display:flex;
gap:16px;
font-size:13px;
color:var(--text-muted);
}


.submit-form{
background:var(--bg-card);
border:1px solid var(--border-color);
border-radius:16px;
padding:32px;
}


.tabs{
display:flex;
gap:8px;
margin-bottom:24px;
}

.tab-btn{
flex:1;
padding:10px;
background:rgba(17, 24, 39, 0.6);
border:1px solid var(--border-color);
border-radius:8px;
color:var(--text-secondary);
font-size:14px;
cursor:pointer;
transition:all 0.3s;
}

.tab-btn:hover,
.tab-btn.active{
background:rgba(59, 130, 246, 0.2);
border-color:var(--accent-blue);
color:var(--text-primary);
}
