*{

box-sizing:border-box;

}


body{

margin:0;

background:#0b0b0b;

color:white;

font-family:

Microsoft YaHei;

}



.login-box{

width:380px;

margin:120px auto;

background:#151515;

padding:40px;

border-radius:20px;

text-align:center;

}



input{

width:100%;

padding:14px;

margin:10px 0;

background:#222;

border:1px solid #333;

color:white;

border-radius:8px;

}



button{

background:#ffc43d;

border:0;

padding:12px 25px;

border-radius:20px;

cursor:pointer;

}



header{

height:70px;

background:#111;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 40px;

border-bottom:1px solid #222;

}



.logo{

font-size:25px;

font-weight:bold;

color:#ffc43d;

}



.layout{

display:flex;

}



nav{

width:220px;

min-height:calc(100vh - 70px);

background:#151515;

padding:20px;

}



nav a{

display:block;

color:#aaa;

text-decoration:none;

padding:15px;

border-radius:10px;

margin-bottom:8px;

}



nav a:hover{

background:#222;

color:#ffc43d;

}



section{

padding:40px;

}



.stats{

display:flex;

gap:20px;

}



.stats div{

background:#151515;

padding:30px;

width:200px;

border-radius:20px;

}


.stats strong{

display:block;

font-size:40px;

color:#ffc43d;

margin-top:15px;

}


.panel{

background:#151515;

padding:25px;

border-radius:20px;

margin-bottom:25px;

}


textarea{

width:100%;

height:100px;

background:#222;

border:1px solid #333;

color:white;

padding:12px;

border-radius:8px;

margin:10px 0;

}



table{

width:100%;

border-collapse:collapse;

background:#151515;

}



th,td{

padding:15px;

border-bottom:1px solid #333;

text-align:left;

}


a{

color:#ffc43d;

}


.stats{

display:grid;

grid-template-columns:

repeat(4,1fr);

gap:20px;

}



.stat-card{

background:#151515;

padding:30px;

border-radius:20px;

border:1px solid #222;

}



.stat-card p{

color:#999;

}



.stat-card strong{

font-size:38px;

color:#ffc43d;

}



.panel{

background:#151515;

padding:30px;

border-radius:20px;

margin-top:30px;

}


.filter{

margin-bottom:20px;

}



textarea{

width:100%;

height:150px;

background:#111;

border:1px solid #333;

color:white;

padding:15px;

border-radius:10px;

margin:15px 0;

}


select{

background:#111;

color:white;

padding:12px;

border:1px solid #333;

border-radius:8px;

}

.modal{

display:none;

position:fixed;

inset:0;

background:rgba(0,0,0,.65);

backdrop-filter:blur(5px);

align-items:center;

justify-content:center;

z-index:999;


}



.modal-box{

width:360px;

background:#181818;

border:1px solid #333;

border-radius:20px;

padding:35px;

text-align:center;

box-shadow:

0 20px 60px rgba(0,0,0,.5);

}



.modal-box h3{

font-size:25px;

color:#ffc43d;

}



.modal-box p{

color:#aaa;

line-height:2;

}



.modal-buttons{

display:flex;

gap:20px;

justify-content:center;

margin-top:25px;

}



.modal-buttons button:first-child{

background:#ffc43d;

}



.modal-buttons button:last-child{

background:#333;

color:white;

}




.toast{

position:fixed;

top:30px;

left:50%;

transform:translateX(-50%);

background:#181818;

border:1px solid #ffc43d;

color:#ffc43d;

padding:15px 35px;

border-radius:30px;

z-index:9999;

}


table textarea{

width:180px;

height:70px;

background:#111;

color:white;

border:1px solid #333;

border-radius:8px;

padding:8px;

}



table select{

background:#111;

color:white;

border:1px solid #333;

padding:8px;

border-radius:8px;

}

.modal{

display:none;

position:fixed;

inset:0;

background:rgba(0,0,0,.6);

align-items:center;

justify-content:center;

z-index:999;

}


.modal-box{

background:#151515;

padding:35px;

border-radius:20px;

width:400px;

}


.modal-box input,

.modal-box textarea{

width:100%;

margin:10px 0;

}


.modal-box button{

margin:10px;

}


.modal{

display:none;

position:fixed;

inset:0;

background:rgba(0,0,0,.65);

backdrop-filter:blur(5px);

align-items:center;

justify-content:center;

z-index:9999;

}



.modal-box{

width:360px;

background:#151515;

border:1px solid #333;

border-radius:20px;

padding:35px;

text-align:center;

}



.modal-box h2{

color:#ffc43d;

}



.modal-box p{

color:#aaa;

line-height:2;

}



.modal-box button{

margin:10px;

}



