.funsab-container {
    max-width: 700px;
    margin: 0 auto;
    font-family: inherit;
}

.funsab-step {
    display: none;
    animation: funsabFadeIn 0.3s ease;
}

.funsab-step.active {
    display: block;
}

.funsab-title {
    text-align: center;
}

.funsab-cards {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.funsab-card {
    flex: 1;
    min-width: 150px;
    padding: 30px 20px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 700;
    background: #fff;
}

.funsab-card:hover,
.funsab-card:focus {
    border-color: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.1);
    outline: none;
}

.funsab-ingredients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.funsab-input-group {
    display: flex;
    flex-direction: column;
}

.funsab-input-group label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.funsab-input-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.funsab-btn {
    background-color: #25D366;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    margin-top: 25px;
    width: 100%;
    transition: background 0.3s ease;
}

.funsab-btn:hover,
.funsab-btn:focus {
    background-color: #1ebe5d;
    outline: none;
}

.funsab-btn-back {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    margin-bottom: 15px;
    text-decoration: underline;
}

@keyframes funsabFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .funsab-card {
        width: 100%;
    }
}
