/* Enterprise modals — main home + service (Velocity theme tokens) */
button.plan-cta.outline#btn-enterprise-detail {
  display: block;
  width: 100%;
  background: transparent;
  font-family: inherit;
  box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#service_3 .plan .btn-enterprise-detail {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
}

.enterprise-choice-dim {
    position: fixed;
    inset: 0;
    background: rgba(80, 80, 80, 0.55);
    z-index: 1100;
}

.enterprise-choice-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1101;
    width: min(920px, calc(100% - 48px));
    max-height: calc(100vh - 48px);
    overflow: visible;
    padding: 0;
    background: transparent;
}

.enterprise-choice-modal[hidden],
.enterprise-choice-dim[hidden] {
    display: none !important;
}

.enterprise-choice-modal__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.enterprise-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 360px;
    padding: 48px 36px 40px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.enterprise-choice-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: #222;
}

.enterprise-choice-card__icon svg {
    width: 48px;
    height: 48px;
    display: block;
    shape-rendering: geometricPrecision;
}

.enterprise-choice-card__title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #121212;
}

.enterprise-choice-card__desc {
    flex: 1;
    margin: 0 0 28px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #555;
}

.enterprise-choice-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--radius-sm);
    background: #4a4a4a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.enterprise-choice-card__btn:hover {
    background: #333;
}

.enterprise-choice-card--start .enterprise-choice-card__icon {
    color: var(--mint);
}

.enterprise-choice-card--start .enterprise-choice-card__title {
    color: var(--mint);
}

.enterprise-choice-card--start .enterprise-choice-card__desc {
    color: var(--mint);
}

.enterprise-choice-card--start .enterprise-choice-card__btn {
    background: var(--mint);
}

.enterprise-choice-card--start .enterprise-choice-card__btn:hover {
    background: var(--mint-2);
}

@media screen and (max-width: 768px) {
    .enterprise-choice-modal {
        width: calc(100% - 32px);
    }

    .enterprise-choice-modal__cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .enterprise-choice-card {
        min-height: 0;
        padding: 36px 24px 28px;
    }

    .enterprise-choice-card__title {
        font-size: 18px;
    }

    .enterprise-choice-card__desc br {
        display: none;
    }
}

/* Enterprise apply modal */
.enterprise-apply-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1102;
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 24px);
}

.enterprise-apply-modal[hidden] {
    display: none !important;
}

.enterprise-apply-modal__panel {
    display: flex;
    flex-direction: column;
    min-height: min(900px, calc(100vh - 24px));
    max-height: calc(100vh - 24px);
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.enterprise-apply-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 16px 56px;
    border-bottom: 1px solid #EBEDF1;
}

.enterprise-apply-modal__logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: 28px;
}

.enterprise-apply-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #121212;
}

.enterprise-apply-modal__close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    background: url(../images/icon/icon_close.png) center center no-repeat;
    background-size: 22px 22px;
    cursor: pointer;
}

.enterprise-apply-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 20px 24px 8px;
    list-style: none;
}

.enterprise-apply-steps__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9AA1AC;
    font-size: 13px;
    font-weight: 500;
}

.enterprise-apply-steps__item + .enterprise-apply-steps__item::before {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    margin-right: 8px;
    background: #D5D9E0;
}

.enterprise-apply-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid #C5CAD3;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.enterprise-apply-steps__item.is-active {
    color: var(--mint);
}

.enterprise-apply-steps__item.is-active .enterprise-apply-steps__num {
    border-color: var(--mint);
    background: var(--mint);
    color: #fff;
}

.enterprise-apply-steps__item.is-done {
    color: var(--mint);
}

.enterprise-apply-steps__item.is-done .enterprise-apply-steps__num {
    border-color: var(--mint);
    color: var(--mint);
}

.enterprise-apply-modal__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 12px 28px 8px;
}

.enterprise-apply-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.enterprise-apply-section[data-panel="2"]:not([hidden]) {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.enterprise-apply-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: #FFF1F1;
    color: #D64545;
    font-size: 13px;
    font-weight: 600;
}

.enterprise-apply-error.is-success {
    background: #EAF9F7;
    color: var(--mint-2);
}

