.ai-beat-search-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
}

.ai-search-box {
    display: flex;
    align-items: flex-end;
    background: #ffffff;
    border: 2px solid #07447b;
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#beat-search-input {
    width: 100%;
    resize: none;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px;
    line-height: 1.5;
    font-family: inherit;
    background: transparent;
}

#beat-search-btn {
    background: #07447b;
    border: none;
    border-radius: 10px;
    margin-left: 10px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#beat-search-btn svg {
    transform: rotate(90deg); /* turns it into an upward arrow */
}

.ai-suggestions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.suggestion {
    background: #257957;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.suggestion:hover {
    background: #07447b;
}

/* Beat display styling remains the same */
.beat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    margin-top: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}
.beat-thumbnail {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-right: 15px;
    border-radius: 10px;
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}
.download-link {
    margin-left: auto;
    padding: 10px;
    background: #de372f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .ai-search-box {
        flex-direction: column;
        align-items: stretch;
    }

    #beat-search-btn {
        width: 100%;
        margin: 10px 0 0 0;
    }
}
    #beat-search-input {
        font-size: 16px;
        padding: 8px 10px;
    }

    .suggestion {
        font-size: 13px;
        padding: 5px 12px;
    }

    .ai-beat-search-wrapper {
        padding: 10px;
    }

@media screen and (max-width: 600px) {
    .beat-item {
        flex-direction: column;
        text-align: center;
    }

    .beat-thumbnail {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .download-link {
        margin: 10px 0 0;
    }
}

.beat-info h4 {
    color: black;
    font-weight: bold;
    margin: 0;
}

.beat-info p {
    color: black;
    margin: 5px 0 0;
}
