/* Base styles for the app */
.app-title {
    margin: 0px;
    font-size: 1.0em;
    color: white;
    background-color: #4f337b;
    text-align: center;
    padding: 3px;
    width: 110%;
    margin-left: -30px;
    padding-bottom: 7px;
}

#app {
    animation: none;
    max-width: 450px;
    /* Default to full width */
    margin: 0 auto;
    /* Center the content */
    color: #6b6a6a;
    font-family: Calibri;
}

/* Styles for larger screens */
@media (min-width: 768px) {
    #app {}
}

@media (min-width: 1024px) {
    #app {}
}

.bullet::before {
    content: '• ';
    margin-right: 5px;
    color: #b1adad;
}

.home-screen-logo {
    margin-top: 20px;
    max-width: 75%;
}

.main-login {
    max-width: 50%;
    margin-top: 75%;
    padding-left: 25%;
}

.login-button {
    width: 98%;
    background-color: #643389;
    color: white;
    height: 40px;
    margin-top: 30px;
}

.empty-screen {
    text-align: center;
    font-size: 1.5em;
    padding-top: -30%;
}

.details-row {
    position: relative;
    margin-top: -8px;
}

/* General styles for the body */
body {
    font-family: Calibri;
    /* Set the font for the entire document */
    padding: 0px;
    /* Add padding to the body */
    font-size: 1.25em;
    background: #454545;
}

h4 {
    margin-bottom: 0;
    margin-top: 6px;
    padding-bottom: 0;
    color: #888888;
}

/* Styles for forms */
form {
    margin-top: 10px;
    /* Add a margin at the top of the form */
    background-color: #f4f4f4;
    /* Light gray background for the form */
    padding: 10px;
    /* Padding inside the form */
    border-radius: 8px;
    /* Rounded corners for the form */
    /* z-index: 999; */
    min-height: 40px;
}

/* styles for button elements */
button {
    margin-bottom: 10px;
    /* Space between input/button elements */
    width: 100%;
    /* Full width minus padding */
    padding: 7px;
    /* Padding inside the input/button */
}

label {
    font-size: 0.8em;
}

input {
    margin-bottom: 6px;
    /* Space between input/button elements */
    width: calc(100% - 14px);
    border: 1pt solid #e7e4e4;
    padding: 4px;
    background-color: #eeeeee;
}

/* for contact new/edit form */
.contact-input {
    padding: 5px;
    font-size: 0.8em;
}

/* Specific styles for button elements */
button {
    background-color: #4f337b;
    /* Green background */
    color: #fbf6f6;
    /* White text */
    border: none;
    /* No border */
    border-radius: 4px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    font-size: 12pt;
}

/* Hover effect for buttons */
button:hover {
    background-color: #bcbbbb;
}

/* Specific styles for the logout button */
.logout-button {
    margin-top: 10px;
    background-color: lightgrey;
    /* White background */
    color: #4f337b;
    /* Gray text */
    border: 1px solid #d3d3d3;
    /* Light gray border */
}

/* Hover effect for the logout button */
.logout-button:hover {
    background-color: #e7e7e7;
    /* Light gray background on hover */
}

/* Styles for search results */
.search-results {
    font-size: 0.8em;
    /* Smaller font size */
    list-style-type: none;
    /* Remove bullets */
    padding-left: 2px;
    /* Remove left padding */
    color: #737373;
    /* Gray text */
    overflow-y: auto;
    /* Vertical scroll */
    position: relative;
    margin-top: -12px;
    max-height: 9vh;
    /* border: 1pt solid green; */
}

.highlight-match {
    background-color: #dccdef;
}

/* Ensure links in the details section look appropriate */
.details-select a {
    color: rgb(127 127 203);
    cursor: pointer;
    font-weight: 400;
    text-decoration: none;
}