.modal-box button:first-of-type{

background:#ffc43d;

}



.modal-box button:last-child{

background:#333;

color:white;

}



.toast{

position:fixed;

top:30px;

left:50%;

transform:translateX(-50%);

background:#151515;

border:1px solid #ffc43d;

color:#ffc43d;

padding:15px 30px;

border-radius:30px;

z-index:99999;

}

.toast{

position:fixed;

top:30px;

left:50%;

transform:translateX(-50%);

background:rgba(20,20,20,.95);

border:1px solid #ffc43d;

color:#ffc43d;

padding:15px 35px;

border-radius:30px;

z-index:99999;

backdrop-filter:blur(10px);

box-shadow:

0 10px 30px rgba(0,0,0,.5);

}



/* =====================
控制台 Dashboard 优化
===================== */


.dashboard{

width:100%;

max-width:1200px;

margin:0 auto;

}





.dashboard-cards{

display:grid;

grid-template-columns:

repeat(4,1fr);

gap:30px;

margin-bottom:40px;

}





.dashboard-card{

height:160px;

background:#151515;

border:1px solid #222;

border-radius:22px;

padding:30px;

display:flex;

flex-direction:column;

justify-content:center;

}





.dashboard-card h3{

margin:0;

font-size:18px;

color:#aaa;

}





.dashboard-card .number{

margin-top:20px;

font-size:42px;

color:#ffc43d;

font-weight:bold;

}







.system-card{

width:100%;

background:#151515;

border:1px solid #222;

border-radius:25px;

padding:40px;

}





.system-card h2{

margin-top:0;

color:#fff;

}





.system-item{

margin:18px 0;

font-size:18px;

}





@media(max-width:900px){



.dashboard-cards{

grid-template-columns:

repeat(2,1fr);

}



}



@media(max-width:600px){



.dashboard-cards{

grid-template-columns:

1fr;

}


}

.muted{
color:#667085;
font-size:14px;
}

.tabs{
display:flex;
flex-wrap:wrap;
gap:8px;
margin:16px 0;
}

.tabs button{
padding:8px 12px;
border:1px solid #d0d5dd;
background:#fff;
border-radius:6px;
cursor:pointer;
}

.biz-tab{
display:none;
}

.form-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:10px;
margin:12px 0 18px;
}

.form-grid textarea{
min-height:72px;
grid-column:1/-1;
}

/* Commercial Pro UI polish */
:root{
--bg:#f6f7fb;
--surface:#ffffff;
--surface-2:#f9fafb;
--line:#e4e7ec;
--text:#101828;
--muted:#667085;
--accent:#2563eb;
--accent-2:#0f766e;
--danger:#dc2626;
}

body{
background:var(--bg);
color:var(--text);
font-family:Inter,Arial,"Microsoft YaHei",sans-serif;
}

header{
background:var(--surface);
border-bottom:1px solid var(--line);
box-shadow:0 1px 2px rgba(16,24,40,.04);
}

.logo{
color:var(--text);
font-size:22px;
letter-spacing:0;
}

header a{
color:var(--accent);
text-decoration:none;
font-weight:600;
}

nav{
background:#111827;
border-right:1px solid #1f2937;
}

nav a{
color:#cbd5e1;
border-radius:8px;
padding:12px 14px;
}

nav a:hover{
background:#1f2937;
color:#ffffff;
}

section{
width:100%;
padding:28px;
}

h1,h2,h3{
letter-spacing:0;
}

.panel,
.stats div{
background:var(--surface);
border:1px solid var(--line);
border-radius:8px;
box-shadow:0 1px 2px rgba(16,24,40,.05);
}

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

.stats div{
width:auto;
padding:22px;
}

.stats strong{
color:var(--accent);
font-size:34px;
}

input,textarea,select{
background:#fff;
border:1px solid #d0d5dd;
color:var(--text);
border-radius:8px;
}

input:focus,textarea:focus,select:focus{
border-color:var(--accent);
box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

button{
background:var(--accent);
color:#fff;
border-radius:8px;
font-weight:600;
padding:10px 16px;
}

button:hover{
filter:brightness(.96);
}

table{
width:100%;
background:var(--surface);
border-collapse:collapse;
border:1px solid var(--line);
border-radius:8px;
overflow:hidden;
}

th{
background:var(--surface-2);
color:#344054;
font-size:13px;
font-weight:700;
}

td,th{
border-bottom:1px solid var(--line);
padding:12px;
color:var(--text);
}

tr:hover td{
background:#f8fafc;
}

.login-box{
background:var(--surface);
border:1px solid var(--line);
border-radius:8px;
box-shadow:0 20px 45px rgba(16,24,40,.12);
}

.login-box h1{
color:var(--text);
}
