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

:root {
    --bg-main: #1e1e1e;
    --bg-panel: #2a2a2a;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --accent: #4caf50;
    --border-radius: 8px;
    --sidebar-width: 250px;
    --topbar-height: 60px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Premium Redesign */
#sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 5px 0 20px rgba(0,0,0,0.4);
    z-index: 100;
    position: relative;
}

.brand-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    text-decoration: none;
    position: relative;
    z-index: 2;
    opacity: 0; /* Animasyon için başlangıçta gizle */
}

.gs-menu-section > * {
    opacity: 0; /* Animasyon için başlangıçta gizle */
}

.brand-logo {
    height: 42px;
    width: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-title span {
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.menu-section {
    margin-bottom: 2rem;
}

.menu-section-title {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1rem;
    background-color: transparent;
    color: #999;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.menu-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(157, 78, 221, 0.1) 0%, transparent 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.menu-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.menu-item:hover::before {
    width: 100%;
}

.menu-item:hover svg {
    transform: scale(1.15);
    fill: #c77dff;
}

.menu-item.active {
    background-color: rgba(157, 78, 221, 0.15);
    color: #fff;
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.15);
}

.menu-item.active svg {
    fill: #9d4edd;
    filter: drop-shadow(0 0 5px rgba(157, 78, 221, 0.5));
}

/* Main Content Area */
#main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top right, #1a1a24 0%, #121212 100%);
    overflow: hidden;
}

/* Topbar Premium Redesign */
#topbar {
    height: 70px;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    z-index: 10;
}

.page-title {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.return-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.return-btn:hover {
    color: #fff;
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.1);
}

/* Content Frame */
#content {
    flex: 1;
    background-color: transparent;
    padding: 2.5rem;
    overflow-y: auto;
}

/* Form & UI Elements (Reused from minimal design) */
.btn-primary {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.form-control {
    width: 100%;
    background: #1e1e1e;
    border: 1px solid #444;
    color: #fff;
    padding: 0.6rem;
    border-radius: 4px;
}

.data-card {
    background: #1e1e1e;
    border: 1px solid #444;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.status-badge {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border: 1px solid #444;
    color: #aaa;
    border-radius: 4px;
}

.status-active {
    color: var(--accent);
    border-color: var(--accent);
}

/* Kaydırma Çubuğunu Tamamen Gizleme (Görünmez yap ama kaydırma çalışsın) */
::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none; /* Firefox için */
}
