*, *::before, *::after {
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    margin: 2vh;
}

body.initial-state {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e9e9e9' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#app-container {
    display: flex;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
    height: 96vh;
    overflow: hidden;
}

body.initial-state #app-container {
    background: transparent;
    box-shadow: none;
}

#tabs-sidebar {
    width: 320px;
    flex-shrink: 0;
    height: 95vh;
    overflow-y: auto;
    border-right: 1px solid #e0e0e0;
    background-color: #fff;
}

body.initial-state #tabs-sidebar {
    display: none;
}

#tabs-sidebar h2 {
    font-size: 18px;
    color: #333;
    padding: 10px 0px 20px 10px;
    font-weight: 600;
    border-bottom: 1px solid #dadada;
    margin: 20px;
}

.new-task-container {
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid #dadada;
}

.clear-history-link {
    text-align: center;
    margin-top: 13px;
    font-size: 15px;
    color: #d93025;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.clear-history-link:hover {
    opacity: 1;
}

.clear-cart-link {
    font-size: 13px;
    color: #d93025;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.clear-cart-link:hover {
    opacity: 1;
}

#newTaskBtn {
    width: 100%;
    padding: 12px;
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

#newTaskBtn:hover {
    background-color: #3367D6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#newTaskBtn svg {
    width: 20px;
    height: 20px;
}

#main-content {
    flex-grow: 1;
    height: 95vh;
    overflow-y: auto;
    padding: 0 10px;
    transition: justify-content 0.6s ease-in-out;
}

body.initial-state #main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#search-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

body.initial-state #search-header {
    align-items: center;
}

body.initial-state #search-header .search-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

body.initial-state #suggestionTags,
body.initial-state #resultsContainer {
    display: none;
}

h1 {
    color: #4285F4;
}
.search-wrapper {
    position: relative;
    margin: 15px 0 4px 0;
    max-width: 800px;
    width: 100%;
}
.search-container {
    display: flex;
    border-radius: 32px 32px 32px 0; /* Increased for proportion */
    border: 1px solid #dfe1e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
}

.search-container:hover, .search-container:focus-within {
}

.search-input-suggestions {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #dfe1e5;
    box-shadow: 0 4px 6px rgba(32,33,36,0.28);
    z-index: 100;
    max-height: 450px;
    overflow-y: auto;
    border-radius: 0 0 24px 24px;
    top: calc(100% - 10px);
    left: 0;
    right: 0;
}

.search-input-suggestions.show {
    display: block;
}

.search-suggestion-item {
    padding: 10px 25px;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    line-height: 20px;
}

.search-suggestion-item:hover {
    background-color: #f1f1f1;
}

.search-suggestion-item strong {
    font-weight: bold;
}

#searchInput {
    flex: 1;
    padding: 18px 25px; /* Increased padding */
    font-size: 17px; /* Increased font size */
    border: none;
    border-radius: 0;
    outline: none;
}
#searchButton {
    padding: 15px 14px; /* Increased padding */
    background-color: #4285F4;
    color: white;
    border: none;
    /* border-radius: 0; */
    cursor: pointer;
    font-size: 17px; /* Increased font size */
    /* border-left: 1px solid #dfe1e5; */
    width: 236px;
}
#searchButton:hover {
    background-color: #3367D6;
}
.filter-container {
    display: flex;
    position: relative;
    max-width: 400px;
}
#filterInput {
    flex: 1;
    padding: 12px 15px; /* Increased padding */
    font-size: 15px; /* Increased font size */
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px; /* Slightly more rounded */
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#filterInput:focus {
    border-color: #4285F4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* New Layout Styles for Results Area */
.results-body-wrapper {
    display: flex;
    align-items: flex-start;
}

#word-filter-sidebar {
    width: 330px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    border-right: 1px solid #e0e0e0;
    padding-right: 10px;
    box-sizing: border-box;
}

.filter-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.filter-header h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
}

#wordFilterSearch {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

.word-list {
    list-style-type: none;
    padding: 10px;
    margin: 0;
    max-height: 95vh;
    overflow-y: auto;
    border-bottom: 1px solid #efefef;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.view-all-trend-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    gap: 10px;
    margin-top: 10px;
}

#viewAllSearchBtn, #viewAllTrendBtn {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.9em;
}

#viewAllSearchBtn {
    background-color: #4285F4; /* Google Blue */
}

#viewAllSearchBtn:hover {
    background-color: #357ae8;
}

#viewAllTrendBtn {
    background-color: #34A853; /* Google Green */
}

#viewAllTrendBtn:hover {
    background-color: #2c8e45;
}

.cart-list {
    list-style: none;
    padding: 10px;
    margin: 0;
    max-height: 80vh;
    overflow-y: auto;
}

.cart-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
}

