:root {
    --primary-color: #ee9a1e;
    --secondary-color: #98170e;
    --bg-color: #715e34;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/*
html {
  position: relative;
  min-height: 100%;
}*/

.app-shell {
    display: flex;
    height: 100vh;
    width: 100vw;
    flex-direction: row; /* RTL: sidebar on the right */
}

.sidebar {
    background-color: var(--bg-color);
    width: 250px;
    min-width: 250px;
    transition: width 0.3s, min-width 0.3s;
    overflow-x: hidden;
    height: 100vh;
    position: relative;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.sidebar.collapsed {
    width: 20px !important;
    min-width: 20px !important;
}

.sidebar .toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1050;
    position: relative;
}

.toggle-btn{
    border: none;
}

.sidebar.collapsed nav,
.sidebar.collapsed .navbar-brand,
.sidebar.collapsed ul,
.sidebar.collapsed img {
    display: none !important;
}

.main-content {
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    overflow-x: auto;
    height: 100vh;
}

@media (max-width: 992px) {
    .sidebar {
        width: 20px !important;
        min-width: 20px !important;
    }
    .sidebar:not(.collapsed) {
        width: 250px !important;
        min-width: 250px !important;
    }
}

/*body {
  margin-bottom: 60px;
}*/

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.custom-btn {
    background-color: var(--primary-color);
    font-size: 18px;
    border-radius: 15px;
    border: none;
    color: white;
    padding: 6px;
}

.custom-link {
    background-color: var(--primary-color);
    font-size: 16px;
    border-radius: 15px;
    border: none;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
}

/* Table Styles */
.content-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 16px;
    width: 100%;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-table thead tr {
    background-color: var(--primary-color);
    color: white;
    text-align: right;
    font-weight: 400;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
}

.content-table tbody tr {
    border-bottom: 1px solid gray;
}

.content-table tbody tr:hover {
    background-color: rgb(231, 231, 231);
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #0c6cfd33;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: rgb(231, 231, 231);
}


.content-table tbody tr:last-of-type {
    border-bottom: 4px solid var(--primary-color);
}

@media (max-width: 750px) {
    th {
        display: none;
    }

    td {
        display: block;
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: space-between;
    }

    td::before {
        content: attr(data-cell) ": ";
        font-weight: bold;
    }
}

/* Members submenu toggle styles */
.members-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: start;
}

    .members-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.members-submenu {
    list-style: none;
    padding-right: 20px;
    transition: all 0.3s ease;
}

    .members-submenu li {
        margin: 5px 0;
    }

    .members-submenu a {
        padding: 8px 15px;
        display: block;
        border-radius: 5px;
    }

        .members-submenu a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

.members-toggle .bi-chevron-down {
    transition: transform 0.3s ease;
}

.members-toggle.active .bi-chevron-down {
    transform: rotate(180deg);
}