/* فونت‌ها */
@font-face {
    font-family: 'Exo2';
    src: url('../fonts/Exo2-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: bold;
}

* {
    font-family: 'Vazirmatn', 'Exo2', 'Segoe UI', Tahoma, sans-serif;
}

body {
    background: #0A0A14;
    color: #F0F0FF;
    direction: rtl;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* پنجره‌ها */
.window-container, .login-window {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    border: 1px solid rgba(0, 221, 255, 0.3);
    margin: 20px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.5);
    overflow: hidden;
}

.window-titlebar {
    background: rgba(8, 8, 20, 0.9);
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 221, 255, 0.4);
}

.window-controls .win-btn {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 8px;
}
.win-btn.red { background: #FF5F56; }
.win-btn.yellow { background: #FFBD2E; }
.win-btn.green { background: #27C93F; }

.window-title {
    color: #00DDFF;
    font-weight: 600;
}

.window-statusbar {
    background: rgba(8, 8, 20, 0.9);
    border-top: 1px solid rgba(0, 221, 255, 0.2);
    padding: 10px 28px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

/* کارت‌ها */
.cyber-card {
    background: rgba(18, 18, 36, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 221, 255, 0.3);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: 0.2s;
}
.cyber-card:hover {
    border-color: #00DDFF;
    box-shadow: 0 0 15px rgba(0,221,255,0.2);
}

/* ورودی‌ها */
.cyber-input, .form-control.cyber-input, .form-select.cyber-input {
    background-color: #1E1E2E !important;
    border: 1px solid #3A3A5A !important;
    color: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 12px 18px !important;
    transition: 0.2s;
    pointer-events: auto !important;
}
.cyber-input:focus, .form-control.cyber-input:focus {
    border-color: #00DDFF !important;
    box-shadow: 0 0 8px #00DDFF !important;
    background-color: #252540 !important;
    outline: none;
}
.cyber-input-sm {
    background-color: #1E1E2E !important;
    color: #FFFFFF !important;
    border: 1px solid #3A3A5A;
    border-radius: 12px;
    padding: 6px 12px;
    pointer-events: auto !important;
}

/* دکمه‌ها */
.btn-cyber {
    background: linear-gradient(90deg, #1A1A3A, #0F0F2A);
    border: 1px solid #00DDFF;
    color: #00DDFF;
    border-radius: 40px;
    padding: 10px 24px;
    transition: 0.2s;
}
.btn-cyber:hover {
    background: #00DDFF;
    color: #0A0A14;
    border-color: #00DDFF;
    box-shadow: 0 0 12px #00DDFF;
}
.btn-outline-cyber {
    background: transparent;
    border: 1px solid #00DDFF;
    color: #00DDFF;
}
.btn-outline-cyber:hover {
    background: rgba(0,221,255,0.1);
    color: #00FF88;
}

/* جداول */
.cyber-table {
    background: #111122;
    border-radius: 20px;
    overflow: hidden;
}
.cyber-table th {
    background: #1A1A3A;
    color: #00DDFF;
    padding: 12px;
}
.cyber-table td {
    background: #13132A;
    color: #DDDDFF;
    border-color: #2A2A4A;
}
.cyber-table tr:hover td {
    background: #1E1E3E;
}

/* استپ ویزارد */
.step-indicator .step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #1A1A2E;
    border-radius: 40px;
    margin: 0 5px;
    color: #BBBBFF;
}
.step-indicator .step.active {
    background: #00DDFF;
    color: #0A0A14;
    font-weight: bold;
    box-shadow: 0 0 10px #00DDFF;
}
.step-content {
    display: none;
    animation: fadeStep 0.3s ease;
}
.step-content.active {
    display: block;
}
@keyframes fadeStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* سایر */
.balance-text {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00FF88, #00DDFF);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.cyan-text { color: #00DDFF; }
.pink-text { color: #FF44CC; }
.green-text { color: #00FF88; }

.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #00FF88;
    color: #0A0A14;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: bold;
    z-index: 2000;
    animation: fadeOut 2s forwards;
}
@keyframes fadeOut {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); visibility: hidden; }
}

.modal-content.cyber-card {
    background: #18182E;
    border: 1px solid #00DDFF;
    pointer-events: auto !important;
}
.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.admin-nav .btn {
    border-radius: 40px;
    padding: 8px 24px;
}