@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;900&display=swap');

:root {
    --bg-color: #050811;
    --card-bg: rgba(13, 20, 38, 0.85);
    --accent-color: #00f0ff;
    --purple-glow: #bc00dd;
    --border: rgba(0, 240, 255, 0.2);
    --text: #f1f5f9;
    --input-bg: #0b1120;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Vazirmatn', sans-serif; }

body {
    background: var(--bg-color);
    color: var(--text);
    background-image: radial-gradient(circle at 50% 0%, #101935 0%, #050811 100%);
    min-height: 100vh;
    padding: 20px;
}

.container { max-width: 1200px; margin: 0 auto; }

/* تب‌های بالای صفحه */
.nav-tabs {
    display: flex;
    gap: 10px;
    background: var(--card-bg);
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.tab-btn.active {
    background: linear-gradient(90deg, var(--accent-color), #00a8ff);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* کارت‌ها و بخش‌ها */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease-in-out; }

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

textarea, input[type="text"], select {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    margin-bottom: 15px;
}

button.btn-primary {
    background: linear-gradient(90deg, var(--accent-color), #00a8ff);
    color: #000; border: none; padding: 12px 25px; font-weight: bold;
    border-radius: 10px; cursor: pointer; transition: 0.3s;
}
button.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 20px var(--accent-color); }

/* ساختار درخت فایل‌ها */
.file-list { list-style: none; margin-top: 15px; }
.file-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s; border-radius: 8px;
}
.file-item:hover { background: rgba(0, 240, 255, 0.05); }
.file-item .info { display: flex; align-items: center; gap: 10px; cursor: pointer; }

/* توست و پیام‌ها */
.toast {
    position: fixed; bottom: -60px; left: 50%; transform: translateX(-50%);
    background: #0f172a; border: 1px solid var(--accent-color); color: #fff;
    padding: 10px 25px; border-radius: 50px; transition: 0.3s; opacity: 0; z-index: 1000;
}
.toast.show { bottom: 25px; opacity: 1; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
