/* --- One-Click Translation Animation Styles --- */
.translation-animation-wrapper {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    margin-bottom: 25px;
}

.original-text-panel {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.original-text-panel p {
    font-style: italic;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.translation-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.translation-controls span {
    font-weight: 500;
    color: #555;
}

.language-btn {
    padding: 8px 16px;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.language-btn:hover {
    background-color: #0056b3;
}

.language-btn.clicked {
    transform: scale(0.95);
    background-color: #004a99;
}

.translated-text-panel {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    min-height: 150px;
    transition: opacity 0.5s ease-in-out;
}

.translated-text-panel p {
    margin: 0;
    line-height: 1.7;
    color: #222;
    font-size: 15px;
}

.translated-text-panel.rtl-text p {
    direction: rtl;
    text-align: right;
}

/* 新功能样式 */
#observation .feature-animation-container,
#teaching .feature-animation-container,
#daily .feature-animation-container,
#story .feature-animation-container {
    display: grid; /* Use Grid to stack form and output */
    width: 100%;
    background: #f8fbff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    padding: 20px;
    box-sizing: border-box;
}

#observation .animation-form, #observation .animation-output,
#teaching .animation-form, #teaching .animation-output,
#daily .animation-form, #daily .animation-output,
#story .animation-form, #story .animation-output {
    grid-area: 1 / 1; /* Place both in the same grid cell to stack them */
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 30px 20px;
    box-sizing: border-box;
    transition: opacity 0.4s ease-in-out;
}

#observation .animation-form,
#teaching .animation-form,
#daily .animation-form,
#story .animation-form {
    display: block; /* Default state */
}

#observation .animation-output,
#teaching .animation-output,
#daily .animation-output,
#story .animation-output {
    display: none; /* Hidden by default, shown after generation */
    transition: opacity 0.5s ease-in-out;
}

#observation .form-field,
#teaching .form-field,
#daily .form-field,
#story .form-field {
    margin-bottom: 1.5rem;
    max-width: 400px; /* Limit width to match input elements */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
}

#observation .form-field label,
#teaching .form-field label,
#daily .form-field label,
#story .form-field label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    /* No need to add max-width/margin here, as its parent .form-field will handle centering */
}

/* Input Typing Animation */
#observation .input-container,
#teaching .input-container,
#daily .input-container,
#story .input-container {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 0.75rem 1rem;
    background-color: #fcfcfc;
    min-height: 50px; /* Increased height */
    display: flex;
    align-items: center;
    max-width: 400px; /* Limit width */
    margin: 0 auto; /* Center horizontally */
}

#observation .input-typing, #observation .textarea-typing,
#teaching .input-typing, #teaching .textarea-typing,
#daily .input-typing, #daily .textarea-typing,
#story .input-typing, #story .textarea-typing {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #555;
    white-space: pre-wrap; /* Preserve whitespace and allow wrapping */
    word-break: break-word; /* Break long words */
    position: relative;
    width: 100%;
}


#observation .textarea-typing,
#teaching .textarea-typing,
#daily .textarea-typing,
#story .textarea-typing {
    min-height: 90px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    background-color: #fcfcfc;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px; /* Controls space between lines */
    opacity: 1; /* Make the box always visible */
    transition: opacity 0.5s ease;
}

#observation .textarea-typing .line,
#teaching .textarea-typing .line,
#daily .textarea-typing .line,
#story .textarea-typing .line {
    height: 12px;
    background-color: #a0b4c8;
    margin-bottom: 0; /* Use gap from parent instead */
    width: 0; /* Start with no width */
    border-radius: 2px;
    /* Animation will be triggered by JS */
}

#observation .textarea-typing .line.animate,
#teaching .textarea-typing .line.animate,
#daily .textarea-typing .line.animate,
#story .textarea-typing .line.animate {
    animation: type-line 0.6s forwards; /* A bit faster */
}

@keyframes type-line {
    from { width: 0; }
    to { width: 100%; }
}


/* Dropdown Styles - Specific to Teaching Plans, not needed for Daily Reports */
#teaching .dropdown-container {
    position: relative;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #fcfcfc;
    cursor: pointer;
    max-width: 400px; /* Limit width */
    margin: 0 auto; /* Center horizontally */
}

#teaching .dropdown-selected {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #555;
    min-height: 50px; /* Increased height */
    display: flex;
    align-items: center;
    position: relative;
}

#teaching .dropdown-selected.selected {
    background-color: #e6f0ff; /* Light blue background for selected */
    border-color: #4A90E2;
}

#teaching .dropdown-options {
    display: none; /* Hidden by default, shown via JS for animation */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 400px; /* Limit width for dropdown options */
    margin: 0 auto; /* Center horizontally */
}

#teaching .dropdown-options .option {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #555;
    transition: background-color 0.2s ease;
}

