.sentence-builder-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 10px;
}

.builder-dropzone {
    min-height: 80px;
    background: rgba(255,255,255,0.4);
    border: 3px dashed rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
    transition: all 0.3s ease;
}

.builder-dropzone.active {
    border-color: var(--accent-blue);
    background: rgba(255,255,255,0.7);
}

.builder-words {
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.word-pill {
    background: white;
    box-shadow: var(--shadow-light);
    padding: 12px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.word-pill:active {
    transform: scale(0.9);
    box-shadow: var(--shadow-pressed);
}

.word-pill.used {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
}

.builder-dropzone .word-pill {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(77, 150, 255, 0.3);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.action-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    box-shadow: var(--shadow-light);
    color: var(--text-color);
}

.action-btn:active:not(:disabled) {
    transform: scale(0.95);
    box-shadow: var(--shadow-pressed);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e0e0e0;
}

.action-btn.primary {
    background-color: var(--accent-blue);
    color: white;
}

.action-btn.primary:hover:not(:disabled) {
    background-color: #3b82f6;
    transform: translateY(-2px);
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

/* Inherited shake/popIn animations from main style if available, otherwise defined here */
@keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
