.main-tile-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px 0 #00000019;
    max-width: 500px;
    margin: auto; /* This centres the box along with the padding */
}

.profile-tile-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px 0 #00000019;
    max-width: 750px;
    margin: auto; /* This centres the box along with the padding */
}

.align-with-profile-tile {
    max-width: 750px;
    margin: auto;
}
.modal-container {
    width: 90%;
    max-width: 600px;
    min-height: 400px;
    margin: auto;
    align-content: start;
    background-color: #fff;
}

body {
    background-color: #D9D9D9;
}
label {
    color: #959595;
}

.navbar-browse-button {
    background: white;
    color: black;
    width: 190px;
    box-shadow: 2px 3px 3px 0 rgba(0,0,0,0.5);
}
.navbar-browse-button:hover {
    background: #b3b3b3;
}

.navbar-button {
    background: white;
    color: black;
    width: 130px;
    box-shadow: 2px 3px 3px 0 rgba(0,0,0,0.5);
}
.navbar-button:hover {
    background: #b3b3b3;
}

.navbar-button:focus,
.navbar-browse-button:focus {
    outline: none;
    background-color: #c1c1c1;
    border: 0.5px solid #0b5dd8;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.4);
}

/* Hides the dropdown arrows from navbar buttons */
.navbar-button.dropdown-toggle::after {
    display: none;
}

.navbar-button.dropdown-toggle::before {
    display: none;
}

/* navbar dropdown buttons */
.navbar-dropdown-button {
    min-width: 45px;
    width: 45px;
    height: 35px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-dropdown-button img {
    width: 14px;
    height: 14px;
}

/* Make dropdown buttons bigger on larger screens */
@media (min-width: 768px) {
    .navbar-dropdown-button {
        min-width: 60px;
        width: 60px;
        height: 45px;
        padding: 5px;
    }

    .navbar-dropdown-button img {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 1200px) {
    .navbar-dropdown-button {
        min-width: 80px;
        width: 80px;
        height: 50px;
        padding: 8px;
    }

    .navbar-dropdown-button img {
        width: 22px;
        height: 22px;
    }
}

/* Responsive navbar homehelper text */
.navbar-brand-responsive {
    color: #FFFFFF !important;
    font-weight: bold;
    text-decoration: none;
}

/* Stream card responsive layout */
.stream-card {
    margin-bottom: 1rem;
    max-width: 247px;
}

/* Stream cards responsive grid - one row only */
.stream-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.stream-row .stream-card {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding-bottom: 0.5rem;
}

/* Mobile: 1 stream visible */
@media (max-width: 768px) {
    .profile-page-tab-header {
        font-size: 13px;
        padding: 10px 10px 10px 10px; /*Manual padding to fit tabs on one line*/
    }
    .stream-row .stream-card {
        margin: 0 auto;
        width: calc(100% - 1rem);
    }
    .stream-row .stream-card:nth-child(n+2) {
        display: none;
    }
    .btn.btn-outline-secondary.btn-sm.d-block.d-lg-none,
    .btn.btn-outline-secondary.btn-sm.d-block.d-xl-none {
        padding: 4px 8px;
        font-size: 0.8rem;
        min-width: 0;
        width: auto;
        line-height: 1.1;
    }
    .genre-title.card-title {
        font-size: 1.3rem;
        margin-right: 8px;
    }
    .stream-grid {
        grid-template-columns: 1fr !important;
        justify-items: center;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }
}

/*  Small: 2 streams visible */
@media (min-width: 576px) and (max-width: 767px) {
    .stream-row .stream-card {
        width: calc(50% - 0.5rem);
    }
    .stream-row .stream-card:nth-child(n+3) {
        display: none;
    }
}

/* Medium: 3 streams visible */
@media (min-width: 768px) and (max-width: 991px) {
    .stream-row .stream-card {
        width: calc(33.333% - 0.67rem);
    }
    .stream-row .stream-card:nth-child(n+4) {
        display: none;
    }
}

/* Large: 4 streams visible */
@media (min-width: 992px) and (max-width: 1199px) {
    .stream-row .stream-card {
        width: calc(25% - 0.75rem);
    }
    .stream-row .stream-card:nth-child(n+5) {
        display: none;
    }
}

/* Extra large: 5 streams visible */
@media (min-width: 1200px) {
    .stream-row .stream-card {
        width: calc(20% - 0.8rem);
    }
    .stream-row .stream-card:nth-child(n+6) {
        display: none;
    }
}

/* This little dropdown did NOT go offscreen */
.dropdown-menu {
    right: 0 !important;
    left: auto !important;
}

#filter-dropdown-menu.show {
    white-space: nowrap;
    min-width: max-content;
}

/* Hover for dropdown menu items */
.dropdown-item:hover {
    background-color: #dcdcdc;
    color: #7D1D25;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:focus {
    background-color: #dcdcdc;
    color: #7D1D25;
    outline: none;
}

.dropdown-item:active {
    background-color: #7D1D25;
    color: white;
}


/* responsive sizing for the homehelper text */
@media (min-width: 768px) {
    .navbar-brand-responsive {
        font-size: x-large;
    }
}

@media (max-width: 767px) {
    .navbar-brand-responsive {
        font-size: large;
    }
}

@media (max-width: 480px) {
    .navbar-brand-responsive {
        font-size: medium;
    }
}

@media (max-width: 360px) {
    .navbar-brand-responsive {
        font-size: small;
    }
}

.search-button:hover {
    opacity: 0.8;
}

.close-search-button:hover {
    opacity: 0.8;
}

#searchButton:focus {
    outline: none;
    background-color: #c1c1c1;
    border: 0.5px solid #0b5dd8;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.4);
}

