:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-color: #e94560;
    --light-text: #ffffff;
    --border-color: #1f4287;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
}

.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 1000px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.illustration-wrapper {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}

.illustration-wrapper img {
    max-width: 100%;
    height: auto;
}

.login-wrapper {
    flex: 1;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
}

.brand-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.brand-icon {
    font-size: 3em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.brand-wrapper h1 {
    color: var(--light-text);
    font-size: 2em;
    margin: 10px 0;
    font-weight: 600;
}

.brand-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.custom-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--light-text) !important;
    height: 55px;
}

.custom-input:focus {
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2) !important;
    border-color: var(--text-color) !important;
}

.form-floating label {
    color: rgba(255, 255, 255, 0.7);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--text-color);
}

.custom-btn {
    background: var(--text-color);
    color: var(--light-text);
    border: none;
    height: 50px;
    font-size: 1.1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background: #d63d57;
    color: var(--light-text);
    transform: translateY(-2px);
}

.custom-alert {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.custom-alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .login-box {
        width: 90%;
        height: auto;
        flex-direction: column;
    }

    .illustration-wrapper {
        display: none;
    }

    .login-wrapper {
        padding: 40px;
    }
}

/* Dashboard Styles */
.dashboard-body {
    background-color: var(--primary-color);
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.dashboard-card .card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.dashboard-card .table {
    color: var(--light-text);
}

.dashboard-card .table td, 
.dashboard-card .table th {
    border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-icon {
    opacity: 0.8;
}

.dropdown-menu {
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: var(--light-text);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.table-hover tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container-fluid {
        padding: 10px;
    }
}

/* Sidebar ve Ana İçerik Düzeni */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--secondary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar.collapsed {
    width: 80px;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    transition: all 0.3s;
    padding: 20px;
}

.main-content.expanded {
    margin-left: 80px;
}

/* Sidebar Logo Alanı */
.sidebar-logo {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-toggle {
    color: var(--light-text);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Sidebar Menü */
.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s;
}

.menu-item:hover, .menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.menu-item i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.menu-item span {
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s;
}

.sidebar.collapsed .menu-item span {
    opacity: 0;
    width: 0;
}

/* Kullanıcı Profil Alanı */
.sidebar-profile {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-info {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-name {
    font-weight: 500;
    margin: 0;
}

.profile-role {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* Dashboard Kartları İyileştirmeleri */
.stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Tablo İyileştirmeleri */
.data-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
}

.data-table .table {
    margin: 0;
}

.data-table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 15px;
}

.data-table td {
    padding: 15px;
    vertical-align: middle;
} 