.input-area-section {
    width: 100%;
    padding: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.input-area {
    display: flex;
    flex-direction: column;
}

.input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.input-container form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.message-input {
    border: none;
    border-radius: 0;
    flex: 1;
    min-height: 44px;
    max-height: 200px;
    resize: none;
    font-size: 16px;
    line-height: 1.5;
    padding: 8px 120px 8px 56px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    background-color: #f5f5f5;
    overflow: hidden;
    color: #333;
}

.message-input[data-auto-expand] {
    height: auto;
}

/*.message-input:hover {*/
/*    border: 1px solid rgb(230, 230, 230) !important;*/
/*}*/

.model-selector-button,
.web-search-button,
.attachment-button,
.toggle-microphone-button,
.add-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease;
    color: #0366d6;
    position: relative;
    flex-shrink: 0;
}

.search-btn:hover, .voice-search-btn:hover {
    background: #e7f3ff;
    color: #0366d6;
}

.clear-search-btn:hover {
    background: #ffeaea;
    color: #e03e3e;
}

.advanced-search-btn:hover {
    background: #e7f3ff;
    color: #0366d6;
}

.input-wrapper button {
    background: none;
    border: none;
    color: #0366d6;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Turtle button - left side */
.input-wrapper > .add-button:nth-of-type(1) {
    left: 8px;
    right: auto;
}

/* Plus button - first right button */
.input-wrapper > .add-button:nth-of-type(2) {
    right: 100px;
    left: auto;
}

/* Palette button - second right button */
.input-wrapper > .toggle-microphone-button {
    right: 52px;
    left: auto;
}

/* Send button - far right */
.input-wrapper > .send-button {
    right: 8px;
    left: auto;
    width: 36px;
    height: 36px;
}

.right-side-buttons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
}

.right-side-buttons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
}

.input-box-container {
    position: relative;
    width: 100%;
}

.right-side-buttons {
    position: absolute;
    right: 12px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
}

.right-side-buttons button {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border: none;
    border-radius: 50%;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease;
    color: #657786;
}

.input-wrapper button:hover:not(.send-button) {
    background-color: rgba(3, 102, 214, 0.1);
    color: #0366d6;
}

.send-button {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 50% !important;
    background-color: #0366d6 !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute !important;
}

.send-button:hover {
    background-color: #0255b3 !important;
    transform: translateY(-50%) scale(1.05);
}

.left-side-buttons {
    position: absolute;
    left: 8px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 10;
}

.left-side-buttons .mode-button {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border: none;
    border-radius: 50%;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease;
    color: #657786;
}

.welcome-header svg {
    fill: #FC8EAC !important;
    color: #FC8EAC !important;
}

.input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 12px;
}

.search-indicator {
    position: absolute;
    top: -30px;
    left: 0;
    background: #0366d6;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 10;
}

.search-indicator i {
    margin-right: 5px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 20;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

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

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item i {
    margin-right: 10px;
    color: #666;
}

.mode-button.active {
    background-color: #0366d6;
    color: white;
}

.web-search-button.active {
    background-color: #0366d6;
    color: white;
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.search-modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
}

.search-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-modal-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

.search-modal-body {
    padding: 20px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.search-results-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #fafafa;
}

.search-result-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 5px;
    text-decoration: none;
}

.search-result-title:hover {
    text-decoration: underline;
}

.search-result-url {
    color: #006621;
    font-size: 14px;
    margin-bottom: 5px;
}

.search-result-snippet {
    color: #333;
    line-height: 1.4;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.loading-spinner i {
    font-size: 30px;
    color: #0366d6;
    animation: spin 1s linear infinite;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

.search-stats {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.file-drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #f9f9f9;
    color: #777;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
}

.file-drop-zone.dragover {
    background-color: #e6f7ff;
    border-color: #0366d6;
    color: #0366d6;
}

.file-input-label {
    color: #0366d6;
    text-decoration: underline;
    cursor: pointer;
}

.file-list {
    margin-top: 10px;
    text-align: left;
    font-size: 13px;
}

.file-list-item {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 8px 10px;
    margin-bottom: 5px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-list-item span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 80%;
}

.welcome-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 24px;
    font-weight: 550;
    color: rgb(32, 33, 36);
}
