.comment-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #fff;
    z-index: 9999;
    height: 0;
    opacity: 0;
    transition: all .5s ease-in-out;
}

.comment-container {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.comment-container .title{
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
}

.comment-container .info{
    text-align: center;
    margin-bottom: 2rem;
    color: #757575;
}

.comment-container .form-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.comment-container .form-box .form-item {
    width: 48%;
    height: auto;
}


.comment-container .form-box .form-item.more-line{
    width: 100%;
}

.comment-container .form-box .form-item.submit{
    width: 100%;
    text-align: center;
}

.comment-container .form-box .form-item .label{
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.comment-container .form-box .form-item .label sup{
  color: #F53F3F;
  font-size: .875rem;
  margin-left: 4px;
}


.comment-container .form-box .form-item input{
    width: 100%;
    height: 60px;
    border: 1px solid #bbbbbb;
    padding: 0 1rem;
    box-sizing: border-box;
    outline: none;
    font-size: 1rem;
    border-radius: 5px;
}

.comment-container .form-box .form-item input:hover {
    border-color: #999;
    box-shadow: 0 0 1px #bbbbbb;
}

.comment-container .form-box .form-item .error-message{
    width: 100%;
    height: 16px;
    font-size: 15px;
    color:#F53F3F;
    margin: 4px 0 16px 16px;
    visibility: hidden;
}

.comment-container .more-line textarea{
    width: 100%;
    height: 140px;
    border: 1px solid #bbbbbb;
    padding: .75rem;
    box-sizing: border-box;
    outline: none;
    font-size: 1rem;
    border-radius: 5px;
    resize: none;
}

.comment-container .more-line textarea:hover {
    border-color: #999;
    box-shadow: 0 0 1px #bbbbbb;
}

.comment-container .submit-btn {
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 40%;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 32px;

    height: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg,#ce4348, #e74c3c);
    border: none;
}

.comment-container .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.comment-container .submit-btn:active {
    transform: translateY(-1px);
}

.comment-container .submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.comment-container .submit-btn:hover::after {
    left: 100%;
}

.comment-container .close {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 2rem;
    right: 3rem;
    cursor: pointer;
}

.comment-container .close .ipc{
    width: 32px;
    height: 32px;
    color: #a0a0a0;
    font-size: 1.3rem;
}

.comment-container .close .ipc:hover{
   color: #303030;
}

/* 蒙层样式 */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .loading-container {
            text-align: center;
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            max-width: 90%;
            width: 400px;
        }

        .loader {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 0 auto 25px;
        }

        .envelope {
            position: absolute;
            width: 80px;
            height: 60px;
            background: #d04447;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 8px;
            z-index: 2;
            animation: envelope-pulse 2s infinite;
        }

        .envelope:before {
            content: '';
            position: absolute;
            top: -20px;
            left: 0;
            width: 0;
            height: 0;
            border-left: 40px solid transparent;
            border-right: 40px solid transparent;
            border-bottom: 20px solid #d04447;
        }

        .envelope:after {
            content: '';
            position: absolute;
            width: 60px;
            height: 10px;
            background: rgba(255, 255, 255, 0.5);
            top: 25px;
            left: 10px;
            border-radius: 5px;
        }

        .circular-loader {
            position: absolute;
            width: 120px;
            height: 120px;
            border: 4px solid rgba(192, 0, 0, 0.2);
            border-radius: 50%;
            border-top: 4px solid #d04447;
            animation: spin 1.5s linear infinite;
            transform-origin: center;
            top: 0;
            left: 0;
        }

        .loading-text {
            font-size: 18px;
            color: #333;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .progress-text {
            font-size: 16px;
            color: #d04447;
            font-weight: 600;
        }

        .loading-dots {
            display: inline-block;
            width: 20px;
            text-align: left;
        }

        .hint {
            margin-top: 20px;
            font-size: 14px;
            color: #777;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes envelope-pulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); }
            50% { transform: translate(-50%, -50%) scale(1.05); }
        }

        @keyframes dots {
            0%, 20% { content: '.'; }
            40% { content: '..'; }
            60%, 100% { content: '...'; }
        }

        .loading-dots:after {
            content: '';
            animation: dots 1.5s infinite;
        }