.submission-button {
    min-width: 80px;
    background: #7D1D25;
    border: none;
    box-shadow: 2px 3px 3px 0 rgba(0,0,0,0.5);
    color: white;
}
.submission-button:hover {
    background: #671920;
    color: white;
}

.page-title {
    color: #000000;
    font-size: 36px;
}

.back-button {
    min-width: 80px;
    background: #7D1D25;
    border: none;
    color: white;
    font-size: 15px;
}

.back-button:hover {
    background: #671920;
    color: white;
}

.secondary-button {
    min-width: 80px;
    background-color: #6c757d;
    border: none;
    box-shadow: 2px 3px 3px 0 rgba(0,0,0,0.5);
    color: white
}
.secondary-button:hover {
    background: #5a6167;
    color: white;
}


.modal-submission-button {
    min-width: 40px;
    background: #7D1D25;
    border: none;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 2px 3px 3px 0 rgba(0,0,0,0.5);
    color: white;
}
.modal-submission-button:hover {
    background: #671920;
    color: white;
}
.modal-secondary-button {
    min-width: 40px;
    background-color: #6c757d;
    display: inline-block;
    white-space: nowrap;
    border: none;
    box-shadow: 2px 3px 3px 0 rgba(0,0,0,0.5);
    color: white
}
.modal-secondary-button:hover {
    background: #5a6167;
    color: white;
}



.headerLink {
    text-decoration: none;
    color: inherit;
}
.custom-is-invalid { /* Like bootstraps but without the symbol */
    border-color: #dc3545;
    padding-right: 0.75rem;
    background: none;
    box-shadow: none !important; /* Remove the default Bootstrap shadow for tag input*/
}

/* Alternate styles for renovation records (gho74) */
.label-alternate {
    /* For renovation record forms (dark grey) */
    color: #808080 ;
    font-weight: bold;
}
.label-alternate2 {
    /* For renovation record forms (light grey) */
    color: #959595 ;
    font-weight: bold;
}
.myRenovationsTitle {
    margin-bottom: 12px;
}

 .ListOfRooms {
     vertical-align: top;
     display: flex;
     gap: 5px;
     width: 100%;
 }
#listofrooms {
    vertical-align: top;
    width: 97%;
    height: 100%;

}

#addRoom {
    align-items: center;
    vertical-align: top;
    width: 10%;
    height: 100%;
}

/** Used by javascript to make x red on room deletion*/
.close {
    padding: 3px 5px 3px 5px;
}

.close:hover {
    background-color: #f44336;
    color: white;
}

