.main_portfolio {
    padding: 30px;
}

.price_menu {
    display: flex;
    justify-content: center;
    word-break: keep-all;
    gap: 12px;
}

.price_menu a {
    text-decoration: none;
}

.price_menu button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price_menu button:hover,
.price_menu button.active {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.separator_padding {
    padding: 1rem 2rem;
}

 /*차종류별 메뉴 버튼 */
.price_buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 8px;
}
.price_button {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    cursor: pointer;
    color: #666;
    background-color: white;
    border: 2px solid #e0e0e0;
    margin: 0;
    transition: all 0.3s ease;
}
.price_button:hover {
    background-color: #4285f4;
    color: white;
    border-color: #4285f4;
}
.deposit_button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1.5rem;
    line-height: 1.5;
    border-radius: 10px;
    cursor: pointer;
    color: black;
    background-color: #c4beb2;
    border: 2px solid #c4beb2;
    margin: 0.5rem;
}
.deposit_button:hover {
    background: white;
}
.depositColumn {
    display: revert;
}
.depositColumn.displayNone {
    display: none;
}
/* 테이블 행/열 고정 시작 */

.responsive {
    width: 100%;
    height: max-content;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 스크롤바 숨기기 */
.responsive::-webkit-scrollbar {
    display: none;
}

.responsive {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
table {
    margin: 0;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    background: white;
}

table thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #4285f4;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 16px 12px;
    text-align: center;
}

tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

td {
    font-size: 1.5rem;
    word-break: keep-all;
    padding: 14px 12px;
    text-align: center;
    color: #333;
}

td[scope=row], th[scope=row] {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #4285f4;
    color: white;
    font-weight: 600;
}

th[scope=row] {
    z-index: 3;
}

td[scope=row]:nth-child(2), th[scope=row]:nth-child(2) {
    left: 45px;
}


/* 테이블 행/열 고정 끝 */

/* 상담신청 버튼 스타일 */
.btn1.btn1-default {
    transition: all 0.3s ease;
}

.btn1.btn1-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
    background: #357ae8 !important;
}

/* 입력 필드 포커스 효과 */
.form-control:focus {
    border-color: #4285f4 !important;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1) !important;
    outline: none !important;
}

.phone-auth-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.phone-auth-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.phone-auth-row .form-control,
.phone-auth-row input,
.phone-auth-row textarea {
    flex: 1 1 260px;
    min-width: 200px;
    height: 44px;
    line-height: 1.3;
}

.phone-auth-btn {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: normal;
    flex: 0 0 auto;
    margin-left: 10px;
    min-width: 90px;
    line-height: 1.2;
}

.phone-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
}

.phone-auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.phone-auth-status {
    font-size: 13px;
    color: #64748b;
    min-height: 18px;
    display: none;
}

.phone-auth-status.status-success {
    color: #0f9d58;
    display: block;
}

.phone-auth-status.status-error {
    color: #d93025;
    display: block;
}

.phone-auth-status.status-info {
    color: #4285f4;
    display: block;
}

@media screen and (max-width: 768px) {
    .main_portfolio {
        padding: 20px 10px;
    }

    .price_menu {
        flex-direction: column;
        gap: 8px;
    }

    .price_menu button {
        width: 100%;
        padding: 14px 20px;
    }

    .price_buttons {
        gap: 6px;
    }

    .price_button {
        font-size: 13px;
        padding: 8px 16px;
    }

    table thead th {
        font-size: 1.3rem;
        padding: 12px 8px;
    }

    td {
        font-size: 1.3rem;
        padding: 12px 8px;
    }
}

@media only screen and (max-width: 360px) {
    .phone-auth-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .phone-auth-row .form-control,
    .phone-auth-row input,
    .phone-auth-row textarea {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }
    .phone-auth-btn {
        width: 100%;
        min-width: 0;
        margin: 0;
        margin-bottom: 6px;
    }
}