/* 킹스머니 스타일 - 코웨이 렌탈 신청 */

/* 전역 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 킹스머니 컬러 시스템 - 네이비/블루 계열 */
    --primary-color: #1e3a8a;        /* 진한 네이비 블루 */
    --primary-dark: #1e40af;         /* 더 진한 블루 */
    --primary-light: #3b82f6;        /* 밝은 블루 */
    --accent-color: #2563eb;         /* 포인트 블루 */
    
    /* 중립 컬러 */
    --text-primary: #1f2937;         /* 진한 회색 (제목) */
    --text-secondary: #6b7280;       /* 중간 회색 (본문) */
    --text-light: #9ca3af;           /* 연한 회색 (placeholder) */
    
    /* 배경 컬러 */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;             /* 아주 연한 회색 배경 */
    --bg-gray: #f3f4f6;              /* 연한 회색 배경 */
    
    /* 테두리 */
    --border-color: #e5e7eb;         /* 연한 회색 테두리 */
    --border-focus: #3b82f6;         /* 포커스 시 블루 테두리 */
    
    /* 그림자 - 은은하게 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05);
    
    /* 기타 */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --radius: 12px;                  /* 둥근 모서리 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}

/* 헤더 - 신뢰감 있는 네이비 */
.header {
    background: var(--primary-color);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 26px;
}

.header-title {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.header-actions .btn {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    font-size: 14px;
}

.header-actions .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: none;
    box-shadow: none;
}

/* 컨테이너 - 중앙 정렬, 최대 너비 제한 */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-content {
    padding: 40px 0 60px;
}

/* 진행 상태 표시 - 깔끔한 Step UI */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 32px 24px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-step.completed .step-number {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.progress-step.completed .step-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 16px;
    transition: background 0.3s ease;
}

.progress-step.completed + .progress-line {
    background: var(--primary-color);
}

/* 페이지 컨텐츠 */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.page-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.page-description {
    font-size: 15px;
    color: var(--text-secondary);
}

/* 상품 정보 카드 */
.product-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.product-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.product-details h2 {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 6px;
}

.product-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* 카드형 섹션 */
.form-section {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.subsection-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* 조건부 섹션 */
.conditional-section {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.subsection {
    margin-bottom: 20px;
}

.subsection:last-child {
    margin-bottom: 0;
}

/* 라디오 버튼 - 깔끔한 스타일 */
.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    transition: all 0.2s ease;
    font-size: 15px;
}

.radio-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-item input[type="radio"]:checked + .radio-label {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-label {
    font-size: 15px;
    cursor: pointer;
    color: var(--text-primary);
}

/* 체크박스 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    transition: all 0.2s ease;
    font-size: 14px;
}

.checkbox-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-item.agreement {
    border: none;
    padding: 12px 0;
    background: transparent;
}

.checkbox-item.agreement:hover {
    background: transparent;
}

/* 폼 그룹 */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.required {
    color: var(--danger-color);
    margin-left: 2px;
}

/* 입력 필드 - 심플하고 깔끔하게 */
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    transition: all 0.2s ease;
    font-family: inherit;
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control.large {
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 500;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* 입력 필드 with 아이콘 */
.input-with-icon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-with-icon .form-control {
    flex: 1;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-light);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--primary-color);
}

/* 폼 행 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 주소 입력 */
.address-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address-row {
    display: flex;
    gap: 10px;
}

.address-row .form-control {
    flex: 1;
}

/* 첨부파일 - 킹스머니 스타일 (번호 없는 목록) */
.file-upload-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-gray);
}

.file-upload-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.file-upload-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.file-upload-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-white);
}

.file-upload-input:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

input[type="file"] {
    cursor: pointer;
    font-size: 14px;
}

.file-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
}

.file-note i {
    margin-top: 3px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.file-note i.fa-exclamation-triangle {
    color: var(--warning-color);
}

/* 파일 라벨 옆 안내 아이콘 */
.file-info-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    color: var(--primary-color);
    font-size: 14px;
    cursor: help;
    vertical-align: middle;
}

.file-info-icon:hover {
    color: var(--primary-dark);
}

/* 파일 라벨 옆 안내 텍스트 */
.file-info-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
}

.file-info-text i {
    color: var(--primary-color);
    font-size: 13px;
}

/* 파일 라벨 옆 경고 텍스트 (노란색) */
.file-warning-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    color: var(--warning-color);
    font-size: 13px;
    font-weight: 500;
}

.file-warning-text i {
    color: var(--warning-color);
    font-size: 13px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-top: 8px;
}

