/**
 * lawsuit-user-form.css
 * 사용자 신청 폼 페이지 전용 스타일
 *
 * form.jsp 페이지에서만 사용되는 스타일을 정의합니다.
 * - 위임계약 박스
 * - 제출 버튼
 * - 주소 검색 버튼
 * - 경고 박스
 */

/* ========================================
   폼 전용 컨테이너
   ======================================== */
.lawsuit-form-body {
    padding: var(--lawsuit-spacing-xl);
}

/* ========================================
   경고 박스
   ======================================== */
.lawsuit-warning-box {
    background: #fff3cd;
    padding: 15px;
    border-radius: var(--lawsuit-radius-md);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
    color: #856404;
}

/* ========================================
   위임계약 박스
   ======================================== */
.lawsuit-contract-box {
    background: var(--lawsuit-bg-light);
    padding: var(--lawsuit-spacing-md);
    border-radius: var(--lawsuit-radius-md);
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.8;
    border: 2px solid var(--lawsuit-border-light);
    white-space: pre-wrap;
}

.lawsuit-contract-box::-webkit-scrollbar {
    width: 8px;
}

.lawsuit-contract-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.lawsuit-contract-box::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.lawsuit-contract-box::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========================================
   제출 버튼
   ======================================== */
.lawsuit-submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--lawsuit-primary) 0%, var(--lawsuit-secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--lawsuit-radius-md);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lawsuit-submit-button:hover {
    transform: translateY(-2px);
}

.lawsuit-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   주소 검색 버튼
   ======================================== */
.lawsuit-btn-address-search {
    display: inline-block;
    padding: 10px 20px;
    background: var(--lawsuit-primary);
    color: white;
    border: none;
    border-radius: var(--lawsuit-radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: var(--lawsuit-spacing-sm);
    transition: background 0.3s ease;
}

.lawsuit-btn-address-search:hover {
    background: #5568d3;
}

/* ========================================
   설명 텍스트
   ======================================== */
.lawsuit-description {
    font-size: 14px;
    color: var(--lawsuit-text-light);
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ========================================
   체크박스 옵션 (폼 전용)
   ======================================== */
.lawsuit-checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: var(--lawsuit-spacing-sm);
}

.lawsuit-checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.lawsuit-checkbox-option label {
    margin: 0;
    cursor: pointer;
    line-height: 1.5;
}

/* ========================================
   정보/경고 박스 (폼용)
   ======================================== */
.lawsuit-info-box {
    background: #e3f2fd;
    padding: 15px;
    border-radius: var(--lawsuit-radius-md);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
    color: #1976d2;
}

.lawsuit-info-box strong {
    font-weight: 600;
}

/* ========================================
   반응형 디자인
   ======================================== */
@media (max-width: 768px) {
    .lawsuit-form-body {
        padding: var(--lawsuit-spacing-md);
    }

    .lawsuit-submit-button {
        font-size: 16px;
        padding: 14px;
    }

    .lawsuit-contract-box {
        max-height: 300px;
        font-size: 12px;
    }
}
