#auracycle-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.aura-header {
    background-color: #f7f7f7;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.aura-header h3 {
    margin: 0 0 5px 0;
}
.aura-header p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}
.aura-chat-window {
    display: flex;
    flex-direction: column;
}
.aura-chat-messages {
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.aura-message {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.5;
}
.aura-message p {
    margin: 0;
}
.aura-message.aura-reply {
    background-color: #eceff1;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.aura-message.user-message {
    background-color: #4a90e2;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.aura-message.aura-typing {
    color: #777;
    font-style: italic;
    align-self: flex-start;
}
.aura-chat-input-area {
    border-top: 1px solid #e0e0e0;
}
#aura-chat-form {
    display: flex;
}
#aura-user-message {
    flex-grow: 1;
    border: none;
    padding: 15px;
    font-size: 1em;
}
#aura-user-message:focus {
    outline: none;
}
#aura-chat-form button {
    border: none;
    background-color: #4a90e2;
    color: white;
    padding: 0 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s;
}
#aura-chat-form button:hover {
    background-color: #357abd;
}

/* --- Daily Insight Styles --- */
#auracycle-daily-insight-container {
    background-color: #f1f5f9;
    border-left: 4px solid #4a90e2;
    padding: 20px;
    border-radius: 4px;
    margin: 20px auto;
    max-width: 600px;
    transition: background-color 0.3s;
}

#auracycle-daily-insight-container p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
}

#auracycle-daily-insight-container.loading p {
    color: #777;
}

#auracycle-daily-insight-container.error {
    background-color: #fff1f1;
    border-left-color: #e53e3e;
}

/* Simple Spinner for Loading State */
#auracycle-daily-insight-container .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-left-color: #4a90e2;
    animation: spin 1s linear infinite;
    float: left;
    margin-right: 15px;
}

#auracycle-daily-insight-container.loading .spinner {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}