﻿.chat-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('/background.jpg');
    background-size: cover;
    background-position: center;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.40);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .chat-messages::-webkit-scrollbar {
        width: 12px;
    }

    .chat-messages::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .chat-messages::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
        border: 3px solid #f1f1f1;
    }

        .chat-messages::-webkit-scrollbar-thumb:hover {
            background-color: #0056b3;
        }
.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

.user-message {
    background-color: rgba(209, 231, 255, 0.85);
    text-align: right;
    align-self: flex-end;
    color: #0056b3;
}

.ai-message {
    background-color: rgba(241, 241, 241, 0.9);
    text-align: left;
    align-self: flex-start;
    color: #333333;
}

.chat-input-area {
    display: flex;
    align-items: center; 
    gap: 10px;           
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.chat-input {
    flex-grow: 1;
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

.send-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .send-button:hover {
        background-color: #0056b3;
    }

    .send-button:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
    }

.settings-area {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #333333;
}

.temperature-slider {
    -webkit-appearance: none; /* Necessary to override default styles in WebKit */
    appearance: none;
    width: 150px;
    height: 5px; /* Define a consistent height */
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    background: #ddd;
}

    .temperature-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 15px;
        height: 15px;
        background: #007bff;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
        margin-top: -5px;
    }

    .temperature-slider::-webkit-slider-runnable-track {
        width: 100%;
        height: 5px;
        background: transparent;
        border-radius: 3px;
        border: none;
    }

    .temperature-slider::-moz-range-thumb {
        width: 15px;
        height: 15px;
        background: #007bff;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .temperature-slider::-moz-range-track {
        width: 100%;
        height: 5px;
        background: transparent;
        border-radius: 3px;
        border: none;
    }