@charset "utf-8";

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* PC端背景设置 */
    background: #b90e18 url("../images/20260122lhmsztc_pcBg01_v1.jpg") center top no-repeat;
    background-size: 1920px auto;
    /* 确保在大屏上背景铺满宽度 */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.domPC {
    display: block;
}

.domMb {
    display: none;
}

/* ==========================================================================
   Banner Container (PC Layout)
   ========================================================================== */
.banner {
    width: 1200px;
    /* 限制主体内容宽度 */
    margin: 0 auto;
    position: relative;
    min-height: 720px;
    /* 根据内容和背景图高度调整 */
    padding-top: 1px;
    /* 防止margin塌陷 */
}

/* ==========================================================================
   PC Elements Positioning & Styling
   ========================================================================== */
/* 中间Logo (新华网/新华社) */
.xhLogo {
    position: absolute;
    top: 410px;
    left: 50%;
    margin-left: -60px;
    z-index: 10;
    opacity: 0;
    -webkit-animation: fadeInDown 1s ease-out 0.2s forwards;
    animation: fadeInDown 1s ease-out 0.2s forwards;
}

/* 右上角Logo (人大/政协) */
.rdzxLogo {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 10;
    opacity: 0;
    -webkit-animation: fadeInDown 1s ease-out 0.4s forwards;
    animation: fadeInDown 1s ease-out 0.4s forwards;
}

