/* ===== Join: Scope & Theme ===== */
:root {
    --join-primary: #1D1D1D;
    --join-muted: #6b7280;
    --join-border: #CECECF;
    --join-bg: #ffffff;
    --join-danger: #6ABBE7;
    --join-success: #1D1D1D;
    --join-radius: 12px;
}

.form input, .form select {
    border: 1px solid #DDDDDD !important;
    border-radius: 100px !important;
    height: 6vh !important;
}

.form label {
    font-weight: 600 !important;
}

.form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 36px; /* 화살표 아이콘 공간 확보 */
}

.join-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
    background: var(--join-bg);
}

.join-title {
    font-size: 28px;
    font-weight: 700;
    margin: 8px 0 24px;
}

/* Steps */
.join-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    position: relative;
}

.join-steps::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 19px;
    height: 2px;
    background: var(--join-border);
    z-index: 0;
}

.join-step {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    flex-direction: column;
}

.join-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
}

.join-step-label {
    font-size: 14px;
    color: var(--join-muted);
}

.join-step--active .join-step-badge {
    background: var(--join-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.join-step--active .join-step-label {
    color: #111827;
    font-weight: 600;
}

/* Form grid */
.join-row {
    margin-bottom: 25px;
}

.join-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 20px;
    margin-top: 8px;
}

.join-row--full {
    grid-column: 1 / -1;
}

.join-label {
    display: block;
    font-size: 14px;
    color: #111827;
    margin-bottom: 6px;
    font-weight: 600;
}

.join-req {
    color: var(--join-primary);
    margin-left: 4px;
    font-weight: 700;
}

.join-input, .join-select, .join-textarea {
    width: 100%;
    border: 1px solid var(--join-border);
    border-radius: 10px;
    padding: 10px 12px;
    max-width: 700px;
    font-size: 14px;
    line-height: 1.4;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.join-textarea {
    min-height: 110px;
    resize: vertical;
}

.join-input:focus, .join-select:focus, .join-textarea:focus {
    outline: none;
    border-color: var(--join-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.join-help {
    margin-top: 6px;
    font-size: 12px;
    color: var(--join-muted);
}

.join-error {
    margin-top: 6px;
    font-size: 12px;
    color: var(--join-danger);
}

.join-success {
    margin-top: 6px;
    font-size: 12px;
    color: var(--join-success);
}

.join-invalid .join-input, .join-invalid .join-select, .join-invalid .join-textarea {
    border-color: var(--join-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

/* 체크박스 커스텀 스타일 - 체크 상태 시각화 */
.join-checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.join-checkline-all {
    padding: 14px 30px;
    border: 1px solid #1D1D1D;
    border-radius: 26px;
}

.join-checkline label {
    cursor: pointer;
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

.join-agree-content {
    background-color: #fff;
    border-radius: 20px;
    -ms-overflow-style: none;
    padding: 25px;
}

.join-agree-content::-webkit-scrollbar {
    display: none;
}

.join-divider {
    height: 1px;
    background: var(--join-border);
    grid-column: 1 / -1;
    margin: 6px 0 8px;
}

.join-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    grid-column: 1 / -1;
    margin-top: 8px;
}

/* Terms box */
.join-terms-wrap {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.join-terms-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.join-terms {
    border: 1px solid var(--join-border);
    border-radius: var(--join-radius);
    background: #f9fafb;
    padding: 12px;
    height: 160px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 10px;
}

.duplication-id {
    top: 25%;
    right: 3%;
}

.duplication-id:hover {
    color: var(--join-danger);
    text-decoration: underline;
    transition: color 0.3s ease;
    cursor: pointer;
}

.user-info-container {
    padding-top: 100px;
}

.user-info-title {
    font-weight: 900;
}

.find-button-container {
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid #DEDEDE;
}

.find-button-container button:hover {
    background: #303030;
    border-radius: 24px;
    color: #FFFFFF;
    transition: background 0.3s ease;
}

.find-button-container .active {
    background: #303030;
    color: #FFFFFF;
    border-radius: 24px;
}

.find-info-content{
    display: flex;
    justify-content: center;
    align-items: center;
    background:
            radial-gradient(circle at left center, #FFD85F 0%, transparent 100%),
            radial-gradient(circle at right bottom, #6ABBE7 0%, transparent 100%) no-repeat fixed;
    border-radius: 20px;
    height: 69px;
    color: #707070;
    font-size: 14px;
}

.id-icon {
    width: 100px;
    height: 100px;
}

.find-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
}

.find-id-result {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.underline {
    text-decoration: underline;
}

.move-find-pw:hover {
    color: var(--join-danger);
    text-decoration: underline;
    transition: color 0.3s ease;
    cursor: pointer;
}

.btn-min-width {
    min-width: 200px !important;
}

@media (max-width: 1200px) {
    .td-w-50 {
        width: 50% !important;
    }
}

@media (max-width: 992px) {

    .md-w-80 {
        width: 80% !important;
    }

}

@media (max-width: 768px) {
    .join-form {
        grid-template-columns: 1fr;
    }

    .join-steps::before {
        left: 22px;
        right: 22px;
        top: 19px;
    }

    .md-w-100 {
        width: 100% !important;
    }

}

@media (max-width: 480px) {

}