.delete-button {
    min-width: 80px;
    background: #ff0000;
    border: none;
    box-shadow: 2px 3px 3px 0 rgba(0,0,0,0.5);
    color: #ffffff;
}
.delete-button:hover {
    background: #c8001b;
    color: white;
}

/* Style for table padding */
.renovationDescription {
    width: 60%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    vertical-align: center;
}
.renovationName{
    width: 15%;
    vertical-align: center;
}
.renovationRooms{
    width: 20%;
    align-content: center;
    vertical-align: center;
}
.editButton{
    width: 5%;
    vertical-align: center;
}
.delButton{
    width: 5%;
    vertical-align: center;
    margin-right: 10px;
}
.header{
    align-content: center;
}

/* Basic table styling */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    text-align: left;
}

.styled-table thead {
    background-color: #333;
    color: white;
}

.styled-table th, .styled-table td {
    border: 1px solid #ddd;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.summary-bar {
    cursor: pointer;
    padding: 10px;
    background: #671920;
    border: 1px solid #aaa;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-picture {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.triangle-delete {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-color: #dc3545;
    clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
    text-indent: -9999px;
    z-index: 2; /*Ensure button is on top of the stretched card with <a> */
}

.triangle-delete:hover {
    border-top-color: #bb2d3b; /* Darker red on hover */
    border-right-color: #bb2d3b;
}

.triangle-delete:active {
    border-top-color: #a62733; /* Darker red on hover */
    border-right-color: #a62733;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.triangle-text {
    position: absolute;
    color: white;
    top: 0;
    right: 10px;
    pointer-events: none;
    z-index: 3; /*Ensure element is positioned above triangle delete button*/
}

.suggestion-active {
    background-color: #bde4ff;
}

.transparent-plus-btn {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 40px;
    height:40px;
    font-weight: bold;
    font-size: 20px;
    opacity: 0.65;
    border-radius: 50%;
    border: 3px solid black;
    background-image: url('../images/Plus_icon.png');
    background-size: contain;
    padding: 0;
    transition: background 0.2s;
}

.transparent-plus-btn:focus {
    outline: none;
    border: 3px solid #0b5dd8;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.4);
    border-radius: 50%;
}

.plus-btn {
    margin-top: 16px;
    height: 30px;
    width: 30px;
    background-image: url('../images/white-plus-lg.svg');
    background-size: 70%; /* Scales down the icon to 50% of the button size */
    background-repeat: no-repeat; /* Ensures the image doesn't repeat */
    background-position: center; /* Centers the icon within the button */
}

.transparent-plus-btn:hover{
    opacity: 0.8;
}

.tag-input-wrapper {
    display: flex;
    margin-top: 0;
    margin-bottom: 0;
}

.tag-input-fullscreen {
    margin-top: 16px;
    margin-right: 16px;
    width: 300px;
    height: 30px;
    font-size: 16px;
    padding: 0 8px;
}

.tag-add-button {
    margin-left: 0;
    margin-top: 16px;
    height: 30px;
    width: 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    border-right: 2px solid #ccc;
    border-left: 2px solid #ccc;
    border-radius: 0 5px 5px 0;
}

.tag-add-button:hover {
    filter: brightness(0.8);
}

.tag-close-button {
    height: 100%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    cursor: pointer;
}

.tag-close-button:focus {
    background-color: #f44336;
    color: white;
    outline: none;
}

/*ChatGPT helped here making the tag styling work better with the searching*/

/* keep your UL reset as-is */
#tagUL {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-li {
    position: relative;
    padding: 0 24px 0 8px;
    border: 2px solid #7D1D25;
    margin-top: 10px;
    border-radius: 0.25rem;
    background: #fff;
    vertical-align: middle;

    @media (min-width: 0px) {
        min-width: 100%;
        max-width: 100%;
        margin-bottom:4px;
    }
    @media (min-width: 992px) {
        margin-right: 4px;
        min-width: 10%;
        max-width: 50%;
    }
    @media (min-width: 1200px) {
        margin-right: 4px;
        min-width: 5%;
        max-width: 30%;
    }
}