#teaching .dropdown-options .option:hover {
    background-color: #f0f0f0;
}

#teaching .dropdown-options .option.selected {
    background-color: #e6f0ff;
    font-weight: 600;
    color: #4A90E2;
}

/* Radio Options (existing style, ensure compatibility) */
#observation .radio-options,
#teaching .radio-options,
#daily .radio-options,
#story .radio-options {
    display: flex;
    flex-direction: row; /* 明确设置为横向排列 */
    flex-wrap: nowrap; /* 强制不换行 */
    gap: 10px; /* 选项之间的间距 */
    max-width: 400px; /* 容器的最大宽度 */
    margin: 0 auto; /* 水平居中容器 */
    justify-content: center; /* 选项在容器内居中 */
}


#observation .radio-options .option,
#teaching .radio-options .option,
#daily .radio-options .option,
#story .radio-options .option {
    width: 190px; /* Fixed width for each option to ensure two per line */
    padding: 0.85rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content (radio + text) horizontally */
    gap: 0.5rem;
    background-color: #fcfcfc;
    box-sizing: border-box; /* Include padding and border in the width */
}

#observation .radio-options .option span,
#teaching .radio-options .option span,
#daily .radio-options .option span,
#story .radio-options .option span {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

#observation .radio-options .option.active,
#teaching .radio-options .option.active,
#daily .radio-options .option.active,
#story .radio-options .option.active {
    background-color: #e6f0ff;
    border-color: #4A90E2;
    color: #4A90E2;
    font-weight: 600;
}

#observation .radio-options .option.active span::after,
#teaching .radio-options .option.active span::after,
#daily .radio-options .option.active span::after,
#story .radio-options .option.active span::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #4A90E2;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Grid Options for Teaching Approach - Specific to Teaching Plans */
#teaching .grid-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 400px; /* Limit width */
    margin: 0 auto; /* Center horizontally */
}

#teaching .grid-options .option {
    padding: 1.1rem; /* Slightly increased padding */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fcfcfc;
}

#teaching .grid-options .option:hover {
    border-color: #4A90E2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

#teaching .grid-options .option.selected-highlight {
    background-color: #e6f0ff; /* Light blue */
    border-color: #4A90E2;
    color: #4A90E2;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

#teaching .grid-options .option.unselected-gray {
    background-color: #f5f5f5; /* Light gray */
    border-color: #e0e0e0;
    color: #888;
}

/* Generate Button */
#observation .generate-btn,
#teaching .generate-btn,
#daily .generate-btn,
#story .generate-btn {
    background: #28a745; /* Green color from observation notes */
    color: white;
    border: none;
    border-radius: 5px; /* Match observation notes */
    padding: 10px; /* Match observation notes */
    font-size: 16px; /* Match observation notes */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%; /* Match observation notes */
    margin: 1.5rem auto 0;
}

#observation .generate-btn:hover,
#teaching .generate-btn:hover,
#daily .generate-btn:hover,
#story .generate-btn:hover {
    background: #218838; /* Darker green for hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3); /* Green shadow */
}

#observation .generate-btn.clicked,
#teaching .generate-btn.clicked,
#daily .generate-btn.clicked,
#story .generate-btn.clicked {
    transform: scale(1.05); /* Match observation notes button-press animation */
    background-color: #218838; /* Match observation notes button-press animation */
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.5); /* Match observation notes button-press animation */
}

/* Daily Report - Activity Section Styles */
#daily .activity-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #fcfcfc;
    max-width: 400px; /* Limit width */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
}

#daily .activity-section-header {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

#daily .activity-section-input {
    margin-bottom: 1rem;
}

#daily .activity-section-input label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

#daily .activity-section-input .input-container {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 0.75rem 1rem;
    background-color: #fff;
    min-height: 50px;
    display: flex;
    align-items: center;
    width: 100%; /* Take full width of parent */
    margin: 0; /* Override centering from parent .input-container */
}

#daily .activity-section-input .textarea-typing {
    min-height: 60px; /* Adjusted height */
    border: 1px solid #e0e0e0; /* Use consistent border */
    border-radius: 5px; /* Use consistent border-radius */
    padding: 0.75rem 1rem; /* Reverted padding */
    background-color: #fff;
    width: 100%;
}

/* Placeholder box for Activity 2 and Add Another Activity */
#daily .placeholder-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #888;
    font-style: italic;
    margin-bottom: 1.5rem;
    max-width: 400px; /* Limit width */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
}

#daily .add-activity-btn {
    background: #4A90E2; /* Blue color */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    max-width: 400px; /* Limit width */
    margin: 1.5rem auto 0; /* Center horizontally */
}

#daily .add-activity-btn:hover {
    background: #3a7bc8; /* Darker blue for hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

#daily-activity-2 {
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
    opacity: 0;
    margin-top: 20px;
}

