@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*,
::after,
::before {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #1f2122; /* Arka plan rengini değiştirdim */
    /* Arka plan resmi kodunu kaldırdım */
}

h3 {
    font-size: 1.2375rem;
    color: #343a40; /* Başlık rengi */
}

a {
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}

/* Layout skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}
.btn {
    color: #ffffff; /* Düğme rengi */
}

.navbar {
    background-color: #f8f9fa; /* Navbar arka plan rengi (istenirse değiştirilebilir) */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2852, 58, 64, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar h3 {
    color: #343a40; /* Başlık rengi */
    font-size: 1.25rem; /* Başlık boyutu */
    margin-bottom: 0; /* Başlığın altındaki boşluğu kaldır */
}

#sidebar {
    background-color: #28537d; /* Sidebar arka plan rengi */
    max-width: 264px;
    min-width: 264px;
    transition: all 0.35s ease-in-out;
    box-shadow: 0 0 35px 0 rgba(49, 57, 66, 0.5);
    z-index: 1111;
}

/* Sidebar collapse */

#sidebar.collapsed {
    margin-left: -264px;
}

.main {
    background-color: #f8f9fa; /* Dashboard arka plan rengi */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}

.sidebar-logo {
    text-align: center; /* Logoyu ortalar */
    font-size: 44px; /* Yazı boyutunu büyütür */
    padding: 20px 0; /* Üst ve alt boşluklar ekler */
    font-weight: bold; /* Yazı kalınlığını arttırır */
}

.sidebar-logo a {
    color: #fff; /* Logo rengini beyaz yapar */
    text-decoration: none; /* Altını çizmeden gösterir */
}

.sidebar-dropdown {
    padding-left: 20px; /* Alt menüyü sağa kaydır */
}

.sidebar-nav {
    padding: 0;
    margin-bottom: 25px; /* Menü öğeleri arasındaki boşluğu daraltır */

}
.sidebar-nav .sidebar-item .sidebar-link {
    padding: 10px 15px; /* Menü öğelerinin iç boşluğunu daraltır */
}

.sidebar-header {
    color: #e9ecef;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

/* Ana menü simge ayarları */
.sidebar-link i {
    width: 20px;
    text-align: center;
}
a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #e9ecef;
    position: relative;
    display: block;
    font-size: 1rem;
}
.container-fluid {
    max-width: 100%;
}


.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

/* Sidebar menünün tamamını biraz aşağı çekmek */
.sidebar-nav {
    padding-top: 20px; /* Menüyü aşağı çek */
}

.navbar h3 {
    font-size: 1.25rem;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-group label {
    width: 30%;
    margin-right: 1rem;
}

.form-group .form-control {
    width: 70%;
}

.form-group select.form-select {
    width: 70%;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.btn-custom {
    background-color: blue;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: darkblue;
    color: white;
}

.btn-delete {
    background-color: red;
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: background-color 0.3s ease;
}

.btn-delete:hover {
    background-color: darkred;
    color: white;
}

.btn-save {
    background-color: green;
    color: white;
    width: 120px;
    transition: background-color 0.3s ease;
}

.btn-save:hover {
    background-color: darkgreen;
    color: white;
}

.btn-cancel {
    background-color: red;
    color: white;
    width: 120px;
    transition: background-color 0.3s ease;
}

.btn-cancel:hover {
    background-color: darkred;
    color: white;
}

.additional-form {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #e9ecef;
    position: relative;
}

/* Popup stili */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    border-radius: 0.5rem;
}

.modal-footer .btn {
    width: 100px;
}
/* Responsive */

@media (min-width:768px) {
    .content {
        width: auto;
    }
}
@import 'https://cdn.jsdelivr.net/npm/sweetalert2@11';
