.form-container {
    background: white;
    padding: 40px;  /* 모든 방향 패딩 동일하게 설정 */
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 첫 번째 form-group의 상단 마진 제거 */
.form-container .form-group:first-child {
    margin-top: 0;
}

/* 마지막 form-group의 하단 마진 조정 */
.form-container .form-group:last-of-type {
    margin-bottom: 40px;  /* 등록 버튼과의 간격 */
}

.form-group {
    margin-bottom: 20px;  /* 기존 여백 유지 */
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* 버튼 컨테이너 추가 */
.submit-button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;  /* 하단 마진 제거 */
}

.submit-btn {
    background: #0052cc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"], textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.radio-button {
    position: relative;
    display: inline-block;
}

.radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-button label {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 0;
    transition: all 0.3s ease;
}

.radio-button input[type="radio"]:checked + label {
    background: #0052cc;
    color: white;
}

.file-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-top: 8px;
}

.submit-btn {
    background: #0052cc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    float: right;
    cursor: pointer;
}

.input-error {
    border: 1px solid #ff0000 !important;
}