/* Styles for individual search result items */
.search-results li {
    list-style-type: none;
    /* Remove bullets */
    white-space: nowrap;
    /* Prevents wrapping */
    overflow: hidden;
    /* Ensures content is clipped */
    text-overflow: ellipsis;
    /* Adds ellipses at the end */
    padding: 0px 0;
    /* Adds some padding for better spacing */
    width: 88%;
    font-size: 0.96em;
    /* Adjusts the font size */
    padding-left: 3px;
    font-style: italic;
    cursor: pointer;
}

/* Styles for the search container */
.search-container {
    display: flex;
    /* Flexbox layout */
    align-items: center;
    /* Center items vertically */
}

/* Styles for a selected search result  */
.selected-item {
    background-color: #c1acda;
    color: black;
    font-weight: 400;
}

/* Styles for the search input */
.search-input {
    flex-grow: 1;
    /* Expand to fill available space */
    margin-right: 8px;
    /* Space to the right */
    font-size: 0.9em;
    padding: 5px;
    border: 1pt solid #a9a7a7;
    color: #999999;
}

/* Shared styles for clear and add buttons */
.clear-button,
.add-button {
    width: 40px;
    /* Fixed width */
    height: 33px;
    /* Fixed height */
    margin-left: 3px;
    /* Space to the left */
    display: flex;
    /* Flexbox layout */
    align-items: center;
    /* Center items vertically */
    justify-content: center;
    /* Center items horizontally */
    border: 1pt solid #bbb8b8;
}

/* Styles for the dialog overlay */
.dialog-overlay {
    position: fixed;
    /* Fixed position */
    top: 0;
    /* Align to the top */
    left: 0;
    /* Align to the left */
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    display: flex;
    /* Flexbox layout */
    align-items: center;
    /* Center items vertically */
    justify-content: center;
    /* Center items horizontally */
}

/* Styles for the dialog box */
.dialog {
    background: white;
    /* White background */
    padding: 20px;
    /* Padding inside the dialog */
    border-radius: 10px;
    /* Rounded corners */
    max-width: 330px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Shadow effect */
}

/* Styles for dialog buttons */
.dialog-buttons {
    margin-top: 20px;
    /* Space at the top */
    display: flex;
    /* Flexbox layout */
    justify-content: flex-end;
    /* Align buttons to the right */
}

/* spacing for buttons */
.dialog-buttons button {
    margin: 5px;
}

/* syles for select boxes */
select {
    border: 1pt solid lightgrey;
    padding: 4px;
    margin-top: 4px;
}

/* syles for select boxes */
select option {
    padding-top: 5px;
}

.details-select {
    overflow-y: auto;
    font-size: 0.8em;
    max-height: 147px;
    margin-left: 0px;
    max-width: 95%;
    padding: 2px;
}

/* Style for child divs within details select */
.details-select>div {
    font-size: 0.85em;
    padding: 1px;
    cursor: pointer;
    /* Prevent text from wrapping */
    overflow: hidden;
    /* Hide overflow content */
}

/* syles for phone select */
.details-select.phone-select {
    width: 100%;
}

.details-select.phone-select option {
    display: block;
}

.details-select.phone-select:empty {
    max-height: none;
}

/* syles for address select */
.details-select.address-select {
    width: 100%
}

/* syles for org select */
.details-select.org-select {
    width: 100%;
}

/* Specific select elements for better control if needed */
.phone-select,
.address-select,
.org-select,
.full-width-select {
    overflow-y: auto;
    word-wrap: none;
    scrollbar-width: thin;
    box-sizing: border-box;
}

/* styles for edit button */
.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #cbcaca;
    font-size: 1em;
    margin-left: 10px;
    position: absolute;
    right: 10px;
    width: 30px;
    margin-top: -10px;
}

.edit-button.phone {
    font-size: 0.9em;
    padding-right: 0;
    top: 0px;
    position: relative;
    height: 1.0em;
}

.edit-button:hover {
    color: #737373;
}

.edit-button i {
    pointer-events: none;
}