#daily-activity-2.active {
    transform: translateY(0);
    opacity: 1;
}

#daily .add-activity-btn.clicked {
    transform: scale(1.05); /* 进一步放大 */
    background-color: #1a5bb0; /* 更深的背景色 */
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.9); /* 更强的蓝色阴影 */
    border: 3px solid #4A90E2; /* 更粗的边框高亮 */
    transition: all 0.1s ease-out; /* 更快的过渡效果 */
}

/* Upload Image Section (similar to Observation Notes) */
/* Learning Story Specific Styles */
#story .highlight-inputs {
    border: 1px solid #e8e8e8;
    background-color: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
}

#story .form-field-nested {
    margin-bottom: 1rem;
}

#story .form-field-nested:last-child {
    margin-bottom: 0;
}

#story .form-field-nested label {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

#story .textarea-typing {
    min-height: 40px; /* Smaller height for nested inputs */
    padding: 10px;
}

#story .textarea-typing .line {
    height: 10px;
}


#observation .image-upload,
#story .image-upload,
#daily .image-upload { /* Corrected selector */
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    margin-top: 1rem;
}

#observation .image-upload.active,
#story .image-upload.active,
#daily .image-upload.active { /* Corrected selector and enhanced effect */
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.8); /* 更强的蓝色光晕 */
    border-color: #007bff;
    transform: scale(1.05); /* 更明显的放大 */
    background-color: #e6f0ff; /* 激活时浅蓝色背景 */
    transition: all 0.15s ease-out; /* 更快的激活过渡 */
}

#observation .image-upload:hover,
#story .image-upload:hover,
#daily .image-upload:hover { /* Enhanced effect */
    border-color: #4A90E2;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4); /* 更强的阴影 */
    transform: translateY(-5px); /* 抬升更多 */
    background-color: #f0f8ff; /* 悬停时浅蓝色背景 */
}

#observation .image-upload:active,
#story .image-upload:active,
#daily .image-upload:active { /* Enhanced effect */
    transform: translateY(0); /* 按下时回到原位 */
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.6); /* 按下时更明显的阴影 */
    background-color: #dbe9ff; /* 按下时更深的浅蓝色背景 */
}

#observation .upload-icon,
#story .upload-icon,
#daily .upload-icon {
    font-size: 2rem;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

#observation .upload-text,
#story .upload-text,
#daily .upload-text {
    font-size: 0.9rem;
    color: #666;
}

#daily input[type="file"] {
    display: none; /* Hide actual file input */
}

/* Output Section Styles */
#observation .output-section,
#teaching .output-section,
#daily .output-section,
#story .output-section {
    margin-bottom: 0; /* Set margin to 0 to remove gaps */
    opacity: 0; /* Hidden by default, animated in by JS */
    transition: opacity 0.5s ease-in-out;
    padding-top: 5px; /* Further reduced padding */
    padding-bottom: 5px; /* Further reduced padding */
}

#observation .output-section h4,
#teaching .output-section h4,
#daily .output-section h4,
#story .output-section h4 {
    color: #2c3e50;
    margin-bottom: 0; /* Reduced margin to 0 */
    font-size: 1.2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    max-width: 400px; /* Limit width */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
    display: block !important; /* Force display */
    opacity: 1 !important; /* Force opacity */
}

#observation .output-section h5,
#teaching .output-section h5,
#daily .output-section h5,
#story .output-section h5 {
    color: #4A90E2; /* Changed to blue */
    margin-top: 0.8rem; /* Reduced margin */
    margin-bottom: 0.5rem; /* Reduced margin */
    font-size: 0.9em; /* Further reduced font size */
    max-width: 90%; /* Added max-width */
    margin-left: auto; /* Centered */
    margin-right: auto; /* Centered */
    display: block; /* Ensure it's a block element for margin auto to work */
    opacity: 1 !important; /* Ensure visibility */
}

#observation .placeholder-text,
#teaching .placeholder-text,
#daily .placeholder-text,
#story .placeholder-text {
    min-height: 1.2em; /* Ensure lines take up space */
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    position: relative;
    overflow: hidden; /* Hide overflowing text during typing */
    /* Removed max-width and auto margins for full width */
    /* Removed: opacity: 0; - controlled by JS */
    transition: opacity 0.3s ease-in-out;
    display: block !important; /* Force display */
}

#observation .placeholder-text,
#teaching .placeholder-text,
#daily .placeholder-text,
#story .placeholder-text {
    height: 12px; /* Match observation notes placeholder bars */
    border-radius: 3px; /* Match observation notes placeholder bars */
    margin-bottom: 3px; /* Reduced margin */
    position: relative; /* For typing animation */
    overflow: hidden; /* Hide overflowing text during typing */
    max-width: 400px; /* Limit width */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
}

