/* Import Open Sans font */
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

/* General textarea style */
textarea {
    resize: vertical;
    min-height: 90px;
}

body {
    font-size: 14px !important;
    color: #636b6f;
}

/* Important text left alignment */
.text-left-important {
    text-align: left !important;
}

/* Tutorial pages related */
audio {
    width: 100%;
    outline: none;
}

/* Customize the media controls panel color for Webkit browsers */
audio::-webkit-media-controls-panel {
    background: #3C8DBC;
}

/* Padding fix for download div */
.download-div {
    padding-left: 0;
    padding-right: 0;
}

/* Margin top 3 */
.mt-3 {
    margin-top: 1rem !important;
}

/* Tutorials headings */
.tutorials h3 {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif !important;
    color: #403e3e;
}

/* Tutorials paragraph */
.tutorials p {
    font-size: 14px;
    text-align: justify;
    font-family: 'Open Sans', sans-serif !important;
    line-height: 30px;
    color: #403e3e;
}

/* Tutorials lists */
.tutorials ul li,
.tutorials ol li {
    font-size: 14px;
    text-align: justify;
    font-family: 'Open Sans', sans-serif !important;
    line-height: 30px;
    padding-bottom: 10px;
    color: #403e3e;
}

/* Vertical center alignment */
.vertical-align {
    display: flex;
    align-items: center;
}

/* Tutorials images margin */
.tutorials img {
    margin-bottom: 10px;
}

/* Tutorial list numbers styling */
.tutorial-list ol {
    font-size: 16px;
    color: #3c8dbc;
    font-weight: 600;
}

.tutorial-list ol li {
    margin-bottom: 10px;
}

/* Tutorials container width for large screens */
.tutorials {
    width: auto;
}

@media (min-width: 768px) {
    .tutorials h3 {
        font-size: 26px;
    }

    .tutorials p {
        font-size: 18px;
    }

    .tutorials ul li,
    .tutorials ol li {
        font-size: 18px;
    }

    .tutorial-list ol {
        font-size: 18px;
    }
}

@media (min-width: 1400px) {
    .tutorials {
        width: 1170px;
    }
}

/* AdminLTE 3 and Bootstrap 4 custom colors (skin-blue equivalent) */

/* Header Navbar */
.main-header.navbar {
    background-color: #FFDFDF !important;
}

/* Brand Logo */
.brand-link {
    background-color: #f5d0d0 !important;
    padding-top:7px !important;
}
.brand-link:hover {
    background-color: #f5d0d0 !important;
}

/* Sidebar Background */
.main-sidebar {
    background-color: #3B201D !important;
}

/* Sidebar Section Header */
.nav-header {
    background-color: #2e1613 !important;
    color: #fff;
}

/* Sidebar Active/Opened Item */
.nav-sidebar > .nav-item > .nav-link.active,
.nav-sidebar > .nav-item.menu-open > .nav-link {
    background-color: #BA4C38 !important;
    border-left: 3px solid #FF684C !important;
    color: #fff !important;
}

/* Sidebar Hover */
.nav-sidebar > .nav-item > .nav-link:hover {
    background-color: #BA4C38 !important;
    color: #fff !important;
}

