/* Modal container */
.Modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 111119999; /* Ensure it is on top of all other elements */
    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 */
}

/* Modal content box */
.Modal-content {
    background-color: #fefefe;
    margin: 100px auto; /* Center horizontally with margin */
    padding: 20px;
    border: 1px solid #888;
    height: calc(100% - 300px); /* Full height minus top and bottom margins */
    width: calc(100% - 300px); /* Full width minus left and right margins */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    display: flex;
    flex-direction: row;
}

/* Close button */
.Modal-close {
    color: #aaa;
    font-size: x-large;
    font-weight: bold;
    align-self: flex-start;
    margin-left: auto;
}

.Modal-close:hover,
.Modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Tabs container */
.Modal-tabs-container {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Tabs styling */
.Modal-tabs {
    flex: 0 0 200px; /* Fixed width for tabs */
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ccc;
    overflow-y: auto; /* Scroll if needed */
}

.Modal-tabs button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: larger;
    text-align: left;
    width: 100%;
}

.Modal-tabs button:hover {
    background-color: #ddd;
}

.Modal-tabs button.Modal-active {
    background-color: #ccc;
}

/* Tab content container */
.Modal-tabcontent-container {
    flex: 1;
    padding: 20px;
    overflow-y: auto; /* Scroll if needed */
}

/* Tab content */
.Modal-tabcontent {
    display:none;
    padding: 20px;
    border-top: none;
    overflow-y: auto;
    flex-direction: column;
    height: 100%;
    gap: 5px;
}

.SpeechBox {
    width: fit-content;
    display: flex;
    gap: 4px;
    flex-direction: column;
   
  }
  .IndividualSpeech{
    border-radius: 10px;
    background-color: beige;
    padding: 10px;
  }
  .theName{
    font-weight: bold;
    font-size: large;
    font-variant: small-caps;
  }
  .centerElements{
    padding: 10px;
    text-align: center;
  }

  #ModalContentContainer{
    height: 100%;
    overflow:auto;
    padding: 10px;
  }