* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.phys-calc-agents-main,
.corp-calc-agents-main {
    padding: 40px 0;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.phys-calc-agents-title,
.corp-calc-agents-title {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #222222;
    margin-bottom: 30px;
    text-align: left;
}

.calculator-container {
    width: 100%;
    max-width: 1128px;
    margin: 0 auto;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header {
    background: #008692;
    padding: 45px;
    border-radius: 25px 25px 0 0;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin: 0;
}

.header-counter {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff;
}

.content {
    background: #06727C;
    border-radius: 0 0 25px 25px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 45px;
}

.content-header-left {
    display: flex;
    align-items: center;
    gap: 56px;
    cursor: pointer;
}

.content-header-chevron {
    display: flex;
    align-items: center;
}

.content-header-chevron svg {
    display: block;
    transition: transform 0.3s ease;
}

.content-body {
    background: #ffffff;
    padding: 50px 45px;
    margin: 0 5px 5px 5px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    padding: 0 45px;
    margin: 0 5px 0 5px;
}

.content-step.expanded .content-body {
    max-height: 5000px;
    opacity: 1;
    padding: 50px 45px;
    margin: 0 5px 5px 5px;
}

.content-step.expanded .content-header-chevron svg {
    transform: rotate(180deg);
}

.next-button-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    padding: 0 45px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: flex-end;
}

.content-step.expanded .next-button-container {
    max-height: 200px;
    opacity: 1;
    padding: 35px 45px;
    margin: 0;
}

.result-container {
    display: none;
    background: #06727C;
    border-radius: 0 0 25px 25px;
    padding: 50px 45px;
}

.result-container.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.result-total-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-total {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    margin: 0;
}

.result-commission {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    opacity: 0.9;
}

.buy-button-container {
    display: flex;
    justify-content: flex-end;
}

.content-header-title {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
}

.content-header-counter {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-label {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #008692;
    margin-bottom: -8px;
    position: relative;
    z-index: 1;
    padding-left: 2px;
    background: #ffffff;
    padding-right: 5px;
    margin-left: 3px;
    width: auto;
    display: inline-block;
}

.input-wrapper {
    position: relative;
    display: inline-block;
}

.form-input {
    width: 100%;
    height: 45px;
    border: 1px solid #797979;
    border-radius: 8px;
    padding: 0 50px 0 15px;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #282828;
    background: #ffffff;
    outline: none;
}

.form-input::placeholder {
    color: #2828289E;
}

.date-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: #83749F;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.date-icon.rotated {
    transform: translateY(-50%) rotate(180deg);
}

.date-icon svg {
    width: 9px;
    height: 10px;
}

.hidden-date-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.form-input-birthdate {
    width: 200px;
}

.form-input-tripdate {
    width: 315px;
}

.form-input-country,
.form-input-activity {
}

.form-input-insurance {
    width: 450px;
}

.hints-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.hint-button {
    display: flex;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    background: #83749F;
    padding: 6px 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hint-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.svgbobi {
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.hint-button-more svg {
    width: 8px;
    height: 9px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.hint-button-more.expanded svg {
    transform: rotate(180deg);
}

.more-countries-list {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.more-countries-list.show {
    display: flex;
    max-width: 450px;
    flex-wrap: wrap;
}

.more-activities-list,
.more-sports-list {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.more-activities-list.show,
.more-sports-list.show {
    display: flex;
    max-width: 450px;
    flex-wrap: wrap;
}

.next-button {
    background: #83749F;
    padding: 5px 12px;
    border-radius: 9px;
    border: none;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
    min-height: 30px;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.next-arrow {
    width: 29px;
    height: 20px;
    border-radius: 8px 4px 4px 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.next-arrow svg {
    width: 20px;
    height: 12px;
}

.next-button:hover {
    background: #726290;
    transform: translateY(-1px);
}

.next-button:hover .next-arrow {
    transform: translateX(2px);
}

.next-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 4px rgba(131, 116, 159, 0.45);
}

.next-button:active {
    transform: translateY(0);
}

.next-button:disabled,
.next-button[disabled],
.next-button.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.employee-fields-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .employee-fields-wrapper {
        grid-template-columns: 1fr;
    }
}

.add-employee-button-container {
    width: 100%;
}

.add-employee-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.add-employee-icon svg {
    width: 8px;
    height: 8px;
}

.employees-list-wrapper {
    width: 100%;
}

.employees-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.employees-list-title {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #008692;
    margin: 0;
}

.show-all-employees-button {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #008692;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.show-all-employees-button svg {
    width: 8px;
    height: 9px;
}

.employees-list-container {
    width: 100%;
}

.employee-item-wrapper {
    margin-bottom: 10px;
}

.employee-item {
    padding: 12px;
    border: 1px solid #797979;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #787878;
}

.employee-item-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

/* ========== Экран выбора тарифа (до калькулятора) ========== */

.calc-tariff-screen {
    width: 100%;
    max-width: 1128px;
    margin: 0 auto 40px;
}

.calc-tariff-screen-title {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(30px, 4.5vw, 40px);
    line-height: 100%;
    letter-spacing: 0;
    color: #222222;
    margin: 0 0 32px;
    text-align: left;
}

.calc-tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.calc-tariff-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 25px;
    background: #008692;
    color: #ffffff;
    text-align: left;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-tariff-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.calc-tariff-card:focus-within {
    outline: none;
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.calc-tariff-card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    padding: 25px;
    min-height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.calc-tariff-card-img {
    display: block;
    height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 55px;
}

.calc-tariff-card-name {
    font-family: 'Days One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
    width: 100%;
    text-align: left;
}

.calc-tariff-card-addon {
    display: block;
    margin-top: 4px;
    margin-bottom: 30px;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
    width: 100%;
    text-align: left;
}

.calc-tariff-card-addon--empty {
    margin-top: 4px;
    margin-bottom: 30px;
    min-height: 20px;
}

.calc-tariff-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    flex: 1 1 auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.calc-tariff-card-actions {
    margin-top: auto;
    margin-left: auto;
    padding-top: 24px;
}

.calc-tariff-card-actions .next-button {
    justify-content: space-between;
}

.calc-tariff-feature {
    display: block;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
    text-align: left;
}

@media (max-width: 960px) {
    .calc-tariff-grid {
        grid-template-columns: 1fr;
    }
}