@keyframes cart-item-flash {
    0% { background-color: #f8f9fa; }
    25% { background-color: #e8f0fe; }
    50% { background-color: #f8f9fa; }
    75% { background-color: #e8f0fe; }
    100% { background-color: #f8f9fa; }
}

.cart-list-item.flash-animation {
    animation: cart-item-flash 1.5s ease-in-out;
}

.cart-item-text {
    word-break: break-word;
}

.cart-item-delete-btn {
    background: none;
    border: none;
    color: #d93025;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    padding: 0 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cart-item-delete-btn:hover {
    opacity: 1;
}

.empty-cart-text {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.word-list-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 4px;
    font-size: 16px;
    transition: background-color 0.2s;
}

.word-list-item:hover {
    background-color: #f0f0f0;
}

.word-list-item.active {
    background-color: #e8f0fe;
    color: #1967d2;
    font-weight: 600;
}

.word-list-item .word-count {
    color: #888;
}
.word-list-item.active .word-count {
    color: #1967d2;
}


.results-main-column {
    flex-grow: 1;
    min-width: 0; /* Prevents flexbox overflow issues */
    padding-left: 20px;
}

/* Old filter styles - remove or hide */
.filter-container, .filter-export-container {
    display: none;
}

#filterDropdown {
    display: none;
}

.suggestions {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.suggestion {
    padding: 18px 14px;
    background-color: #f5f5f5;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    flex-wrap: wrap;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent; /* To prevent layout shift on hover */
}

.suggestion:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #e9f0fe;
}

.suggestion-text-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    align-content: center;
}

.suggestion-text {
    min-width: 0;
    word-break: break-word;
    flex-grow: 1;
}

.copy-icon {
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.copy-icon:hover {
    opacity: 1;
}

.suggestion-query {
    color: #999;
    font-size: 0.8em;
    margin-left: 10px;
    font-style: italic;
    align-self: flex-end;
}
.original-keyword {
    color: #656565;
}

.filter-export-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.export-buttons {
    display: flex;
    gap: 10px;
}

.export-btn {
    padding: 5px 14px;
    border: 1px solid #4285F4;
    background-color: #ffffff;
    color: #4285F4;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 14px;
    white-space: nowrap;
}

.export-btn:hover {
    background-color: #e8f0fe;
    color: #357ae8;
    border-color: #357ae8;
}

/* Modal Styles */
.modal-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: 1000;
}

.modal-content {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 450px;
    text-align: center;
}

.modal-content h3 {
    margin-top: 0;
    color: #333;
}

.modal-content p {
    color: #666;
    line-height: 1.6;
}

.modal-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn.confirm {
    background-color: #4285F4;
    color: white;
}
.modal-btn.confirm:hover {
    background-color: #3367D6;
}

.modal-btn.cancel {
    background-color: #f1f1f1;
    color: #333;
}
.modal-btn.cancel:hover {
    background-color: #e0e0e0;
}

.suggestion-action-btn {
    border: 1px solid #4285F4;
    background-color: transparent;
    color: #4285F4;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-weight: 500;
    white-space: nowrap;
}

.suggestion-action-btn:hover {
    background-color: #e8f0fe;
}

.suggestion-action-btn.added {
    background-color: #e6f4ea;
    color: #188038;
    border-color: #a8d5b5;
    cursor: pointer;
}
.suggestion-action-btn.added:hover {
    background-color: #d2e9d9;
}

.other-text {
    color: #000000;
}
.filter-highlight {
    background-color: #FBBC05;
    font-weight: bold;
}
.loading {
    color: #666;
    font-style: italic;
}
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

#statusText, #resultsCount {
    white-space: nowrap;
}

#resultsCount {
    font-size: 1.1em;
    color: #4285f5;
    font-weight: 600;
    /* margin-left: 30px; */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.progress-container {
    display: none;
    margin-top: 15px;
    width: 100%;
}

body.is-searching .progress-container {
    display: block;
}

.progress-bar {
    height: 20px;
    background-color: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}
.progress-bar-fill {
    height: 100%;
    background-color: #34A853;
    width: 0%;
    transition: width 0.3s ease;
}
.progress-text {
    color: #666;
    font-size: 0.9em;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
}
.dropdown-content.show {
    display: block;
}
.dropdown-item {
    padding: 8px 16px;
    cursor: pointer;
}
.dropdown-item:hover {
    background-color: #f1f1f1;
}
.word-count {
    color: #999;
    font-size: 0.8em;
    margin-left: 5px;
}

.suggestion-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.view-trend-btn {
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
    font-weight: 500;
}

.view-trend-btn:hover {
    background-color: #3367D6;
}

.suggestion-tags-container {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 20px;
    max-width: 1200px;
}

.suggestion-tag {
    background-color: #e8f0fe;
    color: #1a73e8;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.suggestion-tag:hover {
    background-color: #d2e3fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tabs-container-wrapper {
    /* No special styles needed now, it's just a container */
}

.tabs-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 15px;
    cursor: pointer;
    border: 1px solid transparent;
    background-color: #f5f5f5;
    position: relative;
    font-size: 18px;
    color: #3c4043;
    transition: all 0.2s ease-in-out;
    word-break: break-word;
    margin-bottom: 6px;
    border-radius: 8px;
    height: 64px;
    box-sizing: border-box;
}

.tab-keyword {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin-right: 8px;
}

.tab:hover {
    background-color: #f1f3f4;
    border-color: #dadce0;
}

.tab.active {
    color: #1967d2;
    font-weight: 600;
    border-color: #d2e3fc;
    background-color: #e8f0fe;
}

.tab-close-btn {
    margin-left: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 24px;
    color: #4285f5;
    padding: 4px;
    border-radius: 50%;
}

.tab-close-btn:hover {
    color: #333;
    background-color: #4285f512;
    width: 36px;
}

/* Remove horizontal scroll buttons styling */
.tab-scroll-button {
    display: none;
}

#searchButton.searching {
    background-color: #EA4335;
}
#searchButton.searching:hover {
    background-color: #c5372c;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