.phone-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    /* Adjust as needed */
}

.phone-row input {
    padding: 5px;
    font-size: 0.85em;
}

.phone-row label {
    margin-right: 10px;
    /* Adjust as needed */
}

/* Style for the remove button */
.remove-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #FF0000;
    font-size: 1em;
    padding: 0;
    margin-top: 12px;
    margin-left: 10px;
    width: 20px;
    vertical-align: middle;
}

/* Ensure the icon inside the button is properly sized */
.remove-button i {
    font-size: 1em;
    color: #8a8a8a
}

/* Style for the add button */
.add-button {
    background: lightgrey;
    border: none;
    cursor: pointer;
    color: #4f337b;
    /* Green color */
    font-size: 1.4em;
    /* Adjust size as needed */
    padding: 0;
    vertical-align: middle;
}

/* Ensure the icon inside the button is properly sized */
.add-button i {
    font-size: 1.5em;
    /* Match this size with the plus icon */
}

/* Styles for email/social handles */
.email-social-select {
    max-height: 200px;
    overflow-y: hidden;
}

.email-social-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.email-social-row label {
    margin-right: 1px;
    flex: 1;
}

.email-social-row .remove-button {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
}

.email-social-row input {
    padding: 1px;
}

/* =====================================  */
/* Styles for email/social handle editing */
/* =====================================  */
.email-social-dialog .dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.email-social-dialog .dialog {
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 330px;
    max-width: 90%;
}

.email-social-dialog .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-social-dialog .email-socials-list {
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 5px;
    padding: 5px;
    min-height: 15px;
    font-size: 0.8em;
    border: 1pt solid lightgrey;
}

.email-social-dialog .email-socials-list div {
    cursor: pointer;
}

.email-social-dialog .email-socials-list .selected {
    background-color: lightgrey;
}

.email-social-dialog .email-social-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.email-social-dialog .email-social-actions .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: green;
    margin-right: 10px;
    font-size: 1em;
}

.email-social-dialog .email-social-actions .remove-button {
    background: none;
    border: none;
    cursor: pointer;
    color: red;
    font-size: 1em;
}

.email-social-dialog .email-social-inputs label {
    display: block;
}

.email-social-dialog .dialog-buttons {
    display: flex;
    /* justify-content: space-evenly; */
    /* gap: 10px; */
    margin-top: 10px;
    font-size: 0.8em;
}

.email-social-dialog .add-button,
.email-social-dialog .edit-button,
.email-social-dialog .remove-button {
    background: none;
    border: none;
    cursor: pointer;
}

.email-social-dialog .add-button {
    color: rgb(150, 38, 168);
}

.email-social-inputs {
    background: #efefef;
    padding: 8px;

}

.email-social-inputs input {
    font-size: 0.9em;
    border: 1pt solid #dedede;
}

/* put styles for address dialog here */
.address-dialog .dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.address-dialog .dialog {
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 330px;
    max-width: 98%;
}

.address-dialog .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-dialog .address-list {
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
}

.address-dialog .address-list div {
    cursor: pointer;
}

.address-dialog .address-list .selected {
    background-color: lightgrey;
}

.address-dialog .address-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.address-dialog .address-actions .edit-button {
    background: none;
    border: none;
    cursor: pointer;
    color: green;
    margin-right: 10px;
    font-size: 1em;
}

.address-dialog .address-actions .remove-button {
    background: none;
    border: none;
    cursor: pointer;
    color: red;
    font-size: 1em;
}

.address-dialog .address-inputs label {
    display: block;
    margin: 10px 0;
}

.address-dialog .dialog-buttons {
    display: flex;
    justify-content: flex-end;
    /* gap: 10px; */
    margin-top: 10px;
}

.selected {
    background-color: lightgrey;
}

.existing-address {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
}

.existing-address .remove-button {
    background: none;
    border: none;
    cursor: pointer;
    color: red;
}

