/* ===== Webhosting Interactive Plans ===== */

.wh-plans-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1100px;
    margin: 30px auto 0;
}

/* Plan Card */
.wh-plan {
    background: #fff;
    border: 2px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

.wh-plan:hover {
    border-color: #F26C0B;
    box-shadow: 0 4px 24px rgba(242, 108, 11, 0.08);
}

.wh-plan.active {
    border-color: #F26C0B;
    box-shadow: 0 8px 32px rgba(242, 108, 11, 0.12);
}

/* Popular Badge */
.wh-plan--popular {
    border-color: #F26C0B;
}

.wh-plan-badge {
    position: absolute;
    top: 0;
    right: 28px;
    background: #F26C0B;
    color: #fff;
    padding: 5px 18px;
    border-radius: 0 0 10px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
}

/* Plan Header (clickable row) */
.wh-plan-header {
    display: flex;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    gap: 20px;
    user-select: none;
    transition: background 0.2s;
}

.wh-plan-header:hover {
    background: #FEF6F1;
}

.wh-plan.active .wh-plan-header {
    background: #FEF6F1;
}

/* Plan Info */
.wh-plan-info {
    flex: 0 0 200px;
}

.wh-plan-info h3 {
    font-size: 19px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 3px;
    line-height: 1.2;
}

.wh-plan-info > span {
    font-size: 13px;
    color: #8b95a5;
    line-height: 1.3;
}

/* Specs Pills */
.wh-plan-specs {
    display: flex;
    gap: 12px;
    flex: 1;
}

.wh-spec {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.wh-spec i {
    color: #F26C0B;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

/* Price */
.wh-plan-price {
    text-align: right;
    min-width: 130px;
    padding-right: 8px;
}

.wh-plan-price strong {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    display: block;
    line-height: 1;
}

.wh-plan-price span {
    font-size: 13px;
    color: #8b95a5;
    font-weight: 400;
}

/* Select Button */
.wh-plan-select {
    background: #F26C0B;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.15s, box-shadow 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.wh-plan-select:hover {
    background: #d95d08;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(242, 108, 11, 0.35);
}

.wh-plan-select:active {
    transform: translateY(0);
}

.wh-plan-select i {
    transition: transform 0.3s ease;
    font-size: 11px;
}

.wh-plan.active .wh-plan-select {
    background: #1a1a2e;
}

.wh-plan.active .wh-plan-select .btn-text {
    display: none;
}

.wh-plan.active .wh-plan-select::before {
    content: 'Zavřít';
}

.wh-plan.active .wh-plan-select i {
    transform: rotate(180deg);
}

/* ===== Config Panel (expandable) ===== */

.wh-plan-config {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.wh-plan.active .wh-plan-config {
    max-height: 800px;
}

/* ===== Step Navigation ===== */

.wh-steps-nav {
    display: flex;
    gap: 4px;
    margin: 16px 28px 0;
    border-bottom: 2px solid #e8ecf1;
}

.wh-step-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: #8b95a5;
    cursor: pointer;
    position: relative;
    bottom: -2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.wh-step-tab:hover {
    color: #374151;
}

.wh-step-tab.active {
    color: #F26C0B;
    border-bottom-color: #F26C0B;
}

.wh-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    background: #e8ecf1;
    color: #8b95a5;
    transition: background 0.2s, color 0.2s;
}

.wh-step-tab.active .wh-step-num {
    background: #F26C0B;
    color: #fff;
}

/* ===== Step Panels ===== */

.wh-step-panel {
    display: none;
    padding: 24px 28px 28px;
}

.wh-step-panel.active {
    display: block;
}

/* Step 1 actions */
.wh-step-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.wh-step-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F26C0B;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.15s, box-shadow 0.3s;
}

.wh-step-next:hover {
    background: #d95d08;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(242, 108, 11, 0.35);
}

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

/* Specs Card */
.wh-config-specs {
    background: #f8f9fa;
    padding: 24px 28px;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
}

.wh-config-specs h4 {
    font-size: 13px;
    font-weight: 700;
    color: #8b95a5;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wh-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.wh-specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #e8ecf1;
    font-size: 14px;
}

.wh-specs-list li:nth-last-child(-n+2) {
    border-bottom: none;
}

.wh-specs-list li strong {
    color: #6b7280;
    font-weight: 500;
    font-size: 13px;
}

.wh-specs-list li span {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 15px;
}

.wh-spec-highlight {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(242, 108, 11, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(242, 108, 11, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #1a1a2e;
    font-weight: 500;
}

.wh-spec-highlight i {
    color: #F26C0B;
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== Domain Section (Step 2) ===== */

.wh-config-domain {
    background: #fff;
}

.wh-config-domain-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wh-config-domain-header h4 {
    font-size: 13px;
    font-weight: 700;
    color: #8b95a5;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wh-step-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #e0e4ea;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.wh-step-back:hover {
    color: #1a1a2e;
    border-color: #c0c5ce;
    background: #f8f9fa;
}

.wh-step-back i {
    font-size: 11px;
}

/* Domain Tabs */
.wh-domain-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.wh-domain-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #e8ecf1;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wh-domain-tab:hover {
    border-color: #c0c5ce;
    color: #374151;
}

.wh-domain-tab.active {
    border-color: #F26C0B;
    color: #F26C0B;
    background: #FEF6F1;
}

.wh-domain-tab i {
    font-size: 12px;
}

/* Domain Panels */
.wh-domain-panel {
    display: none;
}

.wh-domain-panel.active {
    display: block;
}

.wh-domain-hint {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* Domain Search Box */
.wh-domain-search-box {
    display: grid;
    grid-template-columns: 1fr 150px;
    background: #F8F9FA;
    border-radius: 100px;
    padding: 5px;
    border: 2px solid #E5E5E5;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.wh-domain-search-box:focus-within {
    border-color: #F26C0B;
    background: #FAFAFA;
}

.wh-domain-input {
    border: none;
    outline: none;
    padding: 14px 20px 14px 24px;
    font-size: 15px;
    font-family: 'Neue Montreal', 'Inter', sans-serif;
    border-radius: 100px;
    width: 100%;
    background: none;
    color: #000000;
}

.wh-domain-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.wh-domain-search-btn {
    border-radius: 100px;
    background: #F26C0B;
    border: none;
    color: #ffffff;
    font-family: 'Neue Montreal', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.wh-domain-search-btn:hover {
    background: #d95e08;
}

.wh-domain-search-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Domain Results */
.wh-domain-results {
    margin-top: 12px;
}

.wh-domain-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: background 0.15s;
}

.wh-domain-result:hover {
    background: #f8f9fa;
}

.wh-domain-result-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.wh-domain-result-icon.available {
    background: #E8F5E9;
    color: #2E7D32;
}

.wh-domain-result-icon.taken {
    background: #FFEBEE;
    color: #C62828;
}

.wh-domain-result-icon.unknown {
    background: #FFF3E0;
    color: #E65100;
}

.wh-domain-result-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
}

.wh-domain-result-status {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 100px;
}

.wh-domain-result-status.available {
    background: #E8F5E9;
    color: #2E7D32;
}

.wh-domain-result-status.taken {
    background: #FFEBEE;
    color: #C62828;
}

.wh-domain-result-status.unknown {
    background: #FFF3E0;
    color: #E65100;
}

.wh-domain-result-price {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    min-width: 60px;
    text-align: right;
}

.wh-domain-result-price span {
    font-weight: 400;
    font-size: 11px;
    color: #8b95a5;
}

/* Skeleton loading */
.wh-domain-skeleton {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.wh-domain-skeleton .skel-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: whShimmer 1.2s ease infinite;
}

.wh-domain-skeleton .skel-bar {
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: whShimmer 1.2s ease infinite;
}

.wh-domain-skeleton .skel-bar.w100 { width: 100px; }
.wh-domain-skeleton .skel-bar.w60 { width: 60px; }
.wh-domain-skeleton .skel-spacer { flex: 1; }

@keyframes whShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Submit Row */
.wh-config-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e8ecf1;
}

.wh-config-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F26C0B;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
}

.wh-config-submit:hover {
    background: #d95d08;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 108, 11, 0.4);
    color: #fff;
}

.wh-config-submit:active {
    transform: translateY(0);
}

.wh-config-price-summary {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.wh-config-price-summary strong {
    color: #1a1a2e;
    font-size: 20px;
    line-height: 1.1;
}

/* ===== Responsive ===== */

@media (max-width: 1100px) {
    .wh-plan-header {
        flex-wrap: wrap;
        gap: 14px;
        padding: 18px 22px;
    }

    .wh-plan-info {
        flex: 0 0 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .wh-plan-specs {
        flex: 1;
    }

    .wh-steps-nav {
        margin: 12px 22px 0;
    }

    .wh-step-panel {
        padding: 20px 22px 22px;
    }

    .wh-domain-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .wh-plans-list {
        gap: 10px;
    }

    .wh-plan-header {
        padding: 16px 18px;
        gap: 12px;
    }

    .wh-plan-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .wh-plan-specs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .wh-spec {
        font-size: 12px;
        padding: 5px 10px;
    }

    .wh-plan-price {
        min-width: auto;
        text-align: left;
    }

    .wh-plan-price strong {
        font-size: 22px;
    }

    .wh-plan-select {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .wh-steps-nav {
        margin: 10px 14px 0;
    }

    .wh-step-tab {
        padding: 8px 14px;
        font-size: 12px;
    }

    .wh-step-panel {
        padding: 18px 14px 14px;
    }

    .wh-specs-list {
        grid-template-columns: 1fr;
    }

    .wh-specs-list li:nth-last-child(-n+2) {
        border-bottom: 1px solid #e8ecf1;
    }

    .wh-specs-list li:last-child {
        border-bottom: none;
    }

    .wh-config-specs {
        padding: 20px 18px;
    }

    .wh-domain-tabs {
        flex-direction: column;
        gap: 6px;
    }

    .wh-domain-tab {
        width: 100%;
        justify-content: center;
    }

    .wh-domain-search-box {
        grid-template-columns: 1fr;
        border-radius: 16px;
        padding: 6px;
    }

    .wh-domain-input {
        padding: 14px 18px;
    }

    .wh-domain-search-btn {
        border-radius: 12px;
        padding: 14px;
        width: 100%;
    }

    .wh-config-submit {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }

    .wh-step-next {
        width: 100%;
        justify-content: center;
    }

    .wh-config-actions {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .wh-plan-badge {
        right: 16px;
        font-size: 10px;
        padding: 4px 12px;
    }

    .wh-config-domain-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