/* 中间大标题 */
.bannerImg {
    margin-top: 140px;
    /* 调整垂直位置 */
    text-align: center;
    position: relative;
    z-index: 5;
    opacity: 0;
    -webkit-animation: zoomIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
    animation: zoomIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

/* 标题悬停交互 */
.bannerImg img {
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    cursor: default;
}

.bannerImg:hover img {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

/* 说明文字框 */
.shuoming {
    width: 1200px;
    margin: 70px auto 0;
    background: rgba(165, 4, 15, 0.9);
    /* 半透明深红背景 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px 50px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
    opacity: 0;
    -webkit-animation: slideUp 1s ease-out 0.8s forwards;
    animation: slideUp 1s ease-out 0.8s forwards;
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shuoming:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.shuoming p {
    font-size: 20px;
    line-height: 1.8;
    text-align: justify;
    text-indent: 2em;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    padding: 20px 0;
    background: #a5040f;
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer p {
    line-height: 30px;
    font-size: 16px;
    color: #fff;
    opacity: 0.8;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes zoomIn {
    from {
        opacity: 0;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes slideUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.content {
    width: 100%;
    position: relative;
    z-index: 20;
    padding-bottom: 50px;
}

.main-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.left-column {
    width: 840px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    min-height: 500px;
}

.right-column {
    width: 340px;
}

/* Section Block Common */
.section-block {
    margin-bottom: 20px;
}

.section-title {
    border-left: 6px solid #ff4400;
    padding-left: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    line-height: 1;
}

.section-title h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.more-link {
    font-size: 14px;
    color: #ff4400;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.more-link:hover {
    border-bottom-color: #ff4400;
}

/* 1. Message Theme Block */
.theme-selector {
    position: relative;
    margin-bottom: 20px;
}

.dropdown-trigger {
    background: #ff4400;
    color: #fff;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.dropdown-trigger:hover {
    background: #e03c00;
}

.arrow-icon {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #fff;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    /* Hidden by default */
    padding: 10px 0;
    list-style: none;
}

.dropdown-list li {
    padding: 10px 20px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s;
}

.dropdown-list li:hover,
.dropdown-list li.active {
    background: #fff5f0;
    color: #ff4400;
}

/* Message Tabs */
.message-tabs {
    background: #fff;
}

.tab-header {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab-item {
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    position: relative;
    transition: all 0.3s;
}

.tab-item.active {
    color: #fff;
    background: #ff4400;
    border-radius: 5px 5px 0 0;
}

.input-area {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.input-area textarea {
    width: 100%;
    height: 150px;
    border: none;
    background: transparent;
    resize: none;
    font-size: 16px;
    color: #333;
    outline: none;
    font-family: inherit;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.file-upload label {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #ddd;
    /* Placeholder for icon */
    margin-right: 15px;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
}

.file-upload label i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-style: normal;
}

.file-upload label:hover {
    background: #f9f9f9;
}

.icon-image:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url('../images/20260122lhmsztc_imgIcon01_v1.png') no-repeat center center;
}

.icon-video:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url('../images/20260122lhmsztc_videoIcon01_v1.png') no-repeat center center;
}

.file-upload {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tip {
    font-size: 12px;
    color: #666;
}

.ai-polish {
    display: none;
}

.ai-polish-btn {
    background: #fff5f0 url("../images/20260122lhmsztc_aiIcon01_v1.png") no-repeat 10px center;
    color: #ff4400;
    border: 1px solid #ff4400;
    padding: 5px 10px 5px 30px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
    display: none;
}

.ai-polish-btn:hover {
    background: #ff4400 url("../images/20260122lhmsztc_aiIcon02_v1.png") no-repeat 10px center;
    color: #fff;
}

.submit-area {
    text-align: center;
    padding: 30px 0;
}

.submit-btn {
    background: linear-gradient(to right, #ff8c66, #ff4400);
    color: #fff;
    border: none;
    padding: 12px 80px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 68, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 68, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
}

/* 2. Selected Messages Block */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.message-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: #ffdecb;
}

.user-tag {
    background: #ff4400;
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.message-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
    word-wrap: break-word;
}

/* 3. Response Section */
.response-section {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 0px;
}

.news-list {
    margin-bottom: 20px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    padding-right: 10px;
}

.news-img {
    width: 120px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.response-swiper {
    width: 100%;
    height: auto;
    /* Adjust height */
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
}

.response-swiper .swiper-slide {
    border-radius: 12px;
    border: 1px solid #ffdea9;
    overflow: hidden;
}

.response-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.response-swiper .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23f8400c'%2F%3E%3C%2Fsvg%3E");
}

.response-swiper .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23f8400c'%2F%3E%3C%2Fsvg%3E");
}

/* 4. Jump Section */
.jump-section {
    margin-top: 10px;
    padding: 0;
    background: none;
}

.jump-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.jump-card:hover {
    transform: translateY(-5px);
}

.jump-card img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ffdea9;
}

.jump-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 16px;
}

/* ==========================================================================
   Login Modal & Mask Styles
   ========================================================================== */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-modal {
    background: #fff;
    width: 400px;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.login-modal h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 22px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #ff4400;
}

.code-group {
    display: flex;
    gap: 10px;
}

.code-group input {
    flex: 1;
}

.code-group button {
    width: 120px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.code-group button.active {
    background: #ff4400;
    color: #fff;
    border-color: #ff4400;
}

/* Login Mask */
.login-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    border-radius: 8px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-top:hover {
    background-color: #ff4400;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 68, 0, 0.3);
}

.back-to-top .iconfont {
    font-size: 20px;
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
}

.mask-content {
    text-align: center;
}

.mask-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.login-trigger-btn {
    background: #ff4400;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 68, 0, 0.3);
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* 增加间距，防止按钮重叠 */
    margin-top: 15px;
    padding-top: 5px;
    /* 为顶部浮出的按钮留出空间 */
}

.preview-item {
    width: 70px;
    /* 稍微增大尺寸 */
    height: 70px;
    border-radius: 8px;
    position: relative;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #ffdecb;
}

.preview-item img,
.preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
    /* 保持圆角 */
    display: block;
}

.preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* 弹性动画 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    font-size: 0;
    /* 隐藏文字 X */
    border: 1px solid #eee;
}

/* 使用伪元素绘制精致的 X 图标 */
.preview-remove::before,
.preview-remove::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #666;
    border-radius: 1px;
    transition: background-color 0.2s;
}

.preview-remove::before {
    transform: rotate(45deg);
}

.preview-remove::after {
    transform: rotate(-45deg);
}

/* Hover 状态：变为主题色背景，白色图标 */
.preview-remove:hover {
    background-color: #ff4400;
    border-color: #ff4400;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(255, 68, 0, 0.3);
}

.preview-remove:hover::before,
.preview-remove:hover::after {
    background-color: #fff;
}

/* Active 状态：按压效果 */
.preview-remove:active {
    transform: scale(0.9) rotate(90deg);
    background-color: #d63a00;
    box-shadow: 0 2px 4px rgba(255, 68, 0, 0.2);
}

/* 视频播放按钮图标 */
.preview-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    pointer-events: none;
    /* 确保不阻挡点击 */
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.preview-play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
    /* 视觉居中校正 */
}

#captchaContainer {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.nc-container #nc_1_wrapper {
    width: 100% !important;
}