.new-address-form {
    display: flex;
    flex-direction: column;
    /* margin-top: -111px; */
    max-height: 318px;
    overflow-y: scroll;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row label {
    width: 150px;
    text-align: left;
    font-size: 0.9em;
}

.form-row input {
    flex: 1;
}

.address-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.address-actions .edit-button,
.address-actions .remove-button {
    background: none;
    border: none;
    cursor: pointer;
}

/* New styles for organization dialog at the bottom of styles.css */

.dialog-overlay.org-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog.org-dialog {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 330px;
    max-width: 98%;
    max-height: 75%;
    overflow-y: auto;
    scrollbar-width: thin;
}

.dialog.org-dialog .dialog-buttons {
    display: flex;
    justify-content: rifht;
}

.dialog.org-dialog .dialog-buttons button {
    /* padding: 10px 20px; */
    margin: 10px;
}

.existing-orgs {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    font-size: 0.9em;
    border: 1pt solid lightgrey;
    padding: 3px;
    min-height: 20px;
}

.existing-org {
    cursor: pointer;
}

.existing-org.selected {
    background-color: #e0e0e0;
}

.org-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.org-actions .remove-button {
    margin-left: 5px;
}

.org-search-results {
    max-height: 185px;
    overflow-y: auto;
    /* margin-bottom: 10px; */
    font-size: 0.75em;
    margin-top: 0;
}

.org-action-button {
    margin: 5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.org-action-button:hover {
    background-color: #0056b3;
}

.org-action-buttons {
    display: flex;

    /* Adjust gap as needed */

    /* Adjust margin as needed */
    align-content: flex-end;
    justify-content: flex-start;
    /* margin-left: -5px; */
    margin-top: 5px;
}

.org-action-button {
    flex: 1;
    /* Ensure buttons take equal space */
    background-color: #4f337b;
    /* Green background */
    color: white;
    /* White text color */
    border: none;
    /* Remove border */
    border-radius: 4px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    text-align: center;
    /* Center text */
    max-width: 50%;
    /* padding: 10px; */
}

.org-action-button:hover {
    background-color: #643389;
    /* Darker green on hover */
}

.search-results-container {
    max-height: 328px;
    overflow-y: auto;
    /* background: #f3f1f1; */
    padding: 5px;
}

.fixed-height {
    /* height: 100%; */
}

/* New styles for relationships dialog */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 330px;
    width: 98%;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.dialog-buttons button {
    margin-left: 10px;
}

.new-relationship-form {
    display: flex;
    flex-direction: column;
}

.new-relationship-form label {
    margin-top: 10px;
}

.new-relationship-form input,
.new-relationship-form select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 92vh;
    /* padding-top: 15px; */
    overflow-y: auto;
}

.content-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: #f5f5f5;
    overflow-x: hidden;
    /* border:  1pt solid grey; */
}

.logout-button {
    align-self: flex-end;
}

tyles */

/* Notes styles */
/* Main container hidden when notes panel is visible */
.hidden {
    display: none;
}

.notes-panel {
    position: fixed;
    right: 8px;
    top: 38px;
    width: 330px;
    background: #e0d9e7;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    /* border-radius: 8px; */
    border-top-left-radius: 8px;
    /* border-top-right-radius: 0; */
    /* border-bottom-right-radius: 0px; */
    border-bottom-left-radius: 8px;
    border: 1pt solid #4f337b2e;
    /* max-height: 97.5vh; */
    height: 87.5vh;
}

.search-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.search-input {
    flex: 1;
    padding: 5px;
    margin-right: 5px;
    width: 225px;
    border-radius: 4px;
}

.add-button {
    padding: 5px 10px;
}

.notes-container {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    max-height: 80vh;
}

.note-card {
    border: 1px solid #ddd;
    margin-bottom: 6px;
    width: 98%;
    box-sizing: border-box;
    background: #ffffff;
    font-size: 0.7em;
    white-space: nowrap;
    overflow-x: auto;
    border: 2pt solid #cecad3;
    border-top-width: 0;
}

