/* 익명 신고 게시판 스타일 */

.report-write-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.write-header {
    text-align: center;
    margin-bottom: 40px;
}

.write-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.write-header p {
    color: #666;
    font-size: 1.1rem;
}

.report-form {
    background: white;
    border-radius: 10px;
    padding: 10px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.form-textarea {
    min-height: 250px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-checkbox {
    width: auto;
    margin: 0;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 파일 업로드 스타일 */
.file-upload-wrapper {
    position: relative;
}

.form-file {
    display: none;
}

.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: #007bff;
    background: #e3f2fd;
}

.file-upload-area i {
    color: #007bff;
    margin-bottom: 15px;
}

.file-upload-area p {
    margin: 5px 0;
    color: #333;
    font-size: 14px;
}

.file-upload-info {
    font-size: 12px !important;
    color: #666 !important;
}

.file-preview {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.file-info i {
    font-size: 24px;
    color: #007bff;
}

.file-info span {
    font-size: 14px;
    color: #333;
}

.file-size {
    color: #666 !important;
    margin-left: 10px;
}

.file-remove {
    padding: 8px 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.file-remove:hover {
    background: #c82333;
}

/* 버튼 스타일 */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    min-width: 120px;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f8f9fa;
    color: #333;
}

/* 안내 박스 */
.notice-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.notice-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 10px;
    font-size: 16px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    position: relative;
}

.notice-list li i {
    position: absolute;
    left: 0;
    color: #ffc107;
}

.notice-list li strong {
    color: #dc3545;
}

/* 에러 메시지 */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .report-write-container {
        padding: 15px;
    }

    .write-header h2 {
        font-size: 2rem;
    }

    .report-form {
        padding: 15px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .file-preview {
        flex-direction: column;
        gap: 10px;
    }

    .file-remove {
        width: 100%;
    }
}