/* User Panel Header */
.user-header {
    background: linear-gradient(0deg, #BA4C38 0%, #3B201D 100%) !important;
    color: #fff;
}

/* Info Boxes, Modals, etc */
.bg-aqua-active,
.modal-info .modal-header,
.modal-info .modal-footer {
    background: linear-gradient(0deg, #BA4C38 0%, #3B201D 100%) !important;
    color: #fff;
}

/* Pagination active state */
.page-item.active .page-link {
    background-color: #FF684C !important;
    border-color: #FF684C !important;
    color:white !important;
}

/* Buttons */
.btn-info {
    background-color: #FF684C;
    border-color: #FF684C;
    color: #fff !important;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active {
    background-color: #FF684C;
    border-color: #FF684C;
    color: #fff;
}

/* Background override for info */
.bg-info {
    background-color: #FFDFDF !important;
    color: #3b201d !important;
}

/* Navbar link text color */
.navbar-light .navbar-nav .nav-link {
    color: #3b201d !important;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #3b201d !important;
    background-color: #FFDFDF !important;
}

/* Sidebar toggle button */
.navbar-light .sidebar-toggle,
.navbar-light .pushmenu {
    color: #3b201d !important;
}
.navbar-light .sidebar-toggle:hover,
.navbar-light .pushmenu:hover {
    background-color: #FFDFDF !important;
    color: #3b201d !important;
}

/* Generic link colors */
.breadcrumb-item a {
    color: #3b201d;
}
a {
    color: #3b201d;

}

a:active {
    color: #F0705D;
}

/* Tutorials ordered list */
.tutorial-list ol {
    color: #3b201d;
}

[class*=sidebar-dark] .user-panel {
    border-bottom: none !important;
}

.sidebar-menu>li.nav-header {
    color: #4b646f;
}

.user-panel>.info>a {
    text-decoration: none;
    padding-right: 5px;
    margin-top: 3px;
    font-size: 11px;
}

.user-panel>.info>p {
    font-weight: 600;
    margin-bottom: 9px;
}

.user-panel>.image>img {
    width: 100%;
    max-width: 45px;
    height: auto;
}

[class*=sidebar-dark-] .sidebar a {
    color: #b8c7ce;
}

.user-panel>.info, .user-panel>.info>a {
    color: #fff;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Active menu item */
.nav-sidebar .nav-link.active {
    background-color: #BA4C38 !important;
    border-left: 3px solid #FF684C !important;
    color: #fff !important;
    padding-left: 14px !important;
}

/* Hover effect */
.nav-sidebar .nav-link:hover {
    background-color: #BA4C38 !important;
    color: #fff !important;
}
.brand-link .big-logo {
    float:none;
    position:relative;
    bottom:8px;
}

.brand-link .mini-logo {
    float:none;
    position:relative;
    bottom:5px;
}

/* Full-width Sidebar Customization */
.sidebar {
    height: calc(100% - 3.5rem); /* Full height minus top header */
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0; /* Remove all padding to make content full width */
    scrollbar-width: thin;
    scrollbar-color: #a9a9a9 transparent;
}

/* Optional: Restore narrow scrollbar like AdminLTE 2 */
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}


/* Make sidebar items full width */
.sidebar .nav-sidebar > .nav-item {
    width: 100%;
}

.sidebar .nav-sidebar .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 15px;
    padding-right: 10px;
    border-radius: 0;
    font-size: 14px;
}

/* Ensure icon and text align properly */
.sidebar .nav-sidebar .nav-link i {
    min-width: 20px;
    text-align: center;
    margin-right: 10px;
    font-size: 16px;
}

/* Highlight active item like AdminLTE 2.x */
.sidebar .nav-sidebar .nav-item > .nav-link.active {
    background-color: #1e282c; /* Similar to skin-blue active */
    color: #ffffff;
}

/* Optional hover effect */
.sidebar .nav-sidebar .nav-link:hover {
    background-color: #1f2d3d;
    color: #ffffff;
}

.badge.bg-light-blue {
    background-color: #3c8dbc; /* AdminLTE 2.x light-blue */
    color: #fff;
}

.card.card-info {
    border-top-color: #FF684C !important;
}

.table td, .table th {
    padding: .5rem;
    vertical-align: middle;
}

.table-scrollable {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.table-col-fit-content {
    white-space: nowrap;
    width: 1%;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #3c8dbc;
    border-color: #3c8dbc !important; 
    color: #fff;
}

.table-scrollable .sticky-header,
.table-scrollable .sticky-col-and-header,
.table-scrollable .sticky-column {
    background: #f9f9f9;
}

tr.expanded-details{
    background-color: #007bff14;
}

.font-12-px{
    font-size: 12px !important;
}

.table.table-footer-fixed tfoot tr:nth-child(1) td {
    background-color: #fff;
    border-bottom: 0;
    box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;
    position: sticky;
    bottom: 0;
    z-index: 10
}

.table.table-footer-fixed.table-dark tfoot tr:nth-child(1) td {
    background-color: #212529;
    box-shadow: inset 0 1px 0 #383f45, inset 0 -1px 0 #383f45
}

.card-header {
    background-color: transparent !important;
    border-bottom: none;
}

.card.card-info {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #c2f1fd;
    opacity: 1;
}

.widget-user .card-footer {
    padding-top: 30px;
}

.card-title {
    color: #636b6f
}

@media (min-width: 768px) {
    .form-horizontal .col-form-label {
        text-align: right;
        margin-bottom: 0;
        padding-top: 7px;
    }
}

.card-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 12px;
}

.page-link {
    color: #666;;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    color: #fff;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}


.btn-primary {
    background-color: #3c8dbc !important;
    border-color: #367fa9 !important;
}

.login-box {
    margin: 112px auto auto auto; /* top, right, bottom, left */
}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    border-top: 1px solid #f4f4f4;
}

.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
    border: 1px solid #f1f0f0;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table>thead>tr>th {
    border-bottom: 2px solid #edebeb;
}