.note-title-bar {
    background: #b5a4cf;
    padding: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* border: 3pt solid #bcaed3; */
}

.note-body {
    /* margin-top: 5px; */
    padding: 5px;
    white-space: normal;
}

.no-notes-message {
    text-align: center;
    color: #777;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.notes-dialog {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 330px;
    max-width: 100%;
}

.note-textarea {
    width: 100%;
    height: 100px;
    margin-top: 10px;
}

.dialog-buttons {
    display: flex;
    justify-content: stretch;
    margin-top: 10px;
    /* margin-right: 34px; */
}

.delete-button {
    background-color: #8f8989;
    color: white;
    margin-left: auto;
}

.note-button {
    width: 15px;
    padding: 0px;
    margin: -5px;
    background: #b5a4cf;
    /* color: grey; */
}

/* Note footer styles */
.note-footer {
    margin-top: 5px;
    font-size: 0.7em;
    text-align: right;
    margin-right: 3px;
    margin-bottom: 2px;
    color: darkgrey;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.notes-contact {
    font-size: 0.8em;
    text-align: left;
    width: 100%;
    margin-bottom: 4px;
    color: #676565;
    margin-top: -15px;
}

.logout-button {
    flex-grow: 1;
    background-color: lightgrey;
    border: 1pt solid #bbb8b8;
    padding: 10px;
    cursor: pointer;
    text-align: center;
}

.chevron-left {
    background-color: lightgrey;
    color: #7a337b;
    border: 1pt solid #bbb8b8;
    padding: 10px;
    cursor: pointer;
    margin-left: 10px;
    width: 30px;
    text-align: center;
    margin-top: 10px;
    height: 35px;
}

.chevron-right {
    background-color: rgb(211 211 211);
    color: #4f337b;
    width: 30px;
    font-weight: 600;
    margin-right: 3px;
    border: 1pt solid #a9a7a7;
    height: 33px;
    font-size: 1.0e;
}

.dialing-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialing-dialog {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phone-actions {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.phone-actions button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.phone-actions button i {
    font-size: 24px;
    margin-right: 8px;
}

.dialog-buttons button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    width: 50%;
}

.org-dialog-buttons button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
}

.phone-buttons {
    background-color: #6963632e;
    color: #4f4d4d;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 30%;
    font-size: 0.8em;
    padding: 4px;
    margin: 2px;
}

.map-links {
    text-decoration: none;
}

.hanging-indent {
    padding-left: 15px;
    /* Indent the entire block */
    text-indent: -15px;
    /* Pull the first line back to the left */
    /* margin-bottom: 10px; */
    /* Add some space between items */
    padding-right: 3px;
}

.org-search-item {
    padding-top: 0;
    margin-top: -1px;
    padding-left: 3px;
}

.phone-action-dialog-buttons {
    width: 100%;
}

.address-search-results {
    max-height: 120px;
    font-size: 0.8em;
    overflow-y: auto;
}

.relationship-dialog-select {
    border: 1pt solid lightgrey;
    min-height: 30px;
}

.existing-addresses {
    border: 1pt solid lightgrey;
    padding: 3px;
    min-height: 20px;
}

.selected-contact {
    font-size: 0.7em;
    margin-bottom: 25px;
    margin-top: -5px;
    white-space: nowrap;
    overflow-x: hidden;
    width: 90%;
    background: #c1acda;
    color: black;
}

.start-subtext {
    font-size: 0.8em;
}

.hidden-item {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 80%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.overlay-content {
    /* background: white; */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: -15%;
}

ul.hanging-indent {
    list-style: none;
    padding-left: 1em;
    text-indent: 0em;
}

ul.hanging-indent li {
    margin-bottom: 1em;
    padding-left: 1em;
    position: relative;
}

ul.hanging-indent li::before {
    content: "• ";
    position: absolute;
    left: 0;
}

.debug-message {
    font-size: 0.5em;
    color: lightgreen;
    padding-bottom: 5px;
}

.nothing-found-message {
    padding: 0;
    margin-top: -15px;
}

.item-not-found {
    margin-top: 5px;
    padding-left: 3px;
    background: darkgrey;
    padding: 5px;
    text-align: center;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    margin-bottom: 8px;
}

.existing-title {
    font-size: 0.7em;
    margin-bottom: 3px;
}

/* Tags container */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 0;
    gap: 8px;
    max-height: 60px;
    /* Set a fixed height */
    overflow-y: auto;
    /* Enable vertical scrolling */
    /* border: 1px solid #ddd; */
    /* Optional: Add a border for better visual separation */
    border-radius: 4px;
    /* Optional: Add border radius */
    max-width: 94%;
    padding-left: 4px;
    padding-bottom: 10px;
    margin-top: 4px;
    scrollbar-width: thin;
}

/* Individual tag button */
.tag-button {
    display: flex;
    align-items: center;
    background-color: #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    padding-left: 6px;
    padding-top: 0;
    padding-bottom: 0;
    height: 27px;
    white-space: nowrap;
}

.tag-button span {
    font-size: 14px;
    color: #333;
}

/* Tag menu (dropdown) */
.tag-menu {
    display: block;
    position: absolute;
    top: 100px;
    left: 10px;
    background-color: #e7e5e5;
    border: 1px solid #bfbcbc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 114px;
}

/* Show menu when it should be visible */
.tag-menu-active {
    display: block;
}

.tag-menu button {
    display: block;
    width: 80%;
    padding: 6px 4px;
    margin-left: 10px;
    margin-top: 11px;
    /* background: none; */
    border: none;
    cursor: pointer;
    color: white;
    font-size: 9pt;
}

.tag-menu button:hover {
    background-color: #f0f0f0;
}

/* Show menu on hover */
.tag-button:hover .tag-menu {
    display: block;
}

/* Tag input field */
.tags-container-below {
    border: 1px solid #c3bfbf;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 12px;
    outline: none;
    width: 90%
}

.tags-container input[type="text"]:focus {
    border-color: #666;
}

/* Edit button for tags */
.edit-button {
    background: none;
    border: none;
    cursor: pointer;
}

.edit-button i {
    font-size: 16px;
    color: #cbcbcb;
}

.tag-menu-open {
    /* height: 12px; */
    color: #c1bfbf;
    margin-left: 5px;
    margin-top: 8px;
    margin-right: 6px;
    background: none;
    padding: 3px;
}

/* Tag suggestions */
.tag-suggestions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 5px 0;
    gap: 8px;
    margin-top: -6px;
}

.tag-suggestion {
    background-color: #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    padding-left: 10px;
    padding-top: 5px;
    padding-right: 12px;
    padding-bottom: 0;
    height: 23px;
    white-space: nowrap;
    font-size: 10pt;
    color: black;
}

.tag-suggestion:hover {
    background-color: #e0e0e0;
}

.tag-list {
    max-height: 55px;
    overflow-y: auto;
}

.bulk-operations {
    width: 314px;
    background-color: #4f337b;
    color: white;
    padding: 5px;
    font-size: 12pt;
    text-align: center;
    margin-left: 6px;
}

.list-operations-container {
    margin-left: 20px;
    margin-top: 8px;
}

.bulk-text-message {
    margin-top: 10px;
    width: 85%;
    height: 150px;
    border-radius: 5px;
}

.send-text-button {
    width: 40%;
    margin-top: 9px;
    color: white;
    background-color: #4f337b;
    padding: 5px;
}

.action-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-list button {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #c1acda;
    cursor: pointer;
}

.action-list button:hover {
    background-color: #e0e0e0;
}

.action-list p {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 12pt;
}