.enterprise-apply-flow {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.enterprise-apply-flow[hidden] {
    display: none !important;
}

.enterprise-apply-modal.is-complete {
    width: min(640px, calc(100% - 32px));
}

.enterprise-apply-modal.is-complete .enterprise-apply-modal__panel {
    min-height: 0;
}

.enterprise-apply-complete {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.enterprise-apply-complete[hidden] {
    display: none !important;
}

.enterprise-apply-complete__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 48px 28px 24px;
    text-align: center;
}

.enterprise-apply-complete__icon {
    margin-bottom: 28px;
}

.enterprise-apply-complete__title {
    margin: 0 0 32px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #121212;
}

.enterprise-apply-complete__list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.enterprise-apply-complete__list li {
    position: relative;
    padding: 0 0 22px 28px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
    white-space: nowrap;
}

.enterprise-apply-complete__list li:last-child {
    padding-bottom: 0;
}

.enterprise-apply-complete__list li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E8EEF5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2L6.6 11.2L12.5 4.8' stroke='%238D94A0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center center no-repeat;
    background-size: 12px 12px;
}

.enterprise-apply-complete__footer {
    padding: 16px 28px 24px;
}

.enterprise-apply-btn--block {
    width: 100%;
    min-width: 0;
}

@media screen and (max-width: 768px) {
    .enterprise-apply-complete__body {
        padding: 36px 16px 20px;
    }

    .enterprise-apply-complete__title {
        font-size: 17px;
    }

    .enterprise-apply-complete__list li {
        white-space: normal;
        padding-bottom: 18px;
        font-size: 13px;
    }

    .enterprise-apply-complete__footer {
        padding: 14px 16px 18px;
    }
}

.enterprise-apply-section__title {
    margin: 8px 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #121212;
}

.enterprise-apply-section__title--spaced {
    margin-top: 28px;
}

.enterprise-apply-field {
    margin-bottom: 16px;
}

.enterprise-apply-field label,
.enterprise-apply-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.enterprise-apply-field .req {
    color: #E85D5D;
}

.enterprise-apply-field input[type="text"],
.enterprise-apply-field input[type="email"],
.enterprise-apply-select-wrap select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #D5D9E0;
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: #121212;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

.enterprise-apply-field input::placeholder {
    color: #A0A7B3;
}

.enterprise-apply-field input:focus,
.enterprise-apply-select-wrap select:focus,
.enterprise-apply-phone input:focus {
    border-color: var(--mint);
}

.enterprise-apply-field input.is-invalid,
.enterprise-apply-select-wrap select.is-invalid,
.enterprise-apply-phone input.is-invalid {
    border-color: #E85D5D;
}

.enterprise-apply-select-wrap {
    position: relative;
}

.enterprise-apply-contract-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.enterprise-apply-contract-row .enterprise-apply-select-wrap {
    flex: 0 0 160px;
    width: 160px;
}

.enterprise-apply-contract-row .enterprise-apply-select-wrap select {
    height: 52px;
}

.enterprise-apply-headcount {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 calc(100% - 172px);
    width: calc(100% - 172px);
    max-width: calc(100% - 172px);
    margin-left: auto;
    min-width: 0;
}

.enterprise-apply-headcount[hidden] {
    display: none !important;
}

