/* 名师课堂页面样式 */
.course-categories {
    margin-bottom: 30px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-tab.active,
.category-tab:hover {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.course-thumbnail {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.course-thumbnail i {
    font-size: 36px;
}

.course-duration {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.course-info {
    padding: 20px;
}

.course-info h3 {
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 16px;
}

.course-teacher {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 8px;
}

.course-desc {
    color: #95a5a6;
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #7f8c8d;
}

.btn-watch {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-watch:hover {
    background: #e55656;
}

.live-courses {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.live-courses h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.live-course-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    color: #e74c3c;
    font-weight: bold;
    font-size: 14px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.live-info {
    flex: 1;
}

.live-info h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.live-info p {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.viewers {
    font-size: 12px;
    color: #95a5a6;
}

.btn-join-live {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-join-live:hover {
    background: #c0392b;
}

/* 电子图书室样式 */
.library-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 25px 0 0 25px;
    outline: none;
}

.search-box input:focus {
    border-color: #ff6b6b;
}

.search-btn {
    padding: 12px 20px;
    background: #ff6b6b;
    color: white;
    border: 2px solid #ff6b6b;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background: #e55656;
}

.reading-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #6c757d;
}

.stat-item i {
    color: #ff6b6b;
}

.book-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.book-category {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.book-category.active,
.book-category:hover {
    background: #74b9ff;
    color: white;
    border-color: #74b9ff;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.book-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-3px);
}

.book-cover {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover i {
    font-size: 48px;
}

.book-info {
    padding: 20px;
}

.book-info h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.book-author {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.book-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #95a5a6;
}

.book-actions {
    display: flex;
    gap: 10px;
}

.btn-read, .btn-download {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-read {
    background: #74b9ff;
    color: white;
}

.btn-read:hover {
    background: #0984e3;
}

.btn-download {
    background: #00b894;
    color: white;
}

.btn-download:hover {
    background: #00a085;
}

.reading-progress {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.reading-progress h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.progress-books {
    display: grid;
    gap: 15px;
}

.progress-book {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.book-thumbnail {
    width: 50px;
    height: 60px;
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-right: 15px;
}

.progress-info {
    flex: 1;
}

.progress-info h4 {
    margin-bottom: 8px;
    color: #2c3e50;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: #00b894;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #7f8c8d;
}

.btn-continue {
    background: #00b894;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-continue:hover {
    background: #00a085;
}

/* 心理咨询页面样式 */
.counseling-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.counseling-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.counseling-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.card-icon i {
    font-size: 24px;
}

.counseling-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.counseling-card p {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.availability {
    margin-bottom: 20px;
}

.status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.status.online {
    background: #d4edda;
    color: #155724;
}

.status.busy {
    background: #fff3cd;
    color: #856404;
}

.status.scheduled {
    background: #cce5ff;
    color: #004085;
}

.btn-start-chat, .btn-book-call, .btn-join-group {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-start-chat {
    background: #00b894;
    color: white;
}

.btn-start-chat:hover {
    background: #00a085;
}

.btn-book-call {
    background: #fdcb6e;
    color: #2d3436;
}

.btn-book-call:hover {
    background: #e17055;
    color: white;
}

.btn-join-group {
    background: #74b9ff;
    color: white;
}

.btn-join-group:hover {
    background: #0984e3;
}

.self-help-resources {
    margin-bottom: 40px;
}

.self-help-resources h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.resource-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.resource-item:hover {
    background: #e9ecef;
}

.resource-item i {
    font-size: 36px;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.resource-item h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.resource-item p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-view {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-view:hover {
    background: #e55656;
}

.counselor-team h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.counselor-list {
    display: grid;
    gap: 15px;
}

.counselor-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.counselor-avatar {
    margin-right: 20px;
}

.counselor-avatar i {
    font-size: 48px;
    color: #7f8c8d;
}

.counselor-info {
    flex: 1;
}

.counselor-info h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.counselor-title {
    color: #74b9ff;
    font-size: 14px;
    margin-bottom: 5px;
}

.counselor-exp {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 10px;
}

.counselor-specialties {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.specialty {
    background: #e9ecef;
    color: #6c757d;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.counselor-status {
    text-align: right;
}

/* 心情日记页面样式 */
.diary-write {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.diary-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.diary-header {
    margin-bottom: 20px;
}

.diary-title {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    outline: none;
}

.diary-title:focus {
    border-color: #ff6b6b;
}

.diary-mood {
    display: flex;
    align-items: center;
    gap: 15px;
}

.diary-mood label {
    font-weight: bold;
    color: #2c3e50;
}

.mood-options {
    display: flex;
    gap: 10px;
}

.mood-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.mood-btn:hover,
.mood-btn.active {
    border-color: #ff6b6b;
    transform: scale(1.1);
}

.diary-content {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    margin-bottom: 20px;
    outline: none;
    font-family: inherit;
}

.diary-content:focus {
    border-color: #ff6b6b;
}

.diary-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
}

.btn-save-diary {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-save-diary:hover {
    background: #e55656;
}

.diary-calendar {
    margin-bottom: 30px;
}

.diary-calendar h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.calendar-view {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav {
    background: none;
    border: 1px solid #e9ecef;
    color: #6c757d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day.header {
    font-weight: bold;
    color: #6c757d;
    cursor: default;
}

.calendar-day.has-entry {
    background: #fff3cd;
    color: #856404;
    font-weight: bold;
}

.calendar-day.has-entry:hover {
    background: #ffeaa7;
}

.calendar-day.has-entry::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff6b6b;
}

.diary-entries h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.entry-list {
    display: grid;
    gap: 15px;
}

.diary-entry {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.entry-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date {
    font-weight: bold;
    color: #2c3e50;
}

.mood-emoji {
    font-size: 20px;
}

.entry-header h4 {
    color: #2c3e50;
}

.entry-preview {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.entry-actions {
    display: flex;
    gap: 10px;
}

.btn-read-entry, .btn-edit-entry {
    padding: 6px 12px;
    border: 1px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-read-entry:hover {
    background: #74b9ff;
    color: white;
    border-color: #74b9ff;
}

.btn-edit-entry:hover {
    background: #fdcb6e;
    color: white;
    border-color: #fdcb6e;
}

/* 语音留言页面样式 */
.voice-recorder {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.recorder-interface {
    text-align: center;
}

.recording-visual {
    margin-bottom: 30px;
}

.sound-wave {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 3px;
    height: 60px;
}

.wave-bar {
    width: 4px;
    background: #ff6b6b;
    border-radius: 2px;
    animation: wave 1.5s infinite ease-in-out;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { height: 10px; }
    50% { height: 40px; }
}

.recording-controls {
    margin-bottom: 20px;
}

.record-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.record-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.record-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.record-btn span {
    font-size: 10px;
}

.recording-time {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.recording-tips {
    color: #7f8c8d;
    font-size: 14px;
}

.voice-messages h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.message-list {
    display: grid;
    gap: 15px;
}

.voice-message {
    display: flex;
    align-items: center;
    gap: 15px;
}

.voice-message.received {
    justify-content: flex-start;
}

.voice-message.sent {
    justify-content: flex-end;
}

.message-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.message-avatar i {
    font-size: 36px;
    color: #7f8c8d;
}

.sender-name {
    font-size: 12px;
    color: #6c757d;
}

.message-content {
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 300px;
}

.voice-message.sent .message-content {
    background: #ff6b6b;
    color: white;
}

.voice-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.play-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #74b9ff;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-message.sent .play-btn {
    background: rgba(255,255,255,0.3);
}

.voice-duration {
    font-size: 12px;
    font-weight: bold;
}

.voice-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.waveform-bar {
    width: 2px;
    height: 8px;
    background: #bdc3c7;
    border-radius: 1px;
}

.voice-message.sent .waveform-bar {
    background: rgba(255,255,255,0.5);
}

.message-time {
    font-size: 11px;
    color: #95a5a6;
    text-align: right;
}

.voice-message.sent .message-time {
    color: rgba(255,255,255,0.8);
}

/* 亲情相册页面样式 */
.album-upload {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.upload-area {
    background: white;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.upload-area i {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.upload-area h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.upload-area p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

#photoUpload {
    display: none;
}

.btn-upload {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-upload:hover {
    background: #e55656;
}

.album-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.album-category {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.album-category.active,
.album-category:hover {
    background: #fd79a8;
    color: white;
    border-color: #fd79a8;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.photo-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-3px);
}

.photo-placeholder {
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
    color: white;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder i {
    font-size: 48px;
}

.photo-info {
    padding: 15px;
}

.photo-info h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.photo-date {
    color: #7f8c8d;
    font-size: 12px;
}

.photo-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-actions {
    opacity: 1;
}

.btn-view, .btn-share {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-view {
    background: rgba(116, 185, 255, 0.8);
}

.btn-view:hover {
    background: #74b9ff;
}

.btn-share {
    background: rgba(0, 184, 148, 0.8);
}

.btn-share:hover {
    background: #00b894;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .course-grid,
    .book-grid,
    .counseling-options,
    .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .library-search {
        flex-direction: column;
        align-items: stretch;
    }
    
    .reading-stats {
        justify-content: center;
    }
    
    .category-tabs,
    .book-categories,
    .album-categories {
        justify-content: center;
    }
    
    .diary-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .voice-message {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .message-content {
        max-width: 100%;
    }
}