@charset "utf-8";

/* ── 마이페이지 구조적 마진 및 외형 정의 ── */
/*.mypage-main-row {
    margin-bottom: 8px !important;
}*/

/*.mypage-info-row {
	margin-top:24px;
}*/

/* 주요 정보 강조 프로필 카드 */
.mypage-profile-card {
    padding: var(--box-pd) !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid var(--border-color, var(--black5)) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03) !important;
    background-color: #ffffff !important;
}

.profile-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
	justify-content: space-between;
}


.profile-company-name {
    font:var(--type-semititle-b);
    color: var(--black);
    margin-bottom: 4px;
	display: flex;
    align-items: center;
	gap:var(--gap10);
}



.profile-id-wrapper {
    font:var(--type-body);
    color: var(--text-muted, #64748b);
}

.profile-id-text {
	font:var(--type-body-b);
    color: var(--black);
    margin-left: 4px;
}

/* 추천인 코드 박스 영역 */
.referral-highlight-box {
    background-color: #f8fafc;
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 18px 24px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
	margin-top:20px;
}

.referral-highlight-box + .referral-highlight-box {
	margin-top:8px;
}

.referral-content-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.referral-icon-box {
    background-color: #ecfdf5;
    color: var(--color-1);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: var(--type-bodytitle);
}

.referral-label {
	font:var(--type-body-b);
    color: #475569;
}

.referral-code-text {
    color: var(--color-1);
	font: var(--type-bodytitle-b);
}

.btn-copy-code {
    width: auto !important;
    padding: 0 16px !important;
    height: 38px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* ── 중단 담당자 테이블 전용 스타일 ── */
.info-title-wrap {
    border-bottom: none !important;
    margin-bottom: 16px !important;
    padding: 0 4px !important;
}

.info-title-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
}

.info-table {
    width: 100%;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.info-table-th {
    background-color: #fafbfc;
    width: 25%;
    text-align: left;
    padding: 14px 20px !important;
    font-weight: 700;
    color: #475569;
    font-size: 13px;
}

.info-table-td {
    text-align: left;
    padding: 14px 20px !important;
    color: var(--black);
    font-size: 13px;
}

.info-table-tip {
    color: #94a3b8;
    font-size: 11px;
    margin-left: 10px;
}

.info-file-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    padding: 6px 14px !important;
    height: auto !important;
    width: auto !important;
}

/* ── 하단 컨트롤 스타일 ── */
.mypage-footer-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 4px !important;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 8px !important;
}

.btn-withdraw {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-withdraw:hover {
    color: var(--red-color, #ef4444);
}

.footer-btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-recommend-input {
    width: auto !important;
    padding: 0 24px !important;
    height: 46px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.btn-submit-edit {
    width: auto !important;
    padding: 0 32px !important;
    height: 46px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15) !important;
}


    .mypage-profile-card {
        padding: 20px !important;
    }
    .profile-info-header {
        align-items: flex-start;
        gap: 10px;
    }
    .referral-highlight-box {
        padding: 14px;
        flex-direction: row;
        align-items: stretch;
    }
    .btn-copy-code {
        width: 100% !important;
        justify-content: center;
    }

    .footer-btn-group {
        flex-direction: column;
    }
    .footer-btn-group .btn {
        width: 100% !important;
        justify-content: center;
    }
    .btn-withdraw {
        text-align: center;
    }
