/* Sidebar Styles */
#wrapper {
    display: flex;
}

#sidebar-wrapper {
    min-width: 200px;
    min-height: 100vh;
    width: 250px;
    margin-left: -250px;
    transition: margin 0.25s ease-out;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#page-content-wrapper {
    min-width: 100vw;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -250px;
    }
}

/* Sidebar Items */
.sidebar-heading {
    font-size: 1.2rem;
    font-weight: 600;
}

.list-group-item {
    border: none !important;
    padding: 1rem 1.5rem;
    transition: all 0.3s;
}

.list-group-item:hover {
    background-color: #495057 !important;
    padding-left: 2rem;
}

.list-group-item i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Login Page - Ortada konumlandırma */
.login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 2rem;
    text-align: center;
}

.login-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
}

/* Table Styles */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Badge Styles */
.badge {
    padding: 0.5rem 0.8rem;
    font-weight: 500;
}

/* Alert Animations */
.alert {
    animation: slideInDown 0.5s ease-out;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Sayfa Başlıkları - Daha küçük font */
h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    h2 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.3rem;
    }
}

/* Login sayfası için responsive ayarlar */
@media (max-width: 576px) {
    .login-card {
        margin: 0;
    }

    .login-header {
        padding: 1.5rem;
    }

    .login-header i {
        font-size: 2rem;
    }
}