@charset "utf-8";
/* CSS Document */


/* Attachment Section - 去掉灰色背景 */
.attachment-section {
    border-radius: 6px;
    /* 去掉背景色 */
    background-color: transparent;
}

.attachment-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #000;
}

.attachment-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.file-upload-area:hover {
    border-color: #000;
    background-color: rgba(0, 0, 0, 0.02);
}

.upload-icon {
    font-size: 36px;
    margin-bottom: 10px;
    color: #000;
}

.upload-text {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.upload-subtext {
    font-size: 14px;
    color: #777;
}

.file-input {
    display: none;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-counter {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}



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



    .file-upload-area {
        padding: 20px 15px;
    }

    .preview-item {
        width: 80px;
        height: 80px;
    }


}