.tag-li.expanded {
    @media (min-width: 900px) {
        max-width: none;
    }
}

.tag-text {
    display: inline-block;
    align-content: center;
    max-width: 100%;
    flex:1;
    height:100%;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tag-text.expanded {
    overflow: visible;
    white-space: normal;
    text-overflow: unset;
    word-break: break-word;
    hyphens: auto;
}

#tagUL {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.public-checkbox .form-check-input {
    cursor: pointer;
    box-shadow: none;
    border-color: black;
}

.public-checkbox .form-check-input:checked {
    cursor: pointer;
    background-color: #007bff;
    border-color: #007bff;
}

.public-checkbox .form-check-label {
    cursor: pointer;

    @media (min-width: 0px) {
        font-size: 1em;
    }

    /* Large screens (desktops) */
    @media (min-width: 1200px) {
        font-size: 0.8em;;
    }
}
.btn.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle:focus {
    outline: none;
    background-color: #c1c1c1;
    border: 0.5px solid #0b5dd8;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.4);
}

.public-checkbox:hover {
    border-color: #08509e;
}

.public-checkbox .form-check-input:focus {
    /*Consistent with bootstrap btn-primary*/
    color: #fff;
    border-color: #0a58ca;
    border-width: 1px;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.suggestion-warning {
    color: black; /* Bootstrap danger color */
    opacity: 0.75;
}

.query-truncate {
    min-height: 25px;
    display: block;
    max-width: 100%;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
}

button:disabled {
    background-color: #bababa;
    color: #575757;
    cursor: not-allowed;
}

input:disabled {
    background-color: #bababa;
    color: #000000;
    cursor: not-allowed;
}

.icon-button {
    width: 70px;
    height: 70px;
    background-color: #eee;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
}

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

.icon-button:focus,
.icon-modal-close-button:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.icon-button:hover.selected-icon {
    outline: 3px solid #7D1D25;
    border-radius: 8px;
}
.icon-button:focus.selected-icon {
    outline: 3px solid #7D1D25;
    border-radius: 8px;
}
.icon-button.selected-icon {
    outline: 3px solid #7D1D25;
    border-radius: 8px;
}

.icon-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1050;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1rem;
    display: none;
}

.icon-modal-open {
    overflow: hidden;
}

.icon-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

.icon-modal-close-button {
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    padding: 0;
}

.icon-modal-close-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.icon-modal-close-button img {
    display: block;
}

.icon-image {
    width: 100px;
    height: auto;
}

@media (min-width: 576px) {
    .icon-image {
        width: 120px;
    }
}

@media (min-width: 768px) {
    .icon-image {
        width: 150px;
    }
}

@media (min-width: 992px) {
    .icon-image {
        width: 180px;
    }
}

@media (min-width: 1200px) {
    .icon-image {
        width: 200px;
    }
}

.hammer-icon {
    width: 25px;
    height: auto;
}

@media (min-width: 576px) {
    .hammer-icon {
        width:30px;
    }
}

@media (min-width: 768px) {
    .hammer-icon {
        width: 40px;
    }
}

@media (min-width: 992px) {
    .hammer-icon {
        width: 50px;
    }
}

.logo-image {
    width: 90px;
    height: auto;
}

@media (min-width: 576px) {
    .logo-image  {
        width: 130px;
    }
}

@media (min-width: 768px) {
    .logo-image {
        width: 150px;
    }
}

@media (min-width: 992px) {
    .logo-image  {
        width: 200px;
    }

}

.logo-thumb {
    object-fit: contain !important; /*Make logo full sized in thumbnail*/
    background-color: #f8f9fa;
}

.homepage-text {
    font-size: 30px !important;
}

@media (min-width: 576px) {
    .homepage-text {
        font-size: 35px !important;
    }
}

@media (min-width: 768px) {
    .homepage-text {
        font-size: 40px !important;
    }
}

@media (min-width: 992px) {
    .homepage-text {
        font-size: 45px !important;
    }

}

.wallet-history-text {
    font-size: 15px !important;
}

@media (min-width: 576px) {
    .wallet-history-text {
        font-size: 18px !important;
    }
}

