:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #00f2fe;
    --accent2-color: #4facfe;
    --dark-bg: #0f1117;
    --darker-bg: #0a0c10;
    --card-bg: rgba(16, 18, 27, 0.8);
    --light-text: #ecf0f1;
    --grey-text: #a0a5ab;
    --neon-green: #0ff;
    --neon-purple: #f0f;
    --sidebar-width: 260px;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --info-color: #0984e3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
}

.dashboard-body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--darker-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
    color: var(--light-text);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.sidebar-logo i {
    color: var(--accent-color);
    margin-right: 5px;
}

.btn-close-sidebar {
    background: none;
    border: none;
    color: var(--grey-text);
    font-size: 18px;
    cursor: pointer;
    display: none;
}

.sidebar-user {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.user-avatar i {
    font-size: 20px;
    color: var(--light-text);
}

.user-info h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.user-role {
    font-size: 12px;
    color: var(--grey-text);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.sidebar-item {
    margin: 5px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--grey-text);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    min-width: 25px;
    margin-right: 10px;
    font-size: 16px;
}

.sidebar-link:hover, .sidebar-item.active .sidebar-link {
    color: var(--light-text);
    background-color: rgba(108, 92, 231, 0.1);
    border-left-color: var(--accent-color);
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.balance-display {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.balance-display i {
    margin-right: 10px;
    font-size: 16px;
}

.balance-amount {
    font-weight: 600;
    margin-left: 5px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
}

.top-nav {
    height: 70px;
    background-color: var(--darker-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.btn-toggle-sidebar {
    background: none;
    border: none;
    color: var(--grey-text);
    font-size: 20px;
    cursor: pointer;
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
}

.balance-pill {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    padding: 6px 15px;
    border-radius: 20px;
    margin-right: 15px;
    font-size: 14px;
}

.balance-pill i {
    margin-right: 8px;
    color: var(--accent-color);
}

.btn-user {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: var(--light-text);
    padding: 10px 15px;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--light-text);
}

.dropdown-item i {
    margin-right: 10px;
    font-size: 14px;
}

/* Page Content Styles */
.page-content {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}

.page-title {
    margin-bottom: 20px;
    color: var(--light-text);
    font-weight: 600;
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

.stat-card.primary::before {
    background-color: var(--primary-color);
}

.stat-card.success::before {
    background-color: var(--success-color);
}

.stat-card.warning::before {
    background-color: var(--warning-color);
}

.stat-card.danger::before {
    background-color: var(--danger-color);
}

.stat-card.info::before {
    background-color: var(--info-color);
}

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.15;
    color: var(--light-text);
}

.stat-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--grey-text);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-value.primary {
    color: var(--primary-color);
}

.stat-value.success {
    color: var(--success-color);
}

.stat-value.warning {
    color: var(--warning-color);
}

.stat-value.danger {
    color: var(--danger-color);
}

.stat-value.info {
    color: var(--info-color);
}

.stat-desc {
    font-size: 12px;
    color: var(--grey-text);
    display: flex;
    align-items: center;
}

.stat-trend-up {
    color: var(--success-color);
    margin-right: 5px;
}

.stat-trend-down {
    color: var(--danger-color);
    margin-right: 5px;
}

/* Dashboard Sections */
.dashboard-section {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
}

.section-action {
    font-size: 14px;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s;
}

.section-action:hover {
    color: var(--neon-green);
    text-decoration: underline;
}

/* Announcements */
.announcement-list {
    list-style: none;
    padding: 0;
}

.announcement-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 5px;
}

.announcement-date {
    font-size: 12px;
    color: var(--grey-text);
    margin-bottom: 10px;
}

.announcement-content {
    font-size: 14px;
    color: var(--grey-text);
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .btn-toggle-sidebar, .btn-close-sidebar {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .page-content {
        padding: 20px 15px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        font-size: 30px;
    }
    
    .stat-value {
        font-size: 24px;
    }
}

/* Hoş Geldin Paneli Stili */
.welcome-panel {
    background-color: var(--darker-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-info {
    z-index: 2;
}

.welcome-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 5px;
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--grey-text);
    margin-bottom: 10px;
}

.welcome-balance {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.welcome-avatar {
    height: 120px;
    position: relative;
    z-index: 2;
}

.welcome-avatar img {
    height: 100%;
    object-fit: contain;
}

.welcome-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(108, 92, 231, 0.1));
    z-index: 1;
}
/* Placeholder metni beyaz yapma */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}