body {
    background-color: aliceblue;
    font-family: 'Poppins', serif;
    font-weight: 300 !important;
}

*  {
    transition-duration: 300ms;
}

.active {
    font-weight: 500;
}

.text-yellow {
    color: yellow;
}

.bg-scene {
    background: url(/scene.svg);
    min-height: 700px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    img {
        filter: drop-shadow(#666 5px 5px 15px);
    }
}

.bg-scene:nth-child(3) {
    background-repeat: repeat-x;
    .col-lg-6:has(img) {
        rotate: 8deg;
        position: relative;
        bottom: 0;
        border-bottom: 3px dotted white;
        outline: none;
        img {
            filter: none;
        }
    }
}


.icon-link-hover:hover {
    i {
        padding-inline: 2px;
    }
}

.featureCard {
    p {
        font-size: 0.9em;
        width: 100%;
    }
}

.featureCard::after {
    background-color: #01aaff;
    width: 100%;
    height: 100px;
    z-index: 99;
}

.featureCard:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

#yorumlar {
    .carousel-inner {
        margin-inline: auto;
        align-content: center;
        width: 80%;
    }

    .carousel-item {
        width: 100%;
        padding: 30px;
        cursor: pointer;
        div {
            height: 200px;
            overflow: hidden;
        }
        div:hover {
            transform: scale(1.05);
        }
    }
}

#yorumlar .carousel-item p {
    max-height: 120px;
    overflow: hidden; 
    width: 100%;
    text-overflow: ellipsis; 
    display: -webkit-box;
    -webkit-line-clamp: 5; 
    -webkit-box-orient: vertical;
    font-size: 0.9em;
}

@media screen and (max-width: 768px) {
    #yorumlar {
        .carousel-inner {
            width: 100%;
        }
        .carousel-item {
            div {
                height: 150px;
            }

        }
    }
    #yorumlar .carousel-item p {
        font-size: 0.7em !important;
    }
    #yorumlar .carousel-item h3 {
        font-size: 1em !important;
    }
}


#faq .accordion-item * {
    border-radius: 15px !important;
    box-shadow: none;
    border: none !important;
    background-color: aliceblue;
}

#faq .accordion-item {
    border: none !important;
    background-color: aliceblue;
    border-radius: 15px;
    margin-block: 10px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

#faq .accordion {
    border: none !important;
    max-width: 800px;
    margin-inline: auto;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #00c6ff);
  }
  
  .bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545, #ff6a00);
  }
  
  .bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #34d58b);
  }
  
  .bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #ffb84d);
  }
  
  .bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #4fb3e7);
  }
  
  .bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d, #a1a7b3);
  }
  
  .bg-gradient-dark {
    background: linear-gradient(135deg, #343a40, #555555);
  }
  
  .bg-gradient-light {
    background: linear-gradient(135deg, aliceblue, #fbfdff);
  }
  
  .bg-gradient-custom {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
  }
  
  .bg-gradient-purple {
    background: linear-gradient(to right, #6a11cb, #2575fc);
}

.admin-main {
    max-height: 100dvh !important;
    overflow: scroll;
    overflow-x: hidden;
}

.sidenav {
    max-height: 100dvh !important;
    overflow-x: hidden;
    overflow-y: scroll;
}

.sidenav::-webkit-scrollbar {
    width: 0px;
    display: none;
}

.sidenav li {
    padding: 4px;
    border-radius: 5px;
    cursor: pointer;
    max-width: 100%;
    font-size: 0.95em;
}

.sidenav li.active {
    background-color: #343a40;
}

.sidenav li:hover {
    background-color: #343a40;
}

.sidenav .collapse {
    background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
    border-radius: 5px;
    .list-unstyled {
        padding-left: 0 !important;
        li {
            border-radius: 0px !important;
        }
    }
}

#customerTable {
    * {
        outline: none !important;
    }
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.dt-layout-table {
    * {
        border: none !important; 
        outline: none !important;
    }
}


#customerTable th {
    border: none !important;
    padding: 12px;
    font-weight: 600;
}

#customerTable td {
    padding: 10px;
    border: none !important;
    text-align: left;
}

.modal.show {
    backdrop-filter: blur(2px) !important;
    align-content: center;
    .form-control {
        border-radius: 0px !important;
        border-bottom: solid 2px rgb(176, 218, 255) !important;
        background-color: aliceblue;
    }
    .input-group-text {
        background-color: aliceblue;
        border-bottom: solid 2px rgb(176, 218, 255) !important;
    }
    label span {
        color: red;
    }
    * {
        border: none;
    }
}

th {
    font-size: 0.8em;
    text-align: left !important;
}

td {
    text-align: left !important;
}

.dt-column-order::before {
    content: '⬆' !important;
    opacity: 100%;
}
.dt-column-order::after {
    content: '⬇' !important;
    opacity: 70%;
}

#clock {
    position: fixed;
    width: 85px;
    top: 10px;
    right: 30px;
    font-size: 1rem;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

.d-flex.justify-content-end .btn {
    border-bottom-right-radius: 0;
}
.d-flex.justify-content-end .btn {
    border-bottom-left-radius: 0;
}


.sidenav {
    height: 100dvh !important;
    overflow-y: auto;
    z-index: 1000;
    transition: 0.3s;
}

.sidenav-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
}

.main-menu {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.user-profile {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}


.submenu {
    display: none;
    margin-top: 0.5rem;
}

.submenu.show {
    display: block;
}

.toggle-icon {
    transition: transform 0.3s;
}

.menu-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(90deg);
}

.nav-item.active > .nav-link {
    font-weight: 500;
}

/* Mobile styles */
@media (max-width: 991px) {
    .sidenav {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 250px !important;
    }

    .sidenav.show {
        transform: translateX(0);
    }

    .mobile-toggle {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1001;
    }
    
    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
    }
}
