body{
    margin: 0;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

.container {
    height: 100vh;
    width: 100vw;
    background-color: #fff;
    color: #444;
    position: relative;
}

.title-bar{
    height: 5vh;
    width: 100vw;
    background-color: #107c41;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.menu-bar {
    height: 5vh;
    width: 100vw;
    background-color: #107c41;
    display: flex;
}

.menu-bar-item {
    color: #fff;
    background-color: #107c41;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-bar-item.selected{
    background-color: #fff;
    color: #107c41;
}

.menu-bar-item:hover{
    background-color: #073d1f;
    cursor: pointer;
}

.menu-bar-item.selected:hover{
    background-color: #fff;
    cursor: default;
}

.menu-icon-bar {
    display: flex;
    align-items: center;
    height: 6vh;
}

.menu-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    height: 100%;
}

.menu-icon:hover{
    background-color: lightgray;
    cursor: pointer;
}

.menu-selector{
    height: 4.5vh;
    font-size: 1.2rem;
    margin-left: 0.7rem;
    margin-right: 0.7rem;
}

#font-family {
    width: 10vw;
    min-width: 130px;
    font-family: Noto Sans;
}

#font-size{
    width: 3.5vw;
    min-width: 55px;
}

.formula-bar{
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightgray;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#selected-cell {
    width: 120px;
    height: 70%;
}

#function-sign {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
}

#function-input {
    width: calc(100vw - 160px);
    height: 70%;
}

.formula-editor {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
}

.data-container {
    display: flex;
    height: 75vh;
    width: 100vw;
    flex-wrap: wrap;
    flex-direction: row;
}

#select-all {
    width: 25px;
    height: 25px;
    border: 1px solid lightgray;
}

#columns {
    height: 25px;
    width: calc(100vw - 25px);
    border: 1px solid lightgray;
    display: flex;
    overflow: hidden;
}

#rows{
    width: 25px;
    height: calc(75vh - 25px);
    border: 1px solid lightgray;
    overflow: hidden;
}

#cells{
    position: relative;
    height: calc(75vh - 25px);
    width: calc(100vw - 25px);
    border: 1px solid lightgray;
    overflow: scroll;
}

.column-name{
    min-width: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border-right: 0.5px solid lightgray;
}

.row-name{
    min-height: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border-bottom: 0.5px solid lightgray;
}

.cell-row {
    min-height: 25px;
    height: 25px;
    width: 100%;
    display: flex;
}

.input-cell {
    min-height: 25px;
    height: 25px;
    min-width: 100px;
    width: 100px;
    border-right: 0.5px solid lightgray;
    border-bottom: 0.5px solid lightgray;
    padding-left: 3px;
    padding-right: 3px;
    overflow: hidden;
    font-size: 14px;
    font-family: Noto Sans;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-cell.selected {
    border: 3px solid #107c41;
    outline-color: #107c41;
}

.input-cell.top-selected {
    border-top: none;
}

.input-cell.bottom-selected{
    border-bottom: 0.5px solid lightgray;
}

.input-cell.left-selected {
    border-left: none;
}

.input-cell.right-selected {
    border-right: 0.5px solid lightgray;
}

.menu-icon.selected {
    background-color: lightgray;
}

#fill-color-icon{
    border-bottom: 4px solid #fff;
    padding-bottom: 2px;
}

#text-color-icon {
    border-bottom: 4px solid #444;
    padding-bottom: 2px;
}

.sheet-bar{
    display: flex;
    height: 4vh;
    width: 100vw;
    align-items: center;
}

