@font-face {
    font-family: 'Century Gothic';
    src: url('../Century Gothic/centurygothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../Century Gothic/centurygothic_bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../myriad-pro/MYRIADPRO-REGULAR.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../myriad-pro/MYRIADPRO-BOLD.OTF') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../myriad-pro/MyriadPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1 {
    font-weight: 600;
    font-size: 1.5rem;
}

body {
    font-family: 'Myriad Pro', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.wrapper {
    display: flex;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background-color: #fff;
}

#sidebar {
    width: 70px;
    min-width: 70px;
    z-index: 1000;
    transition: all .25s ease-in-out;
    background-color: #F3F2F2;
    display: flex;
    flex-direction: column;
}

#sidebar.expand {
    width: 260px;
    min-width: 260px;
}

/* Border toggle arrow positioned on right edge of sidebar */
.border-toggle-btn {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #F3F2F2;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.border-toggle-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-50%) scale(1.1);
}

/* Arrow direction based on sidebar state */
#sidebar.expand .border-toggle-btn img {
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

#sidebar:not(.expand) .border-toggle-btn img {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

.toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 1rem 1.5rem;
}

.toggle-btn i {
    font-size: 1.5rem;
    color: #5A5A5A;
}

.sidebar-logo {
    margin: auto 0;
}

.sidebar-logo a {
    color: #5A5A5A;
    font-size: 1.15rem;
    font-weight: 600;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}

/* Mini logo for collapsed sidebar */
.sidebar-mini-logo {
    text-align: center;
    padding: 1rem 0;
    margin: 0 auto;
}

.sidebar-mini-logo img {
    width: 4rem;
    height: auto;
    transition: all 0.3s ease-in-out;
}

.sidebar-nav {
    padding: .1rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #5A5A5A;
    display: block;
    font-size: 0.9rem;
    position: relative;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #198754;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #5A5A5A;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid #fff !important;
    border-width: 0 3px 3px 0 !important;
    content: "" !important;
    display: inline-block !important;
    padding: 8px !important;
    position: absolute !important;
    right: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(-135deg) !important;
    transition: all .2s ease-out !important;
    margin: 0 !important;
    box-sizing: content-box !important;
    background-color: gray !important;
    z-index: 999 !important;
}

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

#sidebar {
    width: 70px;
    min-width: 70px;
    z-index: 1000;
    transition: all .25s ease-in-out;
    background-color: #F3F2F2;
    display: flex;
    flex-direction: column;
}

#sidebar.expand {
    width: 260px;
    min-width: 260px;
}

/* Border toggle arrow positioned on right edge of sidebar */
.border-toggle-btn {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #F3F2F2;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.border-toggle-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-50%) scale(1.1);
}

/* Arrow direction based on sidebar state */
#sidebar.expand .border-toggle-btn img {
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

#sidebar:not(.expand) .border-toggle-btn img {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}


