.hoyry-module {
    --hoyry-accent: #1D1D57;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    color: #0f172a;
    line-height: 1.5;
}
.hoyry-module *, .hoyry-module *::before, .hoyry-module *::after {
    box-sizing: border-box;
}
.hoyry-progress {
    height: 6px;
    background: #f1f5f9;
}
.hoyry-progress-bar {
    height: 100%;
    background: var(--hoyry-accent);
    transition: width 0.5s ease;
    border-radius: 0 3px 3px 0;
}
.hoyry-content {
    padding: 32px 40px 40px;
    min-height: 500px;
}
@media (max-width: 600px) {
    .hoyry-content {
        padding: 20px 16px 28px;
        min-height: auto;
    }
}
.hoyry-step {
    display: none;
    animation: hoyryFadeIn 0.3s ease;
}
@keyframes hoyryFadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
.hoyry-step-active {
    display: block;
}

.hoyry-step-header {
    margin-bottom: 24px;
    padding-bottom: 0;
}
.hoyry-title {
    font-size: 26px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
}
@media (max-width: 600px) {
    .hoyry-title {
        font-size: 22px;
    }
}
.hoyry-wave {
    font-size: 30px;
    display: inline-block;
    animation: hoyryWave 1.8s ease-in-out infinite;
    transform-origin: 70% 70%;
}
@keyframes hoyryWave {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(14deg); }
    30% { transform: rotate(-8deg); }
    40% { transform: rotate(14deg); }
    50% { transform: rotate(-4deg); }
    60% { transform: rotate(10deg); }
    70% { transform: rotate(0deg); }
}

.hoyry-back {
    background: none;
    border: none;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    transition: color 0.15s;
}
.hoyry-back:hover {
    color: var(--hoyry-accent);
}

.hoyry-info-box {
    background: rgba(29, 29, 87, 0.04);
    border: 1px solid rgba(29, 29, 87, 0.1);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
}
.hoyry-info-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

/* ===== STEP 1: Category Cards (horizontal with image) ===== */
.hoyry-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}
.hoyry-category-card {
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    height: 110px;
}
@media (min-width: 640px) {
    .hoyry-category-card {
        height: 130px;
    }
}
.hoyry-category-card:hover {
    border-color: rgba(29,29,87,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.hoyry-category-selected {
    border-color: var(--hoyry-accent) !important;
    background: rgba(29,29,87,0.03) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.hoyry-category-image {
    width: 110px;
    height: 100%;
    flex-shrink: 0;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}
@media (min-width: 640px) {
    .hoyry-category-image {
        width: 140px;
    }
}
.hoyry-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.hoyry-category-card:hover .hoyry-category-image img {
    transform: scale(1.08);
}
.hoyry-category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hoyry-accent);
    opacity: 0.5;
}
.hoyry-category-content {
    padding: 16px 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.hoyry-category-content h3 {
    font-size: 17px;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s;
}
@media (min-width: 640px) {
    .hoyry-category-content h3 {
        font-size: 19px;
    }
}
.hoyry-category-selected .hoyry-category-content h3 {
    color: var(--hoyry-accent);
    font-weight: 600;
}
.hoyry-category-check {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
    background: #f1f5f9;
    color: #94a3b8;
    transition: all 0.25s ease;
    opacity: 0;
}
.hoyry-category-card:hover .hoyry-category-check {
    opacity: 1;
}
.hoyry-category-selected .hoyry-category-check {
    background: var(--hoyry-accent) !important;
    color: #fff !important;
    opacity: 1 !important;
}

/* ===== STEP 2: Sub-service Checkbox Cards ===== */
.hoyry-sub-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hoyry-checkbox-card {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    gap: 14px;
}
.hoyry-checkbox-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hoyry-checkbox-checked {
    border-color: var(--hoyry-accent) !important;
    background: rgba(29,29,87,0.03) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hoyry-checkbox-input {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.hoyry-checkbox-input input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
}
.hoyry-checkmark {
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}
.hoyry-checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.hoyry-checkbox-checked .hoyry-checkmark {
    background: var(--hoyry-accent);
    border-color: var(--hoyry-accent);
}
.hoyry-checkbox-checked .hoyry-checkmark::after {
    display: block;
}
.hoyry-checkbox-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.4;
}

/* ===== Buttons ===== */
.hoyry-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 32px;
}
.hoyry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 36px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
}
.hoyry-btn-next {
    background: var(--hoyry-accent);
    color: #fff;
}
.hoyry-btn-next:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29,29,87,0.25);
}
.hoyry-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
.hoyry-btn-outline {
    background: #fff;
    color: var(--hoyry-accent);
    border: 2px solid #e2e8f0;
    font-size: 16px;
}
.hoyry-btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* ===== STEP 3: Form ===== */
.hoyry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 500px) {
    .hoyry-form {
        grid-template-columns: 1fr;
    }
}
.hoyry-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hoyry-field-full {
    grid-column: 1 / -1;
}
.hoyry-field label {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
}
.hoyry-required {
    color: var(--hoyry-accent);
    font-weight: 600;
}
.hoyry-field input,
.hoyry-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
    color: #0f172a;
}
.hoyry-field input:focus,
.hoyry-field textarea:focus {
    outline: none;
    border-color: var(--hoyry-accent);
    box-shadow: 0 0 0 3px rgba(29, 29, 87, 0.08);
}
.hoyry-field input {
    height: 48px;
}
.hoyry-field textarea {
    resize: vertical;
    min-height: 140px;
}

.hoyry-btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    background: var(--hoyry-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(29,29,87,0.2);
    height: 56px;
}
.hoyry-btn-submit:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29,29,87,0.3);
}
.hoyry-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.hoyry-privacy {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

/* ===== Success ===== */
.hoyry-success {
    text-align: center;
    padding: 48px 0;
}
.hoyry-success-icon {
    margin-bottom: 24px;
}
.hoyry-success h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px;
}
.hoyry-success p {
    color: #64748b;
    font-size: 17px;
    max-width: 420px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.hoyry-powered-by {
    padding: 0 0 24px;
    display: flex;
    justify-content: center;
}
.hoyry-powered-by img {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.8;
    display: block;
}