#menu-toggle-btn {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 22px;
    left: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

#menu-toggle-btn svg {
    width: 28px;
    height: 28px;
    stroke: #5f6368;
}

.sidebar-tabs {
    display: flex;
    background-color: #f1f3f4;
    padding: 4px 2px;
    border-radius: 8px;
    margin: 10px 4px;
}

.sidebar-tab-btn {
    flex: 1;
    padding: 10px 2px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #5f6368;
    position: relative;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.sidebar-tab-btn:not(.active):hover {
    background-color: #e8eaed;
}

.sidebar-tab-btn.active {
    background-color: #fff;
    color: #1967d2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1967d2;
}

.badge {
    background-color: #1a73e8;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
    width: 20px;
    height: 20px;
    /* Flexbox properties for perfect centering */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    align-content: center;
}

.badge.flash {
    animation: flash-animation 0.5s 2;
}

@keyframes flash-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); background-color: #34A853;}
    100% { transform: scale(1); }
}


.sidebar-tab-panel {
    display: none;
}

.sidebar-tab-panel.active {
    display: block;
}


@media (max-width: 992px) {
    #tabs-sidebar {
        width: 280px;
    }
    .suggestions {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    body {
        margin: 0;
    }

    #app-container {
        flex-direction: column;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #menu-toggle-btn {
        display: block;
    }

    body.initial-state #menu-toggle-btn {
        display: none;
    }

    body:not(.initial-state) #tabs-sidebar {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        z-index: 1003;
        background-color: #fff;
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        width: 300px;
        border-right: 1px solid #e0e0e0;
        height: 100vh;
    }

    #tabs-sidebar.open {
        transform: translateX(0) !important;
    }

    body.initial-state #tabs-sidebar {
        display: none;
    }

    #main-content {
        width: 100%;
        height: auto;
        padding: 0 15px;
        overflow-y: visible;
    }

    body.initial-state #main-content {
        justify-content: center;
        padding-top: 0;
        height: 100vh;
        overflow: hidden;
        padding-bottom: 15vh;
    }

    #search-header {
        position: relative;
        padding-top: 60px;
    }

    body.initial-state #search-header {
        padding-top: 0;
    }

    #search-header h1 {
        font-size: 26px;
        text-align: center;
        width: 100%;
    }
    #search-header h3 {
        font-size: 14px;
        text-align: center;
        width: 100%;
    }

    .search-wrapper {
        margin-top: 15px;
        margin-bottom: 0;
    }

    .search-container {
        /* margin-top: 15px; */
        flex-direction: column;
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    #searchInput {
        padding: 16px;
        font-size: 16px;
        border: 1px solid #dfe1e5;
        border-radius: 8px;
        margin-bottom: 10px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }
    #searchButton {
        width: 100%;
        border-radius: 8px;
        padding: 16px;
        border: none;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }

    .search-input-suggestions {
        position: static;
        border-top: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin-top: -10px;
        border-radius: 0 0 8px 8px;
    }

    .suggestion-tags-container {
        justify-content: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: none;
        gap: 6px;
    }

    .suggestion-tag {
        padding: 6px 12px;
        font-size: 14px;
    }

    .results-body-wrapper {
        flex-direction: column;
    }

    #word-filter-sidebar {
        width: 100%;
        position: static;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 20px;
        top: 0;
    }

    .word-list {
        max-height: 250px;
    }

    .cart-list {
        max-height: 220px;
    }

    .results-main-column {
        padding-left: 0;
    }

    .results-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .results-info {
        gap: 5px;
        text-align: left;
    }

    #statusText {
        white-space: normal;
    }

    .export-buttons {
        justify-content: flex-start;
    }

    .suggestion {
        padding: 12px;
        font-size: 16px;
    }

    .suggestion-action-btn,
    .view-trend-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .modal-content {
        width: 90%;
        margin: 0 15px;
    }

    .search-wrapper.suggestions-active #searchButton {
        display: none;
    }

    .search-wrapper.suggestions-active #searchInput {
        margin-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .search-wrapper.suggestions-active .search-input-suggestions {
        margin-top: 0;
    }

    .suggestions {
        word-break: break-word;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.toast {
    background-color: #d93025;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(100%);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

