.orn-assistant-settings-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.orn-assistant-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: black;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

#orn-chat-container {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.chat-bubble {
    margin: 10px;
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 70%;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-bubble.user {
    background: #007bff;
    color: white;
    margin-left: auto;
    text-align: right;
}

.chat-bubble.assistant {
    background: #e9ecef;
    color: black;
    margin-right: auto;
}

.chat-bubble.tracker::before {
    content: "Tracker: ";
    font-weight: bold;
}

.chat-bubble.scout::before {
    content: "Scout: ";
    font-weight: bold;
}

#orn-input-container {
    display: flex;
    margin-bottom: 20px;
}

#orn-query {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#orn-send-button {
    padding: 12px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
}

#orn-send-button:hover {
    background: #218838;
}

.orn-mic-container {
    margin-bottom: 20px;
    text-align: center;
}

#orn-mic {
    width: 60%;
    padding: 20px;
    background: linear-gradient(90deg, #C50000, #a00000);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

#orn-mic:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #a00000, #800000);
}

#orn-mic.recording {
    background: #ff0000;
    animation: pulse 1.5s infinite;
}

#orn-mic.processing {
    background: #007bff; /* Original v1.0.7 pulse color */
    animation: pulse 1.5s infinite;
}

#orn-download-container {
    margin: 10px auto;
    max-width: 800px;
    text-align: center;
}

#orn-download-pdf {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
}

#orn-download-pdf:hover {
    background: #218838;
}

#orn-hotspot-map {
    height: 400px;
    margin: 20px 0;
    border-radius: 8px;
}

#orn-satellite-container {
    margin: 20px 0;
    text-align: center;
}

#orn-satellite-image {
    max-width: 100%;
    border-radius: 8px;
}

.orn-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: url('https://onair.outdoorradionetwork.com/wp-content/plugins/orn-virtual-assistant/assets/fishing-lure.png') no-repeat center;
    background-size: contain;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

.orn-spinner.active {
    display: block;
}

.orn-history-list {
    margin-top: 20px;
}

.orn-history-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orn-history-item {
    padding: 10px;
    margin: 5px 0;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.orn-history-item:hover {
    background: #e6f3ff;
}

.orn-history-title {
    font-weight: bold;
    color: #333;
}

.orn-history-details {
    display: none;
    margin-top: 5px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

@media (max-width: 782px) {
    #orn-mic {
        width: 80%;
        padding: 15px;
    }
    #orn-hotspot-map, #orn-chat-container {
        height: 300px;
    }
    .orn-history-scroll {
        max-height: 150px;
    }
}