.download-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* 버튼 - 킹스머니 스타일 */
.btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    letter-spacing: -0.3px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* 폼 액션 */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

/* 결제 방법 선택 그룹 */
.payment-method-group {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 20px;
}

.payment-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 16px;
    min-height: 80px;
}

.payment-btn i {
    font-size: 24px;
}

/* 신용카드 조건부 안내 */
.payment-notice {
    display: none;
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 3px solid var(--text-secondary);
    border-radius: 6px;
    margin-bottom: 24px;
}

.payment-notice p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.payment-notice p + p {
    margin-top: 6px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* 정보 박스 */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
}

.info-box p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
}

/* 완료 페이지 */
#completePage {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.complete-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.complete-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.complete-icon i {
    font-size: 40px;
    color: white;
}

.complete-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.complete-container > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.summary-box {
    max-width: 100%;
    margin: 0 auto 40px;
    text-align: left;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.summary-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.complete-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.complete-actions .btn {
    min-width: 140px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .complete-container {
        padding: 40px 24px;
    }
    
    .complete-container h2 {
        font-size: 24px;
    }
    
    .complete-container > p {
        font-size: 15px;
    }
    
    .complete-icon {
        width: 70px;
        height: 70px;
    }
    
    .complete-icon i {
        font-size: 36px;
    }
    
    .summary-box {
        padding: 20px;
    }
    
    .complete-actions {
        flex-direction: column;
    }
    
    .complete-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    border-radius: var(--radius);
    max-width: 600px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
}

.modal-sm {
    max-width: 400px;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.modal-body {
    padding: 28px;
}

.example-image {
    text-align: center;
    padding: 20px;
}

.warning-content {
    text-align: center;
    padding: 20px;
}

/* 제품 필드 */
.product-fields {
    margin-top: 20px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* 제품 소제목 - 킹스머니 스타일 */
.product-subsection-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

/* 라벨 서브텍스트 */
.label-sub {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

/* 카드형 선택 버튼 그룹 - 킹스머니 스타일 */
.card-select-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.card-select-group.multi-select {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

/* 카드형 선택 버튼 */
.card-select-btn {
    padding: 14px 20px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: inherit;
}

.card-select-btn:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.card-select-btn.selected,
.card-select-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* 아이콘이 있는 카드 버튼 */
.card-select-btn i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.card-select-btn span {
    display: block;
}

/* 구매자 유형 그룹 */
.customer-type-group {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* 입력 필드 with 정보 링크 */
.input-with-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.info-link-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.info-link-btn i {
    font-size: 14px;
}

/* 라벨 옆 인라인 정보 버튼 */
.info-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 4px 10px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.info-link-inline:hover {
    background: var(--bg-gray);
    color: var(--primary-dark);
}

.info-link-inline i {
    font-size: 13px;
}

/* 동의 섹션 - 킹스머니 스타일 (간소화) */
.agreement-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.agreement-text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-left: 16px;
}

.agreement-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
}

/* 고객 폼 */
.customer-form {
    display: none;
}

.customer-form.active {
    display: block;
}

/* 알림 */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.fade-out {
    animation: slideOutRight 0.3s ease;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification-success {
    background: var(--success-color);
    color: white;
}

.notification-error {
    background: var(--danger-color);
    color: white;
}

.notification-info {
    background: var(--primary-color);
    color: white;
}

.notification-warning {
    background: var(--warning-color);
    color: white;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .main-content {
        padding: 24px 0 40px;
    }

    .progress-bar {
        padding: 24px 16px;
    }

    .progress-line {
        width: 30px;
        margin: 0 8px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-label {
        font-size: 12px;
    }

    .product-info {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .form-section {
        padding: 24px;
    }

    .section-title {
        font-size: 16px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-tabs {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab-btn.active {
        border-left-color: var(--primary-color);
        border-bottom-color: transparent;
    }

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

    .btn-large {
        width: 100%;
    }

    .modal-content {
        margin: 10% 16px;
        max-width: none;
    }

    .completion-title {
        font-size: 24px;
    }

    .completion-message {
        font-size: 15px;
    }

    .notification {
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .header .logo {
        font-size: 18px;
    }

    .header-title {
        font-size: 14px;
    }

    .product-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .product-name {
        font-size: 20px;
    }

    .checkbox-group {
        flex-direction: column;
    }

    .address-row {
        flex-direction: column;
    }
    
    .card-select-group {
        grid-template-columns: 1fr;
    }
    
    .card-select-group.multi-select {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agreement-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .agreement-checkbox {
        margin-left: 0;
    }
}