.enterprise-apply-headcount__label {
    flex-shrink: 0;
    width: 28px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.enterprise-apply-headcount input {
    flex: 1;
    min-width: 0;
    width: 0;
    height: 52px;
    padding: 0 10px;
    border: 1px solid #D5D9E0;
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 13px;
    font-family: inherit;
    color: #121212;
    box-sizing: border-box;
    outline: none;
}

.enterprise-apply-headcount input:focus {
    border-color: var(--mint);
}

.enterprise-apply-headcount input.is-invalid {
    border-color: #E85D5D;
}

.enterprise-apply-headcount input::placeholder {
    color: #A0A7B3;
}

.enterprise-apply-headcount__unit {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.enterprise-apply-fee-row {
    margin-top: 12px;
}

.enterprise-apply-fee-row .enterprise-apply-fee {
    width: 100%;
    flex: none;
}

.enterprise-apply-fee {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 8px;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #EBEDF1;
    border-radius: var(--radius-sm);
    background: #FAFBFC;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    white-space: nowrap;
}

.enterprise-apply-fee[hidden] {
    display: none !important;
}

.enterprise-apply-fee__label {
    color: #555;
    font-weight: 500;
    flex-shrink: 0;
}

.enterprise-apply-fee__amount {
    color: var(--purple);
    font-size: 18px;
    font-weight: 700;
}

.enterprise-apply-fee__unit {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.enterprise-apply-fee--calc {
    width: 100%;
}

.enterprise-apply-fee__amount.is-placeholder {
    color: #A0A7B3;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .enterprise-apply-contract-row {
        flex-direction: column;
        align-items: stretch;
    }

    .enterprise-apply-contract-row .enterprise-apply-select-wrap {
        flex: none;
        width: 100%;
    }

    .enterprise-apply-contract-row .enterprise-apply-select-wrap select {
        height: 48px;
    }

    .enterprise-apply-headcount {
        width: 100%;
        max-width: none;
        flex: none;
        margin-left: 0;
    }

    .enterprise-apply-headcount input {
        height: 48px;
    }

    .enterprise-apply-fee {
        flex-wrap: wrap;
        height: auto;
        min-height: 52px;
        padding: 10px 12px;
        white-space: normal;
    }

    .enterprise-apply-fee__amount {
        font-size: 16px;
    }
}

.enterprise-apply-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.enterprise-apply-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #8D94A0;
    border-bottom: 1.5px solid #8D94A0;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.enterprise-apply-hint {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #8D94A0;
}

.enterprise-apply-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.enterprise-apply-phone input {
    flex: 1;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #D5D9E0;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
}

.enterprise-apply-phone span {
    color: #8D94A0;
}

.enterprise-apply-placeholder {
    margin: 40px 0;
    text-align: center;
    color: #8D94A0;
    font-size: 14px;
}

.enterprise-apply-contract {
    flex: 1;
    min-height: 520px;
    overflow: auto;
    padding: 20px 18px;
    border: 1px solid #D5D9E0;
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    box-sizing: border-box;
}

.enterprise-apply-contract h1,
.enterprise-apply-contract h2,
.enterprise-apply-contract h3,
.enterprise-apply-contract h4 {
    margin: 1.2em 0 0.5em;
    font-weight: 700;
    color: #121212;
}

.enterprise-apply-contract p {
    margin: 0 0 0.8em;
}

.enterprise-apply-contract ul,
.enterprise-apply-contract ol {
    margin: 0 0 0.8em;
    padding-left: 1.4em;
}

.enterprise-apply-contract__empty {
    margin: 48px 0;
    text-align: center;
    color: #8D94A0;
}

.enterprise-apply-agree {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    user-select: none;
}

.enterprise-apply-agree input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--mint);
    cursor: pointer;
}

.enterprise-apply-modal__footer {
    position: relative;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
    height: auto;
    padding: 16px 28px 24px;
    border-top: 1px solid #EBEDF1;
    background: #fff;
}