@media (min-width: 768px) {
    .wallet-history-text {
        font-size: 21px !important;
    }
}

.suggestion-items {
    max-height: 200px;
    overflow-y: auto;
}

.selected-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px 0;
}

.suggestions-divider {
    margin: 4px 0;
    border: none;
    border-top: 1px solid #7d1d25;
}

.selected-section-container {
    padding: 0 10px;
}

.selected-section-title {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.selected-section {
    list-style: none;
    margin: 0;
    padding: 0;
}

.title-above-tag-suggestions{
    font-weight: bold;
    margin-bottom: 0.5em;
}

.truncate-task-description{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-width: 0;
}

.task-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.task-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.task-name-task-details {
    display: inline-block;
    max-width: 88%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.task-description-details{
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 700px;
}

.task-name {
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 300px
}
.task-description {
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

@media (max-width: 576px) {
    .task-actions {
        text-align: right;
    }

    .task-name {
        max-width: 150px;
    }
}

.nav-tabs .nav-link {
    color: #000000;
    background-color: #fdfdfd;
    border: 1px solid #7D1D25;
    margin-bottom: -1px;
}

.nav-tabs .nav-link.active {
    background-color: #7D1D25;
    color: white;
    border: 1px solid #7D1D25;
}

.nav-tabs .nav-link:hover {
    color: black;
    background-color: #9f9f9f;
}

.mustard-banner {
    background-color: #ffdb58;
    color: #000;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.payment-warning-banner {
    background-color: #ffdb58;
    color: #000;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.7rem;
    border-radius:5px;
    margin-bottom: 20px;
}

.form-check-input {
    transform: scale(1.3);
}

.donations-switch-container {
    padding: 6px 12px;
}

.donations-switch-label {
    font-size: 13px;
    color: #676767;
}

.donate-btn {
    max-width: 100px;
    background: #7D1D25;
    border: none;
    color: white;
    font-size: 15px;
}

.donate-btn:disabled {
    background-color: #bababa !important;
    color: #575757;
    cursor: not-allowed;
}

.donate-btn:hover {
    background: #671920;
    color: white;
}
/* Search result cards */
.card.search-result {
    transition: box-shadow .2s ease, transform .02s ease;
}

.card.search-result:focus-within {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
    transform: translateY(-1px);
}

.card.search-result:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

/* Username responsive sizing for user cards */
.username-display {
    word-break: break-word;
    white-space: pre-wrap;
    color: #7d3339;
    font-weight: bold;
    transition: font-size 0.2s ease;
}

/* Base font size for usernames */
.username-display {
    font-size: 1rem; /* Default h6 size */
}

/* Smaller font for long usernames */
.username-display.long-username {
    font-size: 0.8rem;
}

/* Even smaller for very long usernames */
.username-display.very-long-username {
    font-size: 0.7rem;
}

.subscribe-button {
    min-width: 80px;
    background: #7D1D25;
    border: none;
    color: white;
    font-size: 15px;
    max-width: 110px;
}

.subscribe-button:hover {
    background: #671920;
    color: white;
}

.subscribe-button:hover {
    background: #671920;
    color: white;
}


@media (max-width: 600px) {
    .streamer-info .hstack {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .streamer-info .profile-row {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .streamer-info .subscribe-button {
        order: 2;
        align-self: flex-start;
        margin-top: 4px;
        max-width: 150px;
        width: auto;
    }

    .streamer-info img.profile-picture {
        width: 40px;
        height: 40px;
    }

    .subscribe-button {
        font-size: 12px;
    }
}

.navbar-image {
    width: 50px;
    height: auto;
}

@media (max-width: 500px) {
    .navbar-image {
        width: 40px
    }
}

.wallet-history-row {
    position: relative;
    min-height: 56px;
}

.wallet-history-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    white-space: nowrap;
}

.wallet-history-filter {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 576px) {

    .wallet-history-title {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: .5rem; }

    .wallet-history-filter {
        position: static;
        transform: none;
        display:flex;
        justify-content:center; }
}

.chat-content { white-space: pre-wrap; }

.filter-toggle:hover,
.filter-toggle:focus-visible,
.dropdown.show .filter-toggle {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

