/* User */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    padding-top: 70px;
    /* overflow: hidden; */
}
.fixed-top{
    background: #000 !important;
}
.nav-link:hover {
    color: #680a0a !important;
}
.alert-red{
    background: #680a0a;
    color: #fff;
}
.btn-red,
 .btn-outline-red {
    background: #680a0a;
    color: #fff;
}
.btn-red:hover,
 .btn-outline-red:hover {
    background: #680a0a;
    color: #fff;
}
.dropdown button:hover{
    border:none;
    border-color: none;
}
.dropdown-menu {
    background: #000;
    background-color: none;
}
.dropdown-menu .dropdown-item {
    background: #000;
    background-color: none;
}
.dropdown-menu .dropdown-item:hover {
    background-color: none;
    color: #680a0a !important;
}
.dropdown button:hover{
    color: #680a0a !important;
}

.dropdown-menu .collapse {
    padding-left: 20px;
}


.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-toggle:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    color: #680a0a;
}

/* ! */

.dropdown-menu {
    min-width: 200px;
}

.dropdown-menu a {
    color: #333;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #680a0a;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.collapse {
    transition: height 0.3s ease-in-out;
}

.dropdown-menu .collapse {
    padding-left: 15px;
}
.btn.show{
    border-color: none;
}
/* Mobilde okların fazla yer kaplamasını engelle */
/*  */

.carousel-item img {
    width: 100%;
    height: auto; /* İstediğin yükseklik */
    object-fit: cover; /* Resmi, kutuya sığacak şekilde kırpar */
}

.menu-title {
    padding: 15px;
    font-weight: bold;
    border-bottom: 1px solid #34495e;
}


.mt-10{
    margin-top: 10rem;
}
.message-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.message {
    padding: 20px;
    border-radius: 5px;
}
.centered-message {
    text-align: center;
    margin-top: 50px;
}



/* Liste linkleri için beyaz renk */
.dropdown-item {
    color: white !important;
}

.dropdown-item:hover {
    color: #f8f9fa !important; /* Hover sırasında daha açık beyaz */
    text-decoration: underline !important;
}
.custom-striped-table {
    border-spacing: 10px; 
    background: none !important;
    background-color: none !important;
}

.custom-striped-table th, .custom-striped-table td {
    padding: 15px; /* Hücre içindeki metne boşluk ekler */
}
/* Özel stilleri table sınıfına zorunlu olarak uygulat */
table.custom-striped-table tbody tr:nth-child(odd) {
    background-color: #222121 !important;  /* Siyah */
    color: white !important;
}

table.custom-striped-table tbody tr:nth-child(even) {
    background-color: #555 !important;  /* Gri */
    color: white !important;
}

/* Hover efekti */
table.custom-striped-table tbody tr:hover {
    background-color: #680a0a !important;
    /* color: #680a0a !important; */
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


.delete-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.cover-checkbox {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
}


#description-editor {
    height: 300px;  /* Editörün kapsayıcı yüksekliği */
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.ql-editor {
    height: 100%;  /* İçeriğin kapsayıcıya göre yüksekliği */
}



.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0 60px !important;
}
.pagination::after {
    content: "";
    display: block;
    height: 60px; /* Boşluk yüksekliği */
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    display: block;
    /* padding: 10px 15px; */
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination li a:hover {
    background-color: #680a0a;
    color: #fff;
}

.pagination li.active a {
    background-color: #680a0a;
    color: #fff;
    /* font-weight: bold; */
    border-color: transparent
}

.pagination li.disabled a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #aaa;
    /* pointer-events: none; */
}


body {
    background: #000;
    color: #fff;
}
.nav-link{
    color: #fff;
}
.nav-link:hover {
    color: #680a0a;
}

.btn-red {
    background: #680a0a;
    color: #fff;
}

.text-red {
    color: #680a0a;
}

#mainCarousel {
    width: 100%;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    max-width: 70%;
}

.carousel-caption-custom h5 {
    font-size: 2rem;
    font-weight: bold;
}

.carousel-caption-custom p {
    font-size: 1.2rem;
}

.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='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.card-request{
    background-color: #222121 !important;  /* Siyah */
    color: white !important;
}

.card-token{
    background: #222121 !important; 
    color: white;
}
.card-token-body{
    background: #555 !important;
    color: white;

}

.dropdown-menu a,
.dropdown-menu .dropdown-item {
  pointer-events: auto !important;
}

.category-sidebar {
    position: sticky;
    top: 100px;
    /* Navbar altında kalsın */
    height: 100vh;
    overflow-y: auto;
}

@media(max-width:576px) {
    .category-sidebar {
        position: static !important;
        /* Küçük ekranlarda sabitliği kaldır */
    }
}

.list-group-item {
    cursor: pointer !important;
}

.list-group-item.active {
    background-color: #680a0a !important;
    color: white !important;
    border-color: #680a0a !important;
}