/* 플랜관리 모달창 관련 CSS */
.modal-btn-box{
    display: flex;
    align-items: center;
}
.modal-btn-box .modal-btn{
    display: flex !important;
    align-items: center !important;
    background: #4e73df;
    height: 40px;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 3px 7px 3px 7px;
    text-decoration: none;
}
.modal-btn-box .modal-btn i{
    padding: 4px 0px 0px 0px;
    margin-right: 2px;
}
.modal-dialog .custom-modal-form{
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.modal-dialog .custom-modal-form .modal-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-card-box{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.payment-card {
    width: 250px;
    border: 1px solid #dee2e6;
    border-radius: .75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.payment-card:hover {
    transform: translateY(-5px);
}
.payment-card.selected {
    border-color: #0d6efd;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
}
.price {
    font-size: 2rem;
    font-weight: 700;
}
.price small {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}
.features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    color: #6c757d;
    min-height: 80px;
    flex-grow: 1;
}

/* 이용약관, 개인정보처리방침, 회원가입/요금안내 관련 모달창 CSS */
.modal-dialog.custom-width {
        max-width: 80%; /* 원하는 비율 */
    }

    .nav-style-box{
        width: 280px;
        flex-shrink:0;
        font-size: small;
        overflow-y:auto;
    }

    .text-style-box{
        overflow-y:auto;
    }
    .text-style-box p{
        font-size: 14px;
    }

    .price-table {
        width: 100%;
        border-collapse: collapse; /* 테두리 겹침 방지 */
        text-align: center;
        margin-bottom: 16px;
    }

	.table-text-start{
		text-align: start;
	}

    .price-table p{
        margin: 0px;
	}

	.price-table th,
	.price-table td {
        border: 1px solid #ccc; /* 모든 테두리에 선 적용 */
        padding: 12px;
	}

	.price-table th {
        background-color: #f4f4f6; /* 헤더 배경색 */
        font-weight: bold;
	}

    .circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #ccc; /* 기본 색상 */
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-bottom: 0.5rem;
    }

    .circle.step-done {
        background: #4CAF50; /* 완료 단계 색상 */
    }

    .circle.step-current {
        background: #2196F3; /* 현재 단계 색상 */
    }

    .stepper-flex {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .stepper {
        display: flex;
        justify-content: space-between; /* 단계 사이 간격 */
        align-items: center;           /* 번호+라벨 중앙 정렬 */
        position: relative;
        margin: 2rem 0;
        width:80%;
    }
    .stepper::before {
        content: '';
        position: absolute;
        top: 20px; /* circle 높이의 절반 */
        left: 20px;
        right: 20px;
        height: 2px;
        background: #ccc;
        z-index: 0;
    }

    .step {
        display: flex;
        flex-direction: column; /* 번호 위, 라벨 아래 */
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .guide-box p{
        margin: 2px;
    }

    .plans {
        display: flex;
        gap: 20px;
        justify-content: center;
        margin-top: 2rem;
    }
    .plan {
        flex: 1;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .plan h3 {
        margin-bottom: 10px;
    }
    .price {
        font-size: 1.0rem;
        font-weight: bold;
    }
    .price span {
        font-size: 0.7rem;
        color: #666;
        margin-left: 2px;
    }
    .desc {
        font-size: 0.95rem;
        color: #555;
        margin-top: 10px;
    }
