/*menu items*/
.menu-bar {
    background-color: var(--dark-blue);
    width: 100%;
    height: 64px;

    position: relative;
}

.menu-logo {
    width: 150px;
    height: 32px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;

    background-image: url("./dashboard_assets/dashboard-logo.png");
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.menu-tab {
    height: 100%;
    width: fit-content;
    color: white;

    position: absolute;
    top: 0%;
    left: calc(5% + 150px + 2%);

    cursor: pointer;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

.menu-item {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    height: 100%;
    width: fit-content;

    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item:hover {
    background-color: var(--menu-item-selected);
}

.help-button {
    position: absolute;
    right: calc(6% + 75px);
    top: 50%;
    transform: translateY(-50%);

    height: fit-content;
    color: grey;

    cursor: pointer;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    font-family: "Inter", sans-serif;
    font-weight: 500;
}

.logout-button {
    width: 75px;
    height: 32px;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5%;

    color: white;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid white;
    border-radius: 10px;

    cursor: pointer;

    font-family: "Inter", sans-serif;
    font-weight: 500;
}

/*title section*/
.title-section {
    background-color: white;
    width: 100%;
    height: 128px;

    position: relative;

    border-bottom: var(--input-border-color) 2px solid;
}

.mode-title {
    height: 100%;
    width: 15%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    background-color: white;

    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
}

.mode-title-header {
    font-size: 35px;
    color: black;

    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

.mode-title-description {
    font-size: 10px;
    color: grey;
    margin-top: 10px;
}

.upload-ratecard {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5%;
    padding: 10px;

    background-color: var(--dark-blue);
    color: white;

    border-radius: 10px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.plus-symbol {
    color: lightblue;
}

.stats {
    background-color: var(--main-background-color);
    width: 100%;
    height: 130px;

    padding-top: 20px;
    padding-bottom: 20px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.stat-card {
    height: 90%;
    width: calc(80% / 3);

    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;

    background-color: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: var(--tab-shadow);
}

.stat-number {
    font-size: 23px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
}

.stat-description {
    color: grey;
    margin-top: 10px;
}

.ratecard-container {
    background-color: white;
    width: 90%;
    height: calc(95% - var(--menu-bar-height) - var(--title-bar-height) - var(--stats-height));

    border-radius: 20px;

    box-shadow: var(--tab-shadow);
    position: relative;
}

.search-container {
    position: absolute;
    height: 44px;
    width: 451px;
    top: 20px;
    left: 20px;
    padding: 5px;
    border-radius: 6px;

    border-style: none;
    outline: none;

    box-shadow: var(--tab-shadow);

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.ratecard-search {
    height: 100%;
    width: calc(100% - 30px);
    border-style: none;
    outline: none;
}

.search-icon {
    height: 30px;
    width: 30px;
    z-index: 500;
    color: grey;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*ratecard-table*/
.ratecard-table {
    background-color: white;
    position: absolute;
    top: 80px;
    left: 0px;
    width: 100%;
    height: calc(100% - 140px);

    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;

    overflow-y:scroll;
    overflow-x:hidden;
}

.ratecard-header,
.ratecard-data {
    width: 100%;
    height: calc(100% / 11);

    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: start;

    border-top: solid 2px rgba(0, 0, 0, 0.05);

    font-family: "Inter", sans-serif;
    font-weight: 500;

    font-size: 12px;

    cursor: pointer;
}

.number-col {
    width: 5%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    color: grey;
}

.title-header {
    color: grey;
}

.title-col {
    width: 65%;
    height: 100%;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.ratecard-name {
    width: fit-content;
    height: 80%;
    padding: 5px;

    border-radius: 10px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.ratecard-data:hover .ratecard-name {
    background-color: var(--ratecard-name-background);
}

.edit-button {
    width: 15px;
    height: 15px;

    margin-right: 5px;
    margin-left: 5px;

    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

    background-image: url("./dashboard_assets/edit_icon.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    display: none;
}

.ratecard-data:hover .edit-button {
    display: block;
}

.button-container {
    width: fit-content;
    height: 80%;

    margin-left: 10px;
    padding-left:5px;
    padding-right:5px;

    background-color: white;
    border-radius: 10px;

    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 2px;
    opacity: 0;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.button-container:hover {
    opacity: 1;
}

.ratecard-data:hover .button-container {
    opacity: 1;
}

.delete-button {
    width: 30px;
    height: 20px;

    background-image: url("./dashboard_assets/delete_icon.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    border-right: solid rgba(0, 0, 0, 0.2) 1.5px;
    background-color: white;
}

.download-csv{
    width: 40px;
    height: 20px;

    padding-left:5px;
    padding-right:5px;
    display:flex;
    align-items: center;
    justify-content: center;

    /*background-image: url("./dashboard_assets/download_icon.png");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    background-color: white;
}

.download-xlsx{
    width: 40px;
    height: 20px;

    padding-left:5px;
    padding-right:5px;
    display:flex;
    align-items: center;
    justify-content: center;

    /*background-image: url("./dashboard_assets/download_icon.png");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    background-color: white;
}

.upload-vmt{
    width: 95px;
    height: 20px;

    padding-left:2px;
    padding-right:2px;
    display:flex;
    align-items: center;
    justify-content: center;

    border-left: solid rgba(0, 0, 0, 0.2) 1.5px;

    /*background-image: url("./dashboard_assets/download_icon.png");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    background-color: white;
}

.download-vmt{
    width: 95px;
    height: 20px;

    padding-left:2px;
    padding-right:2px;
    display:flex;
    align-items: center;
    justify-content: center;

    /*background-image: url("./dashboard_assets/download_icon.png");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    background-color: white;
}

.hover-effect:hover{
    background-color: lightgrey;
    border-radius:5px;
}

.data-col {
    width: 10%;
    height: 100%;

    padding-left: 10px;

    display: flex;
    align-items: center;
    color: grey;
}

.date-col {
    width: 20%;
    height: 100%;

    padding-left: 10px;

    display: flex;
    flex-direction: row;
    align-items: center;
    color: grey;
}

.clock-time {
    color: rgba(50, 50, 50, 0.4);
    margin-left: 5px;
}

.last-row {
    border-bottom: solid 2px rgba(0, 0, 0, 0.05);
}

.footer-section {
    position: absolute;
    bottom: 20px;
    left: 20px;
    height: 5%;
    width: calc(100% - 40px);

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.pagination-list {
    height: 40px;
    width: 273px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    font-size: 15px;
}

.pagination-link {
    color: grey;
    cursor: pointer;
}

.pagination-link:hover {
    color: black;
}

.page-active {
    color: black;
}