/* ==========================================================================
   Responsive / Mobile Styles (Max-width: 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {

    /* 切换显示状态 */
    .domPC {
        display: none !important;
    }

    .domMb {
        display: block !important;
    }

    /* 隐藏PC端特定元素 (如果它们没有加domPC类) */
    /* .bannerImg { display: none; } */
    .rdzxLogo {
        display: none;
    }

    body {
        /* 移动端背景设置 */
        background: #b90e18 url("../images/20260122lhmsztc_mobBg01_v1.jpg") center top no-repeat;
        background-size: 100% auto;
    }

    .banner {
        width: 100%;
        min-height: auto;
        padding: 0 15px 40px;
        /* 增加左右内边距 */
        overflow: visible;
    }

    /* 移动端 Logo 适配 */
    .xhLogo {
        display: block;
        width: 25%;
        /* 新华网Logo占比 */
        max-width: 140px;
        top: 270px;
        left: 50%;
        z-index: 10;
        margin-left: -10%;
    }

    .rdzxLogo {
        display: block;
        width: 20%;
        /* 徽章占比 */
        max-width: 100px;
        top: 10px;
        right: 10px;
        z-index: 10;
    }

    .bannerImg {
        padding: 90px 20px 0;
        margin: 0 auto;
    }

    /* 移动端Banner/Logo区域 */
    .rdzxLogoMob {
        margin-top: 100px;
        /* 留出Logo位置 */
        text-align: center;
        opacity: 0;
        -webkit-animation: zoomIn 1s ease-out 0.2s forwards;
        animation: zoomIn 1s ease-out 0.2s forwards;
    }

    .rdzxLogoMob img {
        width: 90%;
        max-width: 600px;
        /* 限制最大宽度 */
    }

    /* 移动端说明框 */
    .shuoming {
        width: 100%;
        margin: 70px auto 0;
        padding: 25px 20px;
        border-radius: 8px;
        -webkit-animation-delay: 0.5s;
        animation-delay: 0.5s;
        /* 移动端动画稍微提前 */
    }

    .shuoming:hover {
        -webkit-transform: none;
        transform: none;
        /* 移动端移除hover位移 */
    }

    .shuoming p {
        font-size: 15px;
        line-height: 1.6;
        text-align: justify;
        text-indent: 2em;
        letter-spacing: 0.5px;
    }

    .footer {
        margin-top: 40px;
    }

    .footer p {
        opacity: 1;
        font-size: 10px;
        line-height: 24px;
    }

    /* Content Area Responsive */
    .content {
        padding: 0 0px;
        /* padding-bottom: 30px; */
    }

    .main-container {
        width: 100%;
        flex-direction: column;
        padding: 0 15px;
    }

    .left-column {
        width: 100%;
        padding: 20px 0 0;
        min-height: auto;
        margin-bottom: 0px;
    }

    .right-column {
        width: 100%;
    }

    .section-title h2 {
        font-size: 24px;
    }

    /* Message Theme Mobile */
    .theme-selector {
        padding: 0px 10px;
    }

    .dropdown-trigger {
        padding: 12px 20px;
        font-size: 16px;
    }

    .message-tabs {
        padding: 0px 10px;
    }

    .tab-header {
        justify-content: space-between;
    }

    .tab-item {
        padding: 10px 0;
        flex: 1;
        text-align: center;
        font-size: 14px;
    }

    .input-area {
        padding: 15px;
    }

    .input-area textarea {
        height: 180px;
    }

    .toolbar {
        align-items: flex-start;
        /* flex-wrap: wrap; */
    }

    .submit-area {
        padding: 10px 0;
    }

    .file-upload {
        /* margin-bottom: 10px; */
        /* width: 100%; */
    }

    .tip {
        margin: 10px 0;
    }

    .ai-polish-btn {
        /* width: 100%; */
        text-align: center;
        /* margin-top: 5px; */
    }

    .submit-btn {
        width: 100%;
        padding: 12px 0;
    }

    /* Response Section Mobile */
    .response-section {
        padding: 20px 10px;
        margin-bottom: 40px;
    }

    .message-card {
        padding: 10px;
        margin: 5px;
    }

    .login-modal {
        width: 90%;
        padding: 20px;
    }
}

/* Custom Alert Modal Styles */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.custom-alert-box {
    background-color: #fff;
    width: 320px;
    max-width: 90%;
    padding: 25px 20px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    transform: scale(0.9);
    animation: scaleUp 0.3s forwards;
}

.custom-alert-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.custom-alert-close:hover {
    color: #333;
}

.custom-alert-content {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 25px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.custom-alert-btn {
    background-color: #ff4400;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    outline: none;
}

.custom-alert-btn:hover {
    background-color: #e63d00;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    to {
        transform: scale(1);
    }
}