.m-podbor-wrapper {
    margin: 30px 0;
    width: 100%;
}

.m-podbor-section {
    width: 100%;
}

.m-podbor-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.m-podbor-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.m-podbor-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.m-podbor-logo {
    border-radius: 8px;
}

.m-podbor-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #111827;
    letter-spacing: 1px;
}

.m-podbor-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.m-podbor-type {
    display: flex;
    margin-bottom: 20px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 4px;
}

.type-option {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    font-weight: 600;
    color: #6b7280;
    user-select: none;
}

.type-option.active {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #111827;
}

.m-podbor-form {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111827;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
    color: #111827;
}

.form-group input:focus {
    outline: none;
    border-color: #ffed4e;
    box-shadow: 0 0 0 3px rgba(255, 237, 78, 0.25);
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.3;
}

.m-podbor-button {
    width: 100%;
    background: #ffed4e;
    color: #111827;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.m-podbor-button:hover {
    background: #e6d400;
}

.m-podbor-button:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.m-podbor-result {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

.result-title {
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: #111827;
}

.recommendation-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #ffed4e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.recommendation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.recommendation-priority {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.recommendation-priority.ideal {
    background: #10b981;
}

.recommendation-priority.good {
    background: #3b82f6;
}

.recommendation-priority.growth {
    background: #f59e0b;
}

.recommendation-priority.warning {
    background: #ef4444;
}

.recommendation-priority.compact {
    background: #3b82f6;
}

.recommendation-priority.universal {
    background: #10b981;
}

.recommendation-priority.stable {
    background: #6366f1;
}

.recommendation-size {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 8px 0;
    color: #111827;
}

.recommendation-range {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.recommendation-note {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 8px 0;
}

.result-link {
    display: inline-block;
    background: #ffed4e;
    color: #111827;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: background-color 0.15s ease;
}

.result-link:hover {
    background: #e6d400;
}

@media (max-width: 768px) {
    .m-podbor-card {
        padding: 20px;
        margin: 0 10px;
    }

    .m-podbor-type {
        flex-direction: column;
        gap: 4px;
    }

    .type-option {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .m-podbor-title {
        font-size: 1.5rem;
    }

    .m-podbor-subtitle {
        font-size: 0.8rem;
    }

    .m-podbor-card {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .type-option,
    .m-podbor-button,
    .result-link,
    .form-group input {
        transition: none;
    }
}