#observation .output-section .activity-section,
#teaching .output-section .activity-section,
#daily .output-section .activity-section,
#story .output-section .activity-section {
    margin-bottom: 0.5rem; /* Add margin between activity sections */
    padding: 0;
    display: block !important; /* Force display */
    opacity: 1 !important; /* Force opacity */
}

#observation .placeholder-text.blue,
#teaching .placeholder-text.blue,
#daily .placeholder-text.blue,
#story .placeholder-text.blue {
    background-color: #a0b4c8; /* Gray-blue color for placeholder bars */
    width: 90%; /* Example width */
    max-width: 400px; /* Ensure it respects the max-width of its parent .placeholder-text */
}

#observation .placeholder-text.gray,
#teaching .placeholder-text.gray,
#daily .placeholder-text.gray,
#story .placeholder-text.gray {
    background-color: #e0e0e0; /* Light gray color for placeholder bars */
    width: 80%; /* Example width */
    max-width: 400px; /* Ensure it respects the max-width of its parent .placeholder-text */
}

/* Daily Report - Activity 2 Placeholder Animation */
#daily-activity-2-placeholder.active {
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.6); /* 更强的高光效果 */
    transform: scale(1.02); /* 微微放大 */
    transition: all 0.3s ease-out; /* 平滑过渡 */
    border-color: #4A90E2; /* 边框颜色变化 */
}

/* Existing styles below */
.placeholder-animation.active .pulse-ring {
    animation: pulse-highlight 1.5s infinite;
}

@keyframes pulse-highlight {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
        border-color: #FF8C42;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
        border-color: #FF8C42;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
        border-color: #FF8C42;
    }
}

/* 一键翻译功能样式 */
.translation-demo {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fbff;
    border-radius: 10px;
    border: 1px solid #e8f4fd;
}

.translation-demo h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.translation-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.language-tag {
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.language-tag.active {
    background: linear-gradient(135deg, #FF8C42, #FFB366);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

/* Writing Coach功能样式 */
.coach-interface {
    margin-top: 2rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e8f4fd;
    overflow: hidden;
}

.coach-header {
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coach-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.coach-conversation {
    padding: 1.5rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

/* Define message animation states to prevent FOUC */
#coach .coach-conversation .message {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#coach .coach-conversation .message.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.message:last-child {
    margin-bottom: 0;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8f4fd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar i {
    color: #4A90E2;
    font-size: 1.2rem;
}

.message-content {
    background: #f8fbff;
    padding: 1rem;
    border-radius: 10px;
    color: #666;
    line-height: 1.5;
    position: relative;
}

.message-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #f8fbff;
}

.message.user .message-avatar {
    background: #FF8C42;
}

.message.user .message-avatar i {
    color: white;
}

.message.user .message-content {
    background: #fff5eb;
}

.message.user {
    flex-direction: row-reverse;
}

.message.user .message-content::before {
    left: auto;
    right: -8px;
    border-right: none;
    border-left: 8px solid #fff5eb;
}

.coach-input {
    padding: 1rem;
    border-top: 1px solid #e8f4fd;
    display: flex;
    gap: 1rem;
}

.coach-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e8f4fd;
    border-radius: 20px;
    font-size: 0.9rem;
}

.coach-input button {
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.coach-input button:hover {
    background: #3a7bc8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .translation-languages {
        justify-content: center;
    }
    
    .message {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .message-content::before {
        display: none;
    }
    
    .coach-input {
        flex-direction: column;
    }
    
    .coach-input button {
        width: 100%;
    }
}

/* 导航项目样式调整 */
.nav-item[data-feature="management"] span {
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Daily Report样式 */
.report-example {
    margin-top: 2rem;
    border: 1px solid #e8f4fd;
    border-radius: 10px;
    overflow: hidden;
}

.report-example h4 {
    background: linear-gradient(135deg, #4A90E2, #7BB3F0);
    color: white;
    margin: 0;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.report-preview {
    background: white;
    padding: 0;
}

.report-section {
    padding: 1.5rem;
    border-bottom: 1px solid #e8f4fd;
}

.report-section:last-child {
    border-bottom: none;
}

.report-section h5 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.report-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #666;
}

.report-section ul li {
    margin-bottom: 0.5rem;
}

.learning-outcome {
    background: #f8fbff;
    padding: 0.75rem;
    border-left: 3px solid #4A90E2;
    margin-top: 1rem;
    font-style: italic;
    color: #4A90E2;
    font-size: 0.9rem;
}

.learning-outcome i {
    margin-right: 0.5rem;
}

.view-more-btn {
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.view-more-btn:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    text-align: center;
    margin: 1.5rem 0; /* Space between sections */
}

.scroll-down-arrow .fa-chevron-down {
    font-size: 2rem;
    color: #4A90E2; /* A theme color */
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.8;
    }
}