.table>thead>tr>th {
    border-top: 2px solid #e7e5e5;
}

.table-hover tbody tr:hover {
    background-color: #f4f4f4; /* same as th background */
    color: #3b201d;
}

a:active {
    color: #F0705D !important;
}

a[href*="#popular-course"] {
    color: #3c8dbc;
}

.btn-success {
    background-color: #00a65a !important;
    border-color: #008d4c !important;
}

.widget-user .widget-user-header {
    padding: 20px;
    height: 120px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.card-default>.card-header {
    color: #333;
    background-color: #fff;
    border-color: #d3e0e9;
}

.btn {
    margin-bottom: 0;
    white-space: nowrap;
    border-radius: 4px;
}

.btn.btn-info,
.btn.btn-default {
    padding: 6px 12px;
    font-size: 14px;
}

.btn.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}

.text-dark {
    color: #636b6f !important;
}

.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show>.btn-info.dropdown-toggle {
    color: #fff !important;
    background-color: #FF684C;
    border-color: #FF684C;
}

.bg-blue {
    background-color: #0073b7 !important;
}

a:hover {
    color:#FF684C;
}

/* .navbar-nav>li>.dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
} */

.navbar-nav>.user-menu>.dropdown-menu {
    position: absolute;
    right: -8px !important;
    left: auto !important;
}

.navbar-nav>.user-menu>.dropdown-menu {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding: 1px 0 0 0;
    border-top-width: 0;
    width: 280px;
}

.content-header> .container-fluid > .row > .col-sm-6 > h1{
    margin: 0 !important;
    font-size: 24px !important;
}

.breadcrumb {
    font-size:12px
}

.widget-user .widget-user-image {
    left: 50%;
    margin-left: -45px;
    position: absolute;
    top: 65px;
}

.row:has(#share) {
    margin-left: -15px;
    margin-right: -15px;
    text-align: center;
}

.card.card-default > .card-header a {
    margin-left: -10px !important;
}

.card.card-default > .card-header a:hover {
    color:#FF684C
}
h3.text-dark {
    font-size: 24px;
}

.main-header.navbar.navbar-expand.navbar-light {
    padding: 4px;
}

.mini-logo {
    display: none;
}
.big-logo {
   display: inline-block;
}

.sidebar-collapse .mini-logo {
    display: inline-block !important;
}
.sidebar-collapse .big-logo {
    display: none !important;
}

@media (max-width: 767.98px) {
  .mini-logo { display: inline-block !important; }
  .big-logo { display: none !important; }
}

.nav-icon {
    font-size:inherit !important;
}

.sidebar-collapse .nav-sidebar .nav-link {
    display: flex;
    align-items: center;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 10px;
    border-radius: 0;
    font-size: 14px;
}

.has-error label {
    color: #dc3545;
}

label:has(input[type="radio"]),
label:has(input[type="checkbox"]) {
    font-weight: normal !important;
}

.bg-default {
    background-color: #FF684C;
    border-color: #FF684C;
    color: #fff !important;
}

.table-bordered {
    border: 1px solid #dee2e6 !important;
}

.table a:not(:has(i)) {
  color: #3c8dbc;
}

.table a:not(:has(i)):hover {
  color: #FF684C;
}