.enterprise-apply-btn {
    min-width: 96px;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.enterprise-apply-btn[hidden] {
    display: none !important;
}

.enterprise-apply-btn--cancel,
.enterprise-apply-btn--prev {
    border: 1px solid #C5CAD3;
    background: #fff;
    color: #444;
}

.enterprise-apply-btn--next {
    border: 0;
    background: var(--purple);
    color: #fff;
}

.enterprise-apply-btn--next:hover:not(:disabled) {
    background: var(--purple-2);
}

.enterprise-apply-btn--next:disabled {
    background: #C5CAD3;
    color: #fff;
    cursor: not-allowed;
}

.enterprise-apply-btn--wide {
    min-width: 200px;
}

.enterprise-apply-field input[readonly] {
    background: #F5F7FA;
    color: #333;
    cursor: default;
}

.enterprise-apply-field--contract {
    margin-bottom: 12px;
}

.enterprise-apply-contract-date {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.enterprise-apply-plan-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.enterprise-apply-plan-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #D5D9E0;
    border-radius: var(--radius-sm);
    background: #F5F7FA;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #9AA1AC;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

.enterprise-apply-plan-tab[hidden] {
    display: none !important;
}

.enterprise-apply-plan-tab.is-active {
    border-color: var(--mint);
    background: rgba(15, 195, 185, 0.12);
    color: var(--mint-2);
}

.enterprise-apply-section__heading {
    margin: 4px 0 20px;
    font-size: 18px;
    font-weight: 700;
    color: #121212;
}

.enterprise-apply-price {
    margin-bottom: 8px;
}

.enterprise-apply-price__value {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.enterprise-apply-price__value strong {
    font-size: 28px;
    font-weight: 800;
    color: var(--purple);
    letter-spacing: -0.02em;
}

.enterprise-apply-price__value #ea-price-unit {
    margin-left: 2px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.enterprise-apply-price__vat {
    display: inline-flex;
    align-items: center;
    height: 24px;
    margin-left: 8px;
    padding: 0 8px;
    border-radius: 4px;
    background: rgba(114, 57, 214, 0.12);
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .enterprise-apply-plan-tab {
        width: 100%;
        min-width: 0;
    }

    .enterprise-apply-section__heading {
        font-size: 16px;
    }

    .enterprise-apply-price__value strong {
        font-size: 24px;
    }

    .enterprise-apply-btn--wide {
        min-width: 0;
        flex: 1;
    }
}

@media screen and (max-width: 768px) {
    .enterprise-apply-modal__header {
        padding: 14px 48px;
    }

    .enterprise-apply-modal__logo {
        left: 14px;
        height: 24px;
    }

    .enterprise-apply-modal__title {
        font-size: 16px;
    }

    .enterprise-apply-steps {
        flex-wrap: wrap;
        gap: 10px 6px;
        padding: 16px 16px 4px;
    }

    .enterprise-apply-steps__item + .enterprise-apply-steps__item::before {
        width: 16px;
    }

    .enterprise-apply-steps__label {
        font-size: 12px;
    }

    .enterprise-apply-modal__panel {
        min-height: min(820px, calc(100vh - 16px));
    }

    .enterprise-apply-modal__body {
        padding: 8px 16px;
    }

    .enterprise-apply-contract {
        min-height: 360px;
    }

    .enterprise-apply-modal__footer {
        padding: 14px 16px 18px;
    }
}

/* Velocity theme polish (main home) */
.enterprise-choice-dim {
    background: rgba(15, 30, 53, 0.55);
    backdrop-filter: blur(4px);
}

.enterprise-choice-card {
    border: 1px solid var(--border, rgba(15, 30, 53, 0.1));
    border-radius: var(--radius, 16px);
    box-shadow: 0 16px 48px rgba(15, 30, 53, 0.12);
}

.enterprise-choice-card__title {
    font-family: var(--font-display, 'Outfit', sans-serif);
}

.enterprise-choice-card__desc {
    color: var(--slate, #6B7280);
}

.enterprise-choice-card__btn {
    border-radius: 50px;
    background: var(--navy, #0F1E35);
}

.enterprise-choice-card__btn:hover {
    background: #1a3050;
}

.enterprise-choice-card--start .enterprise-choice-card__icon,
.enterprise-choice-card--start .enterprise-choice-card__title {
    color: var(--purple, #7239D6);
}

.enterprise-choice-card--start .enterprise-choice-card__desc {
    color: var(--slate, #6B7280);
}

.enterprise-choice-card--start .enterprise-choice-card__btn {
    background: linear-gradient(135deg, var(--purple, #7239D6), var(--mint, #13D1B8));
}

.enterprise-choice-card--start .enterprise-choice-card__btn:hover {
    opacity: 0.9;
}

.enterprise-apply-modal__panel {
    border-radius: var(--radius, 16px);
    font-family: var(--font-main, 'DM Sans', sans-serif);
}

.enterprise-apply-modal__title {
    font-family: var(--font-display, 'Outfit', sans-serif);
}

.enterprise-apply-btn--next {
    background: var(--purple, #7239D6);
}

.enterprise-apply-btn--next:hover:not(:disabled) {
    background: var(--purple-2, #8953EE);
}