.bg-primary {
    background-color: #c90000!important;
}

.custom-bg {
    background-color: #101116;
}

.full-height {
    height: 100vh;
}

span {
    color: #feb400;
}

.btn-primary {
    color: #fff;
    background-color: #c90000;
    border-color: #b40404;
}

.btn-primary:hover {
    color: #fff;
    background-color: #b80404;
    border-color: #b10202;
}

a {
    color: #ffffff;
    font-size: 14pt;
}

a:hover {
    color: #fbb201;
}

a:active {
    color: #fbb201;
}

.top-bar {
    background-color: #16191f;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 99999;
}

.login-footer {
    position: absolute;
    bottom: 10px;
}

.btn-link {
    color: #c90000;
}

.btn-link:hover {
    color: #a50404;
}

.top-bar {
    background-color: #16191f;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99999;
}

.top-bar-logo {
    height: 50px;
}

.top-bar-user {
    line-height: 50px;
}


/* Full minimum screen height */

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}


/* Adjustments for the sidebar */

.sidebar {
    height: calc(100vh);
    position: fixed;
    top: 50px;
    bottom: 0;
    z-index: 1000;
    padding-top: 20px;
    overflow-y: auto;
    /* Enable scrolling for sidebar content */
}


/* Dropdown Menu Styles */

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: transparent;
    /* Remove background color */
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu a {
    color: white;
    /* Set text color to white */
    text-decoration: none;
}

.container-fluid {
    padding-top: 75px;
    /* Adjust as needed based on the height of your header */
}

@media only screen and (max-width: 600px) {
    .sidebar {
        min-height: 100px !important;
        height: fit-content;
    }
    .full-height {
        padding-top: 160px;
    }
}


/*  download */

.button {
    --width: 100px;
    --height: 35px;
    --tooltip-height: 35px;
    --tooltip-width: 90px;
    --gap-between-tooltip-to-button: 18px;
    --button-color: royalblue;
    --tooltip-color: #fff;
    width: var(--width);
    height: var(--height);
    background: var(--button-color);
    position: relative;
    text-align: center;
    border-radius: 0.45em;
    font-family: "Arial";
    transition: background 0.3s;
}

.button::before {
    position: absolute;
    content: attr(data-tooltip);
    width: var(--tooltip-width);
    height: var(--tooltip-height);
    background-color: var(--tooltip-color);
    font-size: 0.9rem;
    color: #111;
    border-radius: .25em;
    line-height: var(--tooltip-height);
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
    left: calc(50% - var(--tooltip-width) / 2);
}

.button::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: var(--tooltip-color);
    left: calc(50% - 10px);
    bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.button::after,
.button::before {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-wrapper,
.text,
.icon {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: #fff;
}

.text {
    top: 0
}

.text,
.icon {
    transition: top 0.5s;
}

.icon {
    color: #fff;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 24px;
    height: 24px;
}

.button:hover {
    background: royalblue;
}

.button:hover .text {
    top: -100%;
}

.button:hover .icon {
    top: 0;
}

.button:hover:before,
.button:hover:after {
    opacity: 1;
    visibility: visible;
}

.button:hover:after {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.button:hover:before {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}


/* chat */

button {
    font-family: inherit;
    font-size: 16px;
    /* Adjust the font size as needed */
    background: royalblue;
    color: white;
    padding: 0.5em 0.8em;
    /* Adjust the padding to make the button smaller */
    padding-left: 0.7em;
    /* Adjust the left padding for alignment */
    display: flex;
    align-items: center;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

button span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
    color: white;
    /* Change the font color to white */
}

button svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

button:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
    transform: translateX(1em) rotate(45deg) scale(1.1);
    /* Adjust the translation */
}

button:hover span {
    transform: translateX(4em);
    /* Adjust the translation */
}

button:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }
    to {
        transform: translateY(-0.1em);
    }
}


/* upload */

.upload-b {
    padding: 1.3em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    color: royalblue;
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.upload-b:hover {
    background-color: royalblue;
    box-shadow: 0px 15px 20px rgba(65, 105, 225, 0.4);
    /* Adjusted box-shadow color */
    color: #fff;
    transform: translateY(-7px);
}

.upload-b:active {
    transform: translateY(-1px);
}


/* delete */

.delete-red {
    padding: 1.3em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    color: #a50404;
    /* Changed color to #a50404 */
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    /* Adjusted box-shadow color */
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.delete-red:hover {
    background-color: #a50404;
    /* Changed background color to #a50404 */
    box-shadow: 0px 15px 20px rgba(165, 4, 4, 0.4);
    /* Adjusted box-shadow color */
    color: #fff;
    transform: translateY(-7px);
}

.delete-red:active {
    transform: translateY(-1px);
}


/* submit */

.go-green {
    padding: 1.3em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    color: #008000;
    /* Change color to green */
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.go-green:hover {
    background-color: #008000;
    /* Change background color to green */
    box-shadow: 0px 15px 20px rgba(0, 128, 0, 0.4);
    /* Adjusted box-shadow color */
    color: #fff;
    transform: translateY(-7px);
}

.go-green:active {
    transform: translateY(-1px);
}