.sheet-scroller{
    margin-right: 5px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.scroller{
    font-size: 30px;
}

.sheet-tab-container{
    margin-right: 10px;
    display: flex;
    border-left: 0.5px solid lightgray;
    overflow: scroll;
}

.sheet-tab {
    display: flex;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    border-right: 0.5px solid lightgray;
    font-weight: 600;
}

.sheet-tab:hover{
    background-color: lightgray;
    cursor: pointer;
}

.sheet-tab.selected{
    color: #107c41;
    border-bottom: 5px solid #107c41;
    outline: none;
}

.sheet-tab.selected:hover{
    background-color: #fff;
    cursor: default;
}

.add-sheet{
    color: #107c41;
    margin-right: 10px;
}

.add-sheet:hover, .scroller:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.sheet-options-modal{
    position: absolute;
    background-color: #fff;
    padding: 15px;
    box-shadow: rgb(0 0 0 / 13%) 0px 6.4px 14.4px 0px, rgb(0 0 0 / 11%) 0px 1.2px 3.6px 0px;
    animation: 0s ease 0s 1 normal none running none;
}

.option{
    padding: 7px 15px 7px 15px;
    border-bottom: 1px solid lightgray;
}

.option:hover{
    background-color: lightgray;
    cursor: default;
}

.sheet-modal-parent{
    position: absolute; 
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    display: flex;
    justify-content: center;
    align-items: center;
}

.sheet-rename-modal , .sheet-delete-modal{
    position: absolute;
    z-index: 1;
    overflow: auto; /* Enable scroll if needed */
    background-color: #fff;
    border-radius: 2px;
    box-shadow: rgb(0 0 0 / 22%) 0px 25.6px 57.6px 0px, rgb(0 0 0 / 18%) 0px 4.8px 14.4px 0px;
    padding: 15px;
    min-width: 450px;
    min-height: 200px;
}

.sheet-modal-title {
    color: rgb(16, 124, 65);
    font-weight: 600;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    font-size: 20px;
    min-height: 20px;
    padding: 12px 32px 0px 15px;
}

.sheet-modal-input-container {
    padding: 15px;
}

.sheet-modal-detail-container{
    padding: 15px;
    display: flex;
    align-items: center;
}

.sheet-modal-input-title{
    display: block;
    margin-bottom: 5px;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgb(50, 49, 48);
}

.sheet-modal-input{
    width: 100%;
    height: 2rem;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
    
}

.sheet-modal-confirmation{
    display: flex;
    justify-content: center;
    align-items: center;
}

.button{
    border: 1px solid;
    width: 100px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ok-button, .delete-button{
    height: 32px;
    background-color: rgb(16, 124, 65);
    color: rgb(255, 255, 255);
    padding: 0px 11px;
    box-sizing: border-box;
    border: 1px solid transparent;
    text-align: center;
    cursor: default;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    min-width: 82px;
    margin-left: 180px;
}

.cancel-button{
    height: 32px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 0px 11px;
    border: 1px solid rgb(138, 136, 134);
    text-align: center;
    cursor: default;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    min-width: 82px;
    margin-left: 8px;
}

.ok-button:hover, .delete-button:hover{
    background-color: #0c6936;
}

.cancel-button:hover{
    background-color: rgb(245, 245, 245);
}

.sheet-modal-detail-title{
    margin-bottom: 5px;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgb(50, 49, 48);
}

.delete-icon{
    font-size: 20px;
    margin-right: 5px;
}

.delete-cancel-button{
    height: 32px;
    background-color: rgb(235, 235, 235);
    color: rgb(0, 0, 0);
    padding: 0px 11px;
    border: 1px solid rgb(138, 136, 134);
    text-align: center;
    cursor: default;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    min-width: 82px;
    margin-left: 8px;
}

.delete-cancel-button:hover{
    background-color: rgb(212, 212, 212);
}

.loader-parent {
    background-color: rgba(255, 255, 255, 0.5);
    flex-direction: column;
}

.loading {
    font-size: 30px;
    color: #217346;
}

.error{
    font-size: 14px;
    color: red;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sheet-tab-container::-webkit-scrollbar {
    display: none;
}
  
  /* Hide scrollbar for IE, Edge and Firefox */
.sheet-tab-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.file-modal {
    position: absolute;
    top: 0;
    left:0;
    height: 100vh;
    width: 0vw;
    display: flex;
}

.file-options-modal {
    width: 12rem;
    background-color: #217346;
    height: 100%;
    color: #fff;
}

.file-recent-modal {
    background-color: #fff;
    height: 100%;
    width: calc(50% - 12rem);
}

.close, .new, .open, .save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.close-icon, .new-icon, .save-icon, .open-icon {
    position: absolute;
    left: 2rem;
}

.close {
    margin-top: 20px;
    margin-bottom: 20px;
}

.close-icon {
    transform: rotate(90deg);
}

.close:hover, .new:hover, .save:hover, .open:hover {
    background-color: #1c683e;
    cursor: pointer;
}

.file-transparent-modal {
    width: 50%;
    